1 |
commit: 316950809ad391f35bd9eaf410bb6b66b0ffe7f0 |
2 |
Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de> |
3 |
AuthorDate: Tue Nov 1 21:52:44 2011 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 1 21:53:18 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=31695080 |
7 |
|
8 |
[dev-libs/libdbusmenu] Version bump |
9 |
|
10 |
(Portage version: 2.1.10.32/git/Linux x86_64, signed Manifest commit with key B6C5F7DE) |
11 |
|
12 |
--- |
13 |
dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild | 62 +++++++++++++++++++++++++ |
14 |
1 files changed, 62 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild b/dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..b8366e4 |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild |
21 |
@@ -0,0 +1,62 @@ |
22 |
+# Copyright 1999-2011 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.3.16-r2.ebuild,v 1.1 2011/02/07 09:56:46 tampakrap Exp $ |
25 |
+ |
26 |
+EAPI=3 |
27 |
+ |
28 |
+inherit autotools eutils versionator virtualx |
29 |
+ |
30 |
+MY_MAJOR_VERSION="$(get_version_component_range 1-2)" |
31 |
+if version_is_at_least "${MY_MAJOR_VERSION}.50" ; then |
32 |
+ MY_MAJOR_VERSION="$(get_major_version).$(($(get_version_component_range 2)+1))" |
33 |
+fi |
34 |
+ |
35 |
+DESCRIPTION="Library to pass menu structure across DBus" |
36 |
+HOMEPAGE="https://launchpad.net/dbusmenu" |
37 |
+SRC_URI="http://launchpad.net/dbusmenu/${MY_MAJOR_VERSION}/${PV}/+download/${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="LGPL-3" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+IUSE="gtk +introspection test vala" |
43 |
+ |
44 |
+RDEPEND="dev-libs/glib:2 |
45 |
+ dev-libs/dbus-glib |
46 |
+ dev-libs/libxml2:2 |
47 |
+ gtk? ( x11-libs/gtk+:2 )" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 ) |
50 |
+ test? ( |
51 |
+ dev-libs/json-glib[introspection=] |
52 |
+ dev-util/dbus-test-runner |
53 |
+ ) |
54 |
+ vala? ( dev-lang/vala:0.10 ) |
55 |
+ dev-util/intltool |
56 |
+ dev-util/pkgconfig" |
57 |
+ |
58 |
+pkg_setup() { |
59 |
+ if use vala && use !introspection ; then |
60 |
+ eerror "Vala bindings (USE=vala) require introspection support (USE=introspection)" |
61 |
+ die "Vala bindings (USE=vala) require introspection support (USE=introspection)" |
62 |
+ fi |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ VALA_API_GEN=$(type -p vapigen-0.10) \ |
67 |
+ econf \ |
68 |
+ --with-gtk=2 \ |
69 |
+ $(use_enable gtk) \ |
70 |
+ $(use_enable gtk dumper) \ |
71 |
+ $(use_enable introspection) \ |
72 |
+ $(use_enable test tests) \ |
73 |
+ $(use_enable vala) |
74 |
+} |
75 |
+ |
76 |
+src_test() { |
77 |
+ Xemake check || die "testsuite failed" |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ emake DESTDIR="${ED}" install || die "make install failed" |
82 |
+ dodoc AUTHORS || die "dodoc failed" |
83 |
+} |