diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-11-01 22:21:57 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-11-01 22:21:57 +0000 |
commit | 06227f0b6f2b8b910a6ce2e4db28979fffb61327 (patch) | |
tree | bdaaf87f44247480aab9494c65c6b3b66b67b1f1 /dev-libs/libdbusmenu | |
parent | add a warning if no music is going to be played (bug #388975) (diff) | |
download | gentoo-2-06227f0b6f2b8b910a6ce2e4db28979fffb61327.tar.gz gentoo-2-06227f0b6f2b8b910a6ce2e4db28979fffb61327.tar.bz2 gentoo-2-06227f0b6f2b8b910a6ce2e4db28979fffb61327.zip |
Version bump
(Portage version: 2.1.10.32/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libdbusmenu')
-rw-r--r-- | dev-libs/libdbusmenu/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild | 70 | ||||
-rw-r--r-- | dev-libs/libdbusmenu/metadata.xml | 3 |
3 files changed, 79 insertions, 2 deletions
diff --git a/dev-libs/libdbusmenu/ChangeLog b/dev-libs/libdbusmenu/ChangeLog index e3df590b3496..1ff181154f26 100644 --- a/dev-libs/libdbusmenu/ChangeLog +++ b/dev-libs/libdbusmenu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libdbusmenu # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/ChangeLog,v 1.6 2011/02/07 09:56:46 tampakrap Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/ChangeLog,v 1.7 2011/11/01 22:21:57 dilfridge Exp $ + +*libdbusmenu-0.5.1 (01 Nov 2011) + + 01 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +libdbusmenu-0.5.1.ebuild, metadata.xml: + Version bump *libdbusmenu-0.3.16-r2 (07 Feb 2011) diff --git a/dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild b/dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild new file mode 100644 index 000000000000..867acf8c78b3 --- /dev/null +++ b/dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.5.1.ebuild,v 1.1 2011/11/01 22:21:57 dilfridge Exp $ + +EAPI=4 + +inherit eutils versionator virtualx + +MY_MAJOR_VERSION="$(get_version_component_range 1-2)" +if version_is_at_least "${MY_MAJOR_VERSION}.50" ; then + MY_MAJOR_VERSION="$(get_major_version).$(($(get_version_component_range 2)+1))" +fi + +DESCRIPTION="Library to pass menu structure across DBus" +HOMEPAGE="https://launchpad.net/dbusmenu" +SRC_URI="http://launchpad.net/dbusmenu/${MY_MAJOR_VERSION}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk gtk3 +introspection test vala" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/dbus-glib + dev-libs/libxml2:2 + gtk? ( + gtk3? ( x11-libs/gtk+:3 ) + !gtk3? ( x11-libs/gtk+:2 ) + ) +" + +DEPEND="${RDEPEND} + introspection? ( >=dev-libs/gobject-introspection-0.6.7 ) + test? ( + dev-libs/json-glib[introspection?] + dev-util/dbus-test-runner + ) + vala? ( dev-lang/vala:0.14 ) + dev-util/intltool + dev-util/pkgconfig +" + +REQUIRED_USE="vala? ( introspection )" + +src_configure() { + local gtkconf + if use gtk3 ; then + gtkconf=" --with-gtk=3" + else + gtkconf=" --with-gtk=2" + fi + + VALA_API_GEN=$(type -p vapigen-0.14) \ + econf \ + ${gtkconf} \ + $(use_enable gtk) \ + $(use_enable gtk dumper) \ + $(use_enable introspection) \ + $(use_enable test tests) \ + $(use_enable vala) +} + +src_test() { + Xemake check || die "testsuite failed" +} + +src_install() { + MAKEOPTS="-j1" default +} diff --git a/dev-libs/libdbusmenu/metadata.xml b/dev-libs/libdbusmenu/metadata.xml index f72a4b5e1709..d79483039046 100644 --- a/dev-libs/libdbusmenu/metadata.xml +++ b/dev-libs/libdbusmenu/metadata.xml @@ -3,7 +3,8 @@ <pkgmetadata> <herd>kde</herd> <use> - <flag name="introspection">Use dev-libs/gobject-introspection for introspection</flag> + <flag name="gtk3">Build gtk3 version instead of using gtk2</flag> + <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> <flag name="vala">Enable bindings for dev-lang/vala</flag> </use> </pkgmetadata> |