From: | "Gilles Dartiguelongue (eva)" <eva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libunique: metadata.xml ChangeLog libunique-1.0.8.ebuild |
Date: | Sat, 02 May 2009 22:29:12 |
Message-Id: | E1M0Nhm-0005md-4Q@stork.gentoo.org |
1 | eva 09/05/02 22:29:10 |
2 | |
3 | Added: metadata.xml ChangeLog libunique-1.0.8.ebuild |
4 | Log: |
5 | Original ebuild is courtesy of Christoph Brill <egore@×××.de>, closes bug #236899. |
6 | (Portage version: 2.2_rc31/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-libs/libunique/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libunique/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libunique/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>gnome</herd> |
20 | <longdescription lang="en"> |
21 | Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. |
22 | </longdescription> |
23 | </pkgmetadata> |
24 | |
25 | |
26 | |
27 | |
28 | 1.1 dev-libs/libunique/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libunique/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libunique/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for dev-libs/libunique |
36 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libunique/ChangeLog,v 1.1 2009/05/02 22:29:10 eva Exp $ |
38 | |
39 | *libunique-1.0.8 (02 May 2009) |
40 | |
41 | 02 May 2009; Gilles Dartiguelongue <eva@g.o> |
42 | +files/libunique-1.0.8-automagic-dbus.patch, +files/run-tests, |
43 | +metadata.xml, +libunique-1.0.8.ebuild: |
44 | Original ebuild is courtesy of Christoph Brill <egore@×××.de>, closes bug |
45 | #236899. |
46 | |
47 | |
48 | |
49 | |
50 | 1.1 dev-libs/libunique/libunique-1.0.8.ebuild |
51 | |
52 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libunique/libunique-1.0.8.ebuild?rev=1.1&view=markup |
53 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libunique/libunique-1.0.8.ebuild?rev=1.1&content-type=text/plain |
54 | |
55 | Index: libunique-1.0.8.ebuild |
56 | =================================================================== |
57 | # Copyright 1999-2009 Gentoo Foundation |
58 | # Distributed under the terms of the GNU General Public License v2 |
59 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libunique/libunique-1.0.8.ebuild,v 1.1 2009/05/02 22:29:10 eva Exp $ |
60 | |
61 | EAPI="2" |
62 | |
63 | inherit autotools eutils gnome2 virtualx |
64 | |
65 | DESCRIPTION="a library for writing single instance application" |
66 | HOMEPAGE="http://live.gnome.org/LibUnique" |
67 | |
68 | LICENSE="LGPL-2.1" |
69 | SLOT="0" |
70 | KEYWORDS="~amd64 ~x86" |
71 | IUSE="dbus debug doc" |
72 | |
73 | RDEPEND=">=dev-libs/glib-2.12.0 |
74 | >=x11-libs/gtk+-2.11.0 |
75 | x11-libs/libX11 |
76 | dbus? ( >=dev-libs/dbus-glib-0.70 )" |
77 | DEPEND="${RDEPEND} |
78 | sys-devel/gettext |
79 | >=dev-util/pkgconfig-0.17 |
80 | doc? ( >=dev-util/gtk-doc-1.6 )" |
81 | |
82 | DOCS="AUTHORS NEWS ChangeLog README TODO" |
83 | |
84 | src_prepare() { |
85 | gnome2_src_prepare |
86 | |
87 | # Make dbus support configurable, bug #265828 |
88 | epatch "${FILESDIR}/${P}-automagic-dbus.patch" |
89 | eautoreconf |
90 | } |
91 | |
92 | src_test() { |
93 | cd "${S}/tests" |
94 | |
95 | cp "${FILESDIR}/run-tests" . |
96 | Xemake -f run-tests || die "Tests failed" |
97 | } |
98 | |
99 | pkg_setup() { |
100 | G2CONF="${G2CONF} |
101 | --disable-static |
102 | $(use_enable dbus) |
103 | $(use_enable debug)" |
104 | } |