1 |
tampakrap 10/03/31 16:40:34 |
2 |
|
3 |
Added: libdbusmenu-0.2.8.ebuild ChangeLog metadata.xml |
4 |
Log: |
5 |
Initial commit, moved from kde overlay, thanks to Dennis Schridde |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-libs/libdbusmenu/libdbusmenu-0.2.8.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.2.8.ebuild?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.2.8.ebuild?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: libdbusmenu-0.2.8.ebuild |
15 |
=================================================================== |
16 |
# Copyright 1999-2010 Gentoo Foundation |
17 |
# Distributed under the terms of the GNU General Public License v2 |
18 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.2.8.ebuild,v 1.1 2010/03/31 16:40:34 tampakrap Exp $ |
19 |
|
20 |
EAPI=2 |
21 |
|
22 |
inherit autotools eutils versionator |
23 |
|
24 |
DESCRIPTION="Library to pass menu structure across DBus" |
25 |
HOMEPAGE="https://launchpad.net/libdbusmenu/" |
26 |
SRC_URI="http://launchpad.net/dbusmenu/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" |
27 |
|
28 |
LICENSE="LGPL-3" |
29 |
SLOT="0" |
30 |
KEYWORDS="~amd64 ~x86" |
31 |
IUSE="gtk test" |
32 |
|
33 |
RESTRICT="test" |
34 |
|
35 |
RDEPEND="dev-libs/glib:2 |
36 |
dev-libs/dbus-glib |
37 |
dev-libs/libxml2:2 |
38 |
gtk? ( x11-libs/gtk+:2 )" |
39 |
DEPEND="${RDEPEND} |
40 |
test? ( dev-libs/json-glib ) |
41 |
dev-util/pkgconfig" |
42 |
|
43 |
src_prepare() { |
44 |
# Make libdbusmenu-gtk library optional, launchpad-bug #552530 |
45 |
epatch "${FILESDIR}/${P}-1-optional-gtk.patch" |
46 |
# Make tests optional, launchpad-bug #552526 |
47 |
epatch "${FILESDIR}/${P}-2-optional-tests.patch" |
48 |
# Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552538 |
49 |
epatch "${FILESDIR}/${P}-no-gobject-introspection.patch" |
50 |
# Drop -Werror in a release |
51 |
sed -e 's:-Werror::g' -i libdbusmenu-glib/Makefile.am libdbusmenu-gtk/Makefile.am || die "sed failed" |
52 |
eautoreconf |
53 |
} |
54 |
|
55 |
src_configure() { |
56 |
econf \ |
57 |
$(use_enable gtk) \ |
58 |
$(use_enable test tests) |
59 |
} |
60 |
|
61 |
src_test() { |
62 |
emake check || die "testsuite failed" |
63 |
} |
64 |
|
65 |
src_install() { |
66 |
emake DESTDIR="${D}" install || die "make install failed" |
67 |
dodoc AUTHORS || die "dodoc failed" |
68 |
} |
69 |
|
70 |
|
71 |
|
72 |
1.1 dev-libs/libdbusmenu/ChangeLog |
73 |
|
74 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdbusmenu/ChangeLog?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdbusmenu/ChangeLog?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: ChangeLog |
78 |
=================================================================== |
79 |
# ChangeLog for dev-libs/libdbusmenu |
80 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/ChangeLog,v 1.1 2010/03/31 16:40:34 tampakrap Exp $ |
82 |
|
83 |
*libdbusmenu-0.2.8 (31 Mar 2010) |
84 |
|
85 |
31 Mar 2010; Theo Chatzimichos <tampakrap@g.o> |
86 |
+libdbusmenu-0.2.8.ebuild, +files/libdbusmenu-0.2.8-1-optional-gtk.patch, |
87 |
+files/libdbusmenu-0.2.8-2-optional-tests.patch, |
88 |
+files/libdbusmenu-0.2.8-no-gobject-introspection.patch, +metadata.xml: |
89 |
Initial commit, moved from kde overlay, thanks to Dennis Schridde |
90 |
|
91 |
|
92 |
|
93 |
|
94 |
1.1 dev-libs/libdbusmenu/metadata.xml |
95 |
|
96 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdbusmenu/metadata.xml?rev=1.1&view=markup |
97 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdbusmenu/metadata.xml?rev=1.1&content-type=text/plain |
98 |
|
99 |
Index: metadata.xml |
100 |
=================================================================== |
101 |
<?xml version="1.0" encoding="UTF-8"?> |
102 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
103 |
<pkgmetadata> |
104 |
<herd>kde</herd> |
105 |
</pkgmetadata> |