summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-11-28 16:47:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-11-28 16:47:52 +0000
commit9a92b21a94f4223e50cf6d92394fafc48e9d2d9a (patch)
treea450ff9eefba9393db85adbf2d1e7590bef6ad77 /dev-libs/libdbusmenu
parentNow that xul-2 patch is compatible with 1.9 also keywords can be recovered. D... (diff)
downloadhistorical-9a92b21a94f4223e50cf6d92394fafc48e9d2d9a.tar.gz
historical-9a92b21a94f4223e50cf6d92394fafc48e9d2d9a.tar.bz2
historical-9a92b21a94f4223e50cf6d92394fafc48e9d2d9a.zip
Provide GTK+-3.0 version in SLOT="3"
Package-Manager: portage-2.2.0_alpha77/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libdbusmenu')
-rw-r--r--dev-libs/libdbusmenu/ChangeLog9
-rw-r--r--dev-libs/libdbusmenu/Manifest18
-rw-r--r--dev-libs/libdbusmenu/libdbusmenu-0.5.1-r200.ebuild76
-rw-r--r--dev-libs/libdbusmenu/libdbusmenu-0.5.1-r300.ebuild66
4 files changed, 160 insertions, 9 deletions
diff --git a/dev-libs/libdbusmenu/ChangeLog b/dev-libs/libdbusmenu/ChangeLog
index b544a6222c99..da9d644f23fd 100644
--- a/dev-libs/libdbusmenu/ChangeLog
+++ b/dev-libs/libdbusmenu/ChangeLog
@@ -1,6 +1,13 @@
# 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.11 2011/11/25 20:49:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/ChangeLog,v 1.12 2011/11/28 16:47:52 ssuominen Exp $
+
+*libdbusmenu-0.5.1-r300 (28 Nov 2011)
+*libdbusmenu-0.5.1-r200 (28 Nov 2011)
+
+ 28 Nov 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +libdbusmenu-0.5.1-r200.ebuild, +libdbusmenu-0.5.1-r300.ebuild:
+ Provide GTK+-3.0 version in SLOT="3"
25 Nov 2011; Samuli Suominen <ssuominen@gentoo.org>
-libdbusmenu-0.2.8.ebuild, -files/libdbusmenu-0.2.8-1-optional-gtk.patch,
diff --git a/dev-libs/libdbusmenu/Manifest b/dev-libs/libdbusmenu/Manifest
index 0527e6d2b239..7403eb7db62b 100644
--- a/dev-libs/libdbusmenu/Manifest
+++ b/dev-libs/libdbusmenu/Manifest
@@ -2,17 +2,19 @@
Hash: SHA1
DIST libdbusmenu-0.5.1.tar.gz 701014 RMD160 9e47d804bb19b84de7a4c3140f12a417c7260624 SHA1 fb8b4c382aae19a037a625ba85684e8f6c02f01c SHA256 932d26fe29634ea465f2fb861b80ecafeaf0d5f898cdc35b3379b046ad5b2812
+EBUILD libdbusmenu-0.5.1-r200.ebuild 2019 RMD160 4fc3a8bec1e637643a7ae2244dcf2963ccf3b5eb SHA1 21150ad5d829c2fcb88aa582a55170fcd1578044 SHA256 9308842d2caf47958c062f9ea0280a44c3f5e5d43e50c0e5e267243ac76b6b15
+EBUILD libdbusmenu-0.5.1-r300.ebuild 1632 RMD160 295af54eca38359115e79d7693c475a5b39b4b46 SHA1 94fd6ac3fc7db90b34e662d2ee5591f813b1c93e SHA256 898d2a13fdaf12048182f13ddf0c5286e0bb73e77a498833b210d42888f25357
EBUILD libdbusmenu-0.5.1.ebuild 1897 RMD160 9a5184d903c0cb759faf208bc2f64d96d70a2fd0 SHA1 ec6248a3bb9fd497ff3ac2d73a0387f63482a63f SHA256 5ba39907abb1749f34c244ab115dec29ad77256e984d861c7b677558f9d07bd5
-MISC ChangeLog 3492 RMD160 05dad4dcddaecdad636928a477cce6fecc717508 SHA1 0c3b38ee6534733f09d86a39b9e0e802c9731c32 SHA256 a7904435f4da6a25c9114902348b611d1c3ff27e4f075830f8e890eb9a9e592a
+MISC ChangeLog 3729 RMD160 c4797390e93e5311e27e961a819bba38a189a972 SHA1 8d84dbce027bc70684aef76142033d9baace0e14 SHA256 49615df319809182d69d418fcce4bd489fdfdaf7cd9981dfa1676d86f62d5e93
MISC metadata.xml 507 RMD160 435cc9e20277b755081a202d9deebf0db038740c SHA1 12f5ea9f15b0e8329c2865768ce96c84f1ba5b32 SHA256 e71e0f8516e63b110464b2cc94eb899ced2a3cbea8500bc03405e362e11386aa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBAgAGBQJOz/78AAoJEEdUh39IaPFNCW4H/1hUDqvrsViWsmXqGJ3+u7wZ
-UDnleEtT/pBvq1rHfvgeXQby8HSmadiI25LVuzgtlR7MibVkPSc2YUtoXKrls0y4
-ZKX6D+V1RxHQs83xLWNVVbW3uXxogQFttFWNbfeTMjoMjeX25l5meltSH+nSxMw1
-6NInTcGPpSzRxxr+BOLPAvXtKp+bMeryspIdJJ04lrNfVZ5fc4hb/vS470pKu+K6
-i+OuP1jUxcACNF8Nq69wvrjYaz6gHFc7RrLJvBx9DYfRXHYQBIVneGXbSmA3PH9n
-1X5gfv6SkHHuHMXbafmww5JdFtz1v0+FOD/RGzkamJ4SrZJ8gBf8VXaDpwEDIrY=
-=vfl1
+iQEcBAEBAgAGBQJO07qnAAoJEEdUh39IaPFNLBcH/3uJYcLFsGex9QIpGDjo/9QU
+0tykDLpqJ/LB0mlmV4NW1xmKM2wfosD2PaRoQdgz+cgVub8Y+odiniEtd/bCV2B8
+EZIJEvanckKLnWLLz709esCAjO7ZIrcAsJIgZTUTya4kD6SCPIhnfiL6NqhK+rxt
+ITjAJNpdj2Dsi3STSSX4dTRB217zZotnUNoJjIsll9yIhy010+B++Uq+OGu+S/2B
+JZDTZpdq+rpoVfr5LbHRwD8EcSfg6tV1lSHjs2Csd3WTtBM6taIWMDsDbfFuPn5w
+2o8+0gWmsOVVjfNNbwB0k9essV8ZUFh3JA8p+Im7mDjborZZXwz35pSEX6GBZt4=
+=9vcf
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libdbusmenu/libdbusmenu-0.5.1-r200.ebuild b/dev-libs/libdbusmenu/libdbusmenu-0.5.1-r200.ebuild
new file mode 100644
index 000000000000..5d9928ccc5ed
--- /dev/null
+++ b/dev-libs/libdbusmenu/libdbusmenu-0.5.1-r200.ebuild
@@ -0,0 +1,76 @@
+# 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-r200.ebuild,v 1.1 2011/11/28 16:47:52 ssuominen Exp $
+
+EAPI=4
+
+PN_vala_version=0.14
+
+inherit virtualx
+
+DESCRIPTION="Library to pass menu structure across DBus"
+HOMEPAGE="https://launchpad.net/dbusmenu"
+SRC_URI="http://launchpad.net/dbusmenu/${PV%.*}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk +introspection test"
+
+# note: pulling in SLOT="3" for headers and more, see rm -rf in src_install()
+RDEPEND=">=dev-libs/glib-2.26
+ dev-libs/dbus-glib
+ dev-libs/libxml2
+ gtk? ( >=x11-libs/gtk+-2.16:2 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
+ ${CATEGORY}/${PN}:3"
+DEPEND="${RDEPEND}
+ test? (
+ dev-libs/json-glib[introspection?]
+ dev-util/dbus-test-runner
+ )
+ dev-lang/vala:${PN_vala_version}
+ app-text/gnome-doc-utils
+ dev-util/intltool
+ dev-util/pkgconfig
+ !<${CATEGORY}/${PN}-0.5.1-r200"
+
+src_prepare() {
+ # Drop DEPRECATED flags, bug #391103
+ sed -i \
+ -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ {libdbusmenu-{glib,gtk},tests}/Makefile.{am,in} configure{,.ac} || die
+}
+
+src_configure() {
+ export VALA_API_GEN="$(type -P vapigen-${PN_vala_version})"
+
+ econf \
+ --disable-static \
+ $(use_enable gtk) \
+ $(use_enable gtk dumper) \
+ $(use_enable introspection) \
+ $(use_enable test tests) \
+ --with-gtk=2
+}
+
+src_test() {
+ Xemake check
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ # punt everything provided by SLOT="3"
+ rm -rf \
+ "${ED}"usr/include/${PN}-0.4/${PN}-glib \
+ "${ED}"usr/lib*/girepository-1.0/Dbusmenu-0.4.typelib \
+ "${ED}"usr/lib*/${PN}-glib* \
+ "${ED}"usr/lib*/pkgconfig/dbusmenu-glib-0.4.pc \
+ "${ED}"usr/lib*/dbusmenu-bench \
+ "${ED}"usr/share/doc/${PN} \
+ "${ED}"usr/share/gir-1.0/Dbusmenu-0.4.gir \
+ "${ED}"usr/share/gtk-doc \
+ "${ED}"usr/share/vala/vapi/Dbusmenu-0.4.vapi
+}
diff --git a/dev-libs/libdbusmenu/libdbusmenu-0.5.1-r300.ebuild b/dev-libs/libdbusmenu/libdbusmenu-0.5.1-r300.ebuild
new file mode 100644
index 000000000000..da84736e852d
--- /dev/null
+++ b/dev-libs/libdbusmenu/libdbusmenu-0.5.1-r300.ebuild
@@ -0,0 +1,66 @@
+# 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-r300.ebuild,v 1.1 2011/11/28 16:47:52 ssuominen Exp $
+
+EAPI=4
+
+PN_vala_version=0.14
+
+inherit virtualx
+
+DESCRIPTION="Library to pass menu structure across DBus"
+HOMEPAGE="https://launchpad.net/dbusmenu"
+SRC_URI="http://launchpad.net/dbusmenu/${PV%.*}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 LGPL-3"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk +introspection test"
+
+RDEPEND=">=dev-libs/glib-2.26
+ dev-libs/dbus-glib
+ dev-libs/libxml2
+ gtk? ( x11-libs/gtk+:3 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
+DEPEND="${RDEPEND}
+ test? (
+ dev-libs/json-glib[introspection?]
+ dev-util/dbus-test-runner
+ )
+ dev-lang/vala:${PN_vala_version}
+ app-text/gnome-doc-utils
+ dev-util/intltool
+ dev-util/pkgconfig
+ !<${CATEGORY}/${PN}-0.5.1-r200"
+
+src_prepare() {
+ # Drop DEPRECATED flags, bug #391103
+ sed -i \
+ -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ {libdbusmenu-{glib,gtk},tests}/Makefile.{am,in} configure{,.ac} || die
+}
+
+src_configure() {
+ export VALA_API_GEN="$(type -P vapigen-${PN_vala_version})"
+
+ # note: --disable-dumper to avoid GTK+ 2.0
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-static \
+ $(use_enable gtk) \
+ --disable-dumper \
+ $(use_enable introspection) \
+ $(use_enable test tests) \
+ --with-html-dir=/usr/share/doc/${PF} \
+ --with-gtk=3
+}
+
+src_test() {
+ Xemake check
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}