diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-26 18:10:45 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-26 18:10:45 +0000 |
commit | e470d8e70367214e7a67e1d9d0f1f8e7e9719090 (patch) | |
tree | af49bfe33f8bf3aef8c0f6b27ac744c559a5f447 /dev-libs/libindicate | |
parent | alpha/ia64/s390/sh/sparc stable wrt #385221 (diff) | |
download | historical-e470d8e70367214e7a67e1d9d0f1f8e7e9719090.tar.gz historical-e470d8e70367214e7a67e1d9d0f1f8e7e9719090.tar.bz2 historical-e470d8e70367214e7a67e1d9d0f1f8e7e9719090.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/libindicate')
-rw-r--r-- | dev-libs/libindicate/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/libindicate/Manifest | 18 | ||||
-rw-r--r-- | dev-libs/libindicate/libindicate-0.6.1-r201.ebuild | 90 | ||||
-rw-r--r-- | dev-libs/libindicate/libindicate-0.6.1-r300.ebuild | 62 |
4 files changed, 170 insertions, 9 deletions
diff --git a/dev-libs/libindicate/ChangeLog b/dev-libs/libindicate/ChangeLog index e09aeb883e86..1a4228bfbd64 100644 --- a/dev-libs/libindicate/ChangeLog +++ b/dev-libs/libindicate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/libindicate # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.24 2011/11/20 12:19:28 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.25 2011/11/26 18:10:45 ssuominen Exp $ + +*libindicate-0.6.1-r300 (26 Nov 2011) +*libindicate-0.6.1-r201 (26 Nov 2011) + + 26 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> + +libindicate-0.6.1-r201.ebuild, +libindicate-0.6.1-r300.ebuild: + Provide GTK+-3.0 version in SLOT="3" 20 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> metadata.xml: Maintained by both ayatana and kde. diff --git a/dev-libs/libindicate/Manifest b/dev-libs/libindicate/Manifest index 0e20595d2b42..64a6282c59a8 100644 --- a/dev-libs/libindicate/Manifest +++ b/dev-libs/libindicate/Manifest @@ -4,16 +4,18 @@ Hash: SHA1 AUX libindicate-0.6.1-no-mono.patch 1880 RMD160 6fef8b889d9282786ff1a07b45bcf9af0166f132 SHA1 9b3aad4ccca9f971d3aff8d6790d6bc216fdb8fb SHA256 9f9dcdd610a012cceded3d6076b745e8c406b9fdd179543b2680567f005615b5 DIST libindicate-0.6.1.tar.gz 530107 RMD160 2a4ecb5fbbb1366661a8ebf8486bbba566c7f946 SHA1 c1cca4924f359cbd2ccc477f368938c80e3a83b7 SHA256 2c8236e326610fce5972de744827f88617a6f17340aac1bba9e85405d5c691f2 EBUILD libindicate-0.6.1-r200.ebuild 1796 RMD160 64f26972c6379aab9287e4399bf24a4999c84309 SHA1 2cd68b403d4af4a90c4e3477891b6bce4a1c9998 SHA256 6639d3878ee1a34df45ea2b07a96cb0ab4be765c882b12493f6727e9baaf460c -MISC ChangeLog 6416 RMD160 37b3f91f09a0cd4b2cc574bc7024530ad8554d8b SHA1 102625dff0c7412895b7a91b1d1b6da14da2c3c5 SHA256 f243e30e88e28e22f03cf9ec7d6c0992645e29146d08830484dfdeed947c3250 +EBUILD libindicate-0.6.1-r201.ebuild 2274 RMD160 07353251482a841baf77f9e9a37a567bd3715041 SHA1 f5a43ee5a7bd654edbe0e44ddbdfd942b134069a SHA256 9ef6021a317356f6dea0ad23e54007e2360472e83e4df5be807874429a27303b +EBUILD libindicate-0.6.1-r300.ebuild 1640 RMD160 fcb4feea42ce3a548317e9b89d4abb2b850b78f2 SHA1 2dd344ba7567c2b9cfccd9d4222cd31b94f2fa6c SHA256 c627fbffb380ac42a7727b88a337009fc80d47720a4e61f69595d53c26b8f8c9 +MISC ChangeLog 6653 RMD160 c8d130f37f2d4c2622584c80550f9649e47d9dd6 SHA1 4024b0fd1ecab50f4284dbff8ca27c6eef89a94b SHA256 7b26bad9e4e24493978e9e79a4da14a878411c5cd5b4d70cb1dcc505542fa30c MISC metadata.xml 374 RMD160 6f30035c1e838e5b739bccb25dad69abd6a225e9 SHA1 e5824776e681e7a9700f63f9051cfbaa43b3b8e4 SHA256 962b7c529448cbb491147f265e8b06fc88a32b3ae377c43d8dc1dd159d73443c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJOyO/oAAoJEEdUh39IaPFN1YoH/i/HQgGqnfJs5/0NMka/dSFs -gzbYPXvF+L9vteNSd/4Jp5CnYZScTrn8dDt7rmXhDLVC9aHOCFnWred52pvclryQ -NE2ldWDQQ/O/54zdP7c3MRTF60eBM2eMppyJlSqSSwNe9HL8ZxLBE0kVy19HchU4 -SHWJSa07vcpUmfMQWTpVd0HTAOi9J95zCgTBFS0+neEUusCv6YOk6d8Wc1jJh2KH -WPEHTwgYV8S7fZq/DBlcuAJpcj+iZz+ORlt99UyVR+qN4UyPz3iXtkeMzUu4aqgz -CzGDMt50nwa+LnX01xlc5fE1UaYEgkt79Wf0cgPncAHax9rD60NODRQOFEpgJgQ= -=RKN+ +iQEcBAEBAgAGBQJO0SseAAoJEEdUh39IaPFNmzYH/jg6cdX9CpYw+3YsfDJh8oBo +gA2PtJsQ0LG1hPXmE1O3gg9gRvIxs8XMr5UGvZQRGWahEqRZ2vj9CWWR9hgERrJW +UqgxtZ/CIbTZkWp3dPRV+kmEwpnGUXIL27VV0c6DwVEmVtzzkYU7CUkqELi3827g +LY9Sj/t9sM9uf0w9f4sqH1nBdjSBcipiyBg3DjNKEoANStepC/QJpT5bOSJUiWJ/ +cCi+xqwHKTgpeakTBJtBp4tpe+2T3tMTLUCP0Q+HOg0JQazwVG+SmrL9MFR3qhfV +uNjsjJxoHsi/Oy/i3v9CFsFw7mZLsK4sM395RuBaJVRIRHNSvuN/8zslrCclQc0= +=S77a -----END PGP SIGNATURE----- diff --git a/dev-libs/libindicate/libindicate-0.6.1-r201.ebuild b/dev-libs/libindicate/libindicate-0.6.1-r201.ebuild new file mode 100644 index 000000000000..31e7476d4eb8 --- /dev/null +++ b/dev-libs/libindicate/libindicate-0.6.1-r201.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r201.ebuild,v 1.1 2011/11/26 18:10:45 ssuominen Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.7" + +inherit autotools eutils python + +PV_vala_version=0.14 + +DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize" +HOMEPAGE="http://launchpad.net/libindicate" +SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection" + +# note: pull in SLOT="3" to install headers and libs (see rm -rf in src_install) +RDEPEND=">=dev-libs/dbus-glib-0.76 + >=dev-libs/glib-2.18:2 + >=dev-libs/libdbusmenu-0.3.97[introspection?] + dev-libs/libxml2:2 + dev-python/pygtk:2 + >=x11-libs/gtk+-2.12:2 + ${CATEGORY}/${PN}:3 + introspection? ( dev-libs/gobject-introspection )" +DEPEND="${RDEPEND} + gnome-base/gnome-common + app-text/gnome-doc-utils + dev-util/gtk-doc-am + dev-util/pkgconfig + dev-lang/vala:${PV_vala_version}[vapigen] + !<${CATEGORY}/${PN}-0.6.1-r201" + +RESTRICT="test" # for -no-mono.patch + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-mono.patch + + sed -i -e 's:-Werror::' {examples,libindicate,libindicate-gtk}/Makefile.{am,in} || die + + # for slotted dev-lang/vala + sed -i -e "s:vapigen:vapigen-${PV_vala_version}:" configure.ac || die + + eautoreconf + + rm -f py-compile + ln -s $(type -P true) py-compile +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable introspection) \ + --with-gtk=2 +} + +src_install() { + emake DESTDIR="${D}" install + find "${ED}"usr -name '*.la' -exec rm -f {} + + + # note: purposely not installing documentation and colliding files to + # support SLOT="3" + rm -rf \ + "${ED}"usr/include/${PN}-0.6/${PN}* \ + "${ED}"usr/share/doc \ + "${ED}"usr/share/gir-1.0/Indicate-0.6.gir \ + "${ED}"usr/share/gtk-doc \ + "${ED}"usr/share/vala/vapi/Indicate-0.6.vapi \ + "${ED}"usr/lib*/girepository-1.0/Indicate-0.6.typelib \ + "${ED}"usr/lib*/${PN}.so* \ + "${ED}"usr/lib*/pkgconfig/indicate-0.6.pc +} + +pkg_postinst() { + python_mod_optimize indicate +} + +pkg_postrm() { + python_mod_cleanup indicate +} diff --git a/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild b/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild new file mode 100644 index 000000000000..c0da735220d7 --- /dev/null +++ b/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild,v 1.1 2011/11/26 18:10:45 ssuominen Exp $ + +EAPI=4 +inherit autotools eutils + +PV_vala_version=0.14 + +DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize" +HOMEPAGE="http://launchpad.net/libindicate" +SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection" + +RDEPEND=">=dev-libs/dbus-glib-0.76 + >=dev-libs/glib-2.18:2 + >=dev-libs/libdbusmenu-0.3.97[introspection?] + dev-libs/libxml2:2 + x11-libs/gtk+:3 + introspection? ( dev-libs/gobject-introspection )" +DEPEND="${RDEPEND} + gnome-base/gnome-common + app-text/gnome-doc-utils + dev-util/gtk-doc-am + dev-util/pkgconfig + dev-lang/vala:${PV_vala_version}[vapigen] + !<${CATEGORY}/${PN}-0.6.1-r201" + +RESTRICT="test" # for -no-mono.patch + +DOCS=( AUTHORS ChangeLog ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-mono.patch + + sed -i -e 's:-Werror::' {examples,libindicate,libindicate-gtk}/Makefile.{am,in} || die + + # for slotted dev-lang/vala + sed -i -e "s:vapigen:vapigen-${PV_vala_version}:" configure.ac || die + + eautoreconf +} + +src_configure() { + # note: --disable-python to avoid automagic gtk+-2.0 usage + econf \ + --docdir=/usr/share/doc/${PF} \ + --disable-static \ + $(use_enable introspection) \ + --disable-python \ + --with-gtk=3 \ + --with-html-dir=/usr/share/doc/${PF} +} + +src_install() { + default + find "${ED}"usr -name '*.la' -exec rm -f {} + +} |