summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-12-09 18:33:55 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-12-09 18:33:55 +0000
commit1e92f18b2b9b40ab04e1e1a1eaf95f92a188a67c (patch)
tree60d4afd78de70d0e5037d0562d868453ccbe9ab9 /dev-libs/gobject-introspection
parentStable for ppc64, wrt bug #441498 (diff)
downloadhistorical-1e92f18b2b9b40ab04e1e1a1eaf95f92a188a67c.tar.gz
historical-1e92f18b2b9b40ab04e1e1a1eaf95f92a188a67c.tar.bz2
historical-1e92f18b2b9b40ab04e1e1a1eaf95f92a188a67c.zip
Pin to a specific range of glib versions to avoid problems like bug #446622. Drop old.
Package-Manager: portage-2.2.0_alpha145/cvs/Linux x86_64 Manifest-Sign-Key: 0xCF0ADD61
Diffstat (limited to 'dev-libs/gobject-introspection')
-rw-r--r--dev-libs/gobject-introspection/ChangeLog8
-rw-r--r--dev-libs/gobject-introspection/Manifest20
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild3
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild3
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.34.0.ebuild98
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild97
6 files changed, 21 insertions, 208 deletions
diff --git a/dev-libs/gobject-introspection/ChangeLog b/dev-libs/gobject-introspection/ChangeLog
index 08f667e69a43..f7412124e856 100644
--- a/dev-libs/gobject-introspection/ChangeLog
+++ b/dev-libs/gobject-introspection/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/gobject-introspection
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.83 2012/11/21 22:40:59 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.84 2012/12/09 18:33:49 tetromino Exp $
+
+ 09 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ gobject-introspection-1.30.0-r2.ebuild, gobject-introspection-1.32.1.ebuild,
+ -gobject-introspection-1.34.0.ebuild, -gobject-introspection-1.34.1.1.ebuild:
+ Pin to a specific range of glib versions to avoid problems like bug #446622.
+ Drop old.
*gobject-introspection-1.34.2 (21 Nov 2012)
diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest
index bc1481f10c68..45dae67300e6 100644
--- a/dev-libs/gobject-introspection/Manifest
+++ b/dev-libs/gobject-introspection/Manifest
@@ -4,20 +4,20 @@ Hash: SHA256
DIST gobject-introspection-1.30.0-patches-1.tar.xz 5776 SHA256 90a01c8b3ce6b112d58e9781460f3664d652bed169ddbdd9451a5e0a9fe2d37c SHA512 a11195aa3c7ebeee89d7262751f1b894890170d99cbfbfa4a5122f616adbe394b2abf8f00d9f658e906c9ccc34608ecc9939a98e2d2a0bf98ad3116e393c0d40 WHIRLPOOL 21d173277ecf0a3186efd2975b8c5746ca9a765a2c8db023706083b2eab47e5c8aac4ea728c2e9a2e30453fd3aef63ca4ce5a8aafe3882a116a7e2e1e0a738f8
DIST gobject-introspection-1.30.0.tar.xz 1063720 SHA256 8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2 SHA512 fa4daa40ad971fd3da8d7b29ada94bd7d29a011972dd007c24692fb1b3e72716bdaa8a3e932c22fa5bf41a4c0d3b1a0a5012a6abac69714ab3fcde0c669da9f4 WHIRLPOOL 0a70ffb3135509accfe484a1e52adc1a674d89a4f2874aea60f45047269f27a410c769f85ac21b7f06396489a69bd5a01422618b8c11b1af678fd8f523d6d6a6
DIST gobject-introspection-1.32.1.tar.xz 1120996 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858 SHA512 115d317890e1a66a64760baebad5c9a0b50600f4cf8ba805fed8fcf047413be51603a3dbd83f552609e7a30dba303ebe9e6bfaa0bb3d6e2f95ad9f98d2c4a02c WHIRLPOOL 7a04b5db51ddbf555e251788334c1976874ab847f89577a0d1e94bbabc9c8bd9ecba7dbe9b85b1e92a63cb942df626a3934b959331e118750f8f4f5520961a64
-DIST gobject-introspection-1.34.0.tar.xz 1088520 SHA256 80e211ea95404fc7c5fa3b04ba69ee0b29af70847af315155ab06b8cff832c85 SHA512 ce67b29d223fcebe8ab941adf3871891d6cdbccc1cb8419198aada466715b588f1c190d24e58a001fa9cfb77a779192b1ac21b10dbde9a6f973fc92e26d0dd18 WHIRLPOOL df4a44e753cbb9688706e4ab500a575f92e8fc1919b6ebef1c9526eaeb7dcd03bf958201f73215217771d886def442105c5931fd5fd49dbfb7c3648901e0e464
-DIST gobject-introspection-1.34.1.1.tar.xz 1088672 SHA256 85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b SHA512 87a4294185e27a90003696be8e69b5e74f5661d879eea2154f3f5a9763813f97987163e2843abc9c1e1a5ca351be5d5d0c5b314bf00dd0c750bec7a67d2d60eb WHIRLPOOL 95ba83bb4fcf7e7c3f3d9e5cd7d24b2c2e6431146e8005e32b569698fd49a44642038ecd723f5ae2f6c1bd985bf0e4503f1c05b9f6531ca9eb2cca674e0502b8
DIST gobject-introspection-1.34.2.tar.xz 1088768 SHA256 bc7948a35ce2218922dfb0806679cad21060715cc0c340cf7823eb633cc03429 SHA512 e57839f9354aacded057911914de94d6357c323cb57cbd2934e668f2d149e779d1aca818e18b13d67fd359afe75dbe9e3525d8f7544a7ced0bbe8f7397526330 WHIRLPOOL 01b5b0662886bd708dad0d60eb06ba18af8c5f50895268bc618ddfa988789621d086b754afe48d7002ba8c8163d92318ff34d564605f406f92ef4cb9ad4659b5
-EBUILD gobject-introspection-1.30.0-r2.ebuild 2679 SHA256 393068a01c70731a3fafee706ea3f113c594eeee5d0fdb5c616f307ae8cfdac4 SHA512 30fe5bb6de9511f8b61b2095e03ffd6d7d774b38bff4e6640df7db8f7d142a021605e2f849f4b2838a930f5db11bcdf525c38748f09ba87c538078910307aba0 WHIRLPOOL 15345ad41971e99c321be6f35770ba0212571b493788faf35fe7243018e90aca70a667f11722416a9000ebd871f0679593e18bcf466607cbdbb72fe8eb2ba049
-EBUILD gobject-introspection-1.32.1.ebuild 2976 SHA256 e4055b5c0e8da7b676262410956c1d58f66ae36fee05b640801c54675057c361 SHA512 5d7342df6c04ab4201348eeabee3120de0e3e990cab00e3a9e90ba68a6978658a7e846821afda1aa4b39ac0b1f06f27acc7e3ee8bb07092b503317a2d56afeb1 WHIRLPOOL 9226defaf28262debe9afade8a6cfa20a6d446badcfaf17ffdd7ba59f67b048f9965ac8369254605b624879f8b1a9de788ccc3800618733e91e2e15c9b6f174a
-EBUILD gobject-introspection-1.34.0.ebuild 2892 SHA256 60f825b275ceac48d1b5cd4527ecb5336d90f32239a00989d0a6f5c158dbd166 SHA512 7add5fd42edbfc7ba849c0c04fac166193b47e6fc5a9584a000536f855b3c5812396a00fa2f573d0eb5c7cc031cb4a959b5af556ba1c7a5cc00c6b21c063fd50 WHIRLPOOL 91525cdc9b4f8c5d637be4ac6f1d35d0b009f8f724d9c00e3c5fcdb8ff0d81bccba6d2d94086c5d0ca4c6acb028e139c460cd28308c7168a3875668943f0a7fb
-EBUILD gobject-introspection-1.34.1.1.ebuild 2803 SHA256 e00f73cad7824e4540e243fef557dad8b056978e1560f7c0095ebb771ac3a98e SHA512 0304cb753d62a2c69786b51edb13934c6c911cc6385f4453c79a1c44a6babdbd8becc8bbd4d91ff020a1baf674a7c6a3cca1402cdc7145d9a77e3906ee38ef47 WHIRLPOOL 5659c1a2d01986d6348c02be6679ab29381ab8696a1493b1bf72dd475def0117a494e28ed37786e5bf82e8cabfc7f42a297860369b566f94474f55fb282371a7
+EBUILD gobject-introspection-1.30.0-r2.ebuild 2702 SHA256 f59a167478a965c6b61fc67a9f40ca05d39a7b015fd0d5a0413b9eb1f4ef0622 SHA512 57f7377879b2b48e1fba18e385bb46eac0907333e34c6378cd6942a3a53a60669a1222c3f4f2d3d86ef7baebf18252f53406302dd959611d5d5b0abb03d5764f WHIRLPOOL 142b5602cb4517dfc150ba2d3f753b36d8cd35a7e7eb976bee3adea9ff92570dc0994ef58ea1e5505f9b77517edb2d39abce6de144abe24e79386718d2f239f0
+EBUILD gobject-introspection-1.32.1.ebuild 3001 SHA256 a04f5f593d362a802e66f813aec43a278ed06e01905a4a364c36e3b5a9f43c2b SHA512 00feaff99ca8dbb0a7b9b1ad5cb9a855b734f3bc14ae9b0b7471b9e64411f7febdd601337a0006947fd4038283ded4380684e50a83da4a82a6bf0fffad6f6945 WHIRLPOOL 19a18bd0f46ff0a5428414060b6f957e847a18916f20f9877e2307d8f4a43fb3d826bc921b16d26294553be1bbc029bd7dbd7e4d172d739dae72dbaa7b40ff25
EBUILD gobject-introspection-1.34.2.ebuild 2801 SHA256 ea89e3e4b7954e46a790e38718e57187c8f572588df6788e280a88ba61df1723 SHA512 d918de34a89ac7ed928f927c4096471064f88212a55337b2ca7f25f77c188cc22962191a7d448668529dc0fb4084f9555fd0310359deeec6099cb800e7dcade5 WHIRLPOOL 10deb676e0537b3e58845c191f7002c22ccf6671fe41b23584e73ebcbf22f0503b1eadea7e8d0f854146d8baee4a3962e126de5e168cd1018f8920778050037c
-MISC ChangeLog 15158 SHA256 26452d933a3cb075e713adf2c8eee6efe3eb51ae00de16113ff91cfa298bbad0 SHA512 f1dc2abba23322b3365113856118eb62d35c904685efb71fa7326824028499df79fc90d94522032ba11cbe7e15ad8b2cf3bc1ecd5346781d466c33ce0fdb6a55 WHIRLPOOL 36f8e32f324fa3a04e01ab599cd02c5941ff692a21e75f0c63734e2463bf4cc43ac576642f0d493ac2c4634bb8d312cc5c9b2bb2cd4967ed319224ae45523640
+MISC ChangeLog 15474 SHA256 621c28e3005fb0ac737bca3b4846f9ca92f150ac29b8929bc5c3a83716d404f7 SHA512 072c78accf8c8c7adc093cb397e4b55c25553bdda4d4ce653a0250f284225e7b3e6f7fc9f852b8cce0774edecd0fa34f615d6c110a5a9fd682c6c108cdfcdcc5 WHIRLPOOL 049cefc3ef2e94464bebd5303e3091adf7850e6fc4cf6515585aabf82d86ad23f27bedef92402407955375cabf974d13101b0105a88fca96d2c53aedf2dd8e11
MISC metadata.xml 276 SHA256 64896ff5d165a9a750f5e13dfb6ae8ab203c9c5ecf1fe95f5828dca418652cb3 SHA512 69c30c46828ec7f02fde73973d64e48042242a42f7c354fe37297df0653552eed04fac21cabbe385efa9e0d348f70e718afdf328ebdcd203a109761b4b89f99e WHIRLPOOL c527df37fc6657961892dd27b52b8597a54f11f9da01e3acbe7cad6ebaaa6d41364e49bb1635ab5c5e354a8a56e11eae49eff1f394be934cda9322204de4e282
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlCtWHwACgkQ1fmVwcYIWAYKKwCbBx6DClKH1AAlcuCWbNRhfNBd
-wHMAoMjAw1MkHSWLfvTMutPaE2hZlIgX
-=9iwn
+iQEcBAEBCAAGBQJQxNmPAAoJEJ0WA1zPCt1hGUQH/2i2iAPHMUD31MF6/sAUhAiL
+VbNqwhPJINlK30fVJBjcvmerVfsaQywb6a6ncwsH8xPH6jBV2DcCSG2ZU2PnIx4y
+uYVsQ5ZPabblUqavB96urc+siTL9aT9SHkGVOMa19iMJPytUmMq5xGsQfgjTrlnG
+gOKeJVKvDHbAL95DIf5AOl4UCm/riKMMdVo3xSpqbra5tO6/yWsQmXGeSFor7ZBJ
+e1f77vFGrWBsjQdAxSDtLf7xuIxIDSpDnVJpVszScAjilsiOOlgaqjsQ9cL0JxSQ
+0kUVkQ7WZyYBl5ExbXIQePtWL7MpOJDqdFaAAZ9Soq9MdzsRK3GUhibjH1hjW7Q=
+=8BQk
-----END PGP SIGNATURE-----
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild
index 9a2c51cbaf01..c6b1f8da0891 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild,v 1.14 2012/09/25 11:42:54 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r2.ebuild,v 1.15 2012/12/09 18:33:49 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@@ -21,6 +21,7 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd
IUSE="doc test"
RDEPEND=">=dev-libs/glib-2.29.7:2
+ <dev-libs/glib-2.31:2
virtual/libffi"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild
index fc238a31f495..49bb289f40fe 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild,v 1.14 2012/10/28 15:42:04 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild,v 1.15 2012/12/09 18:33:49 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@@ -21,6 +21,7 @@ IUSE="doc doctool test"
RDEPEND=">=dev-libs/gobject-introspection-common-${PV}
>=dev-libs/glib-2.31.22:2
+ <dev-libs/glib-2.33:2
doctool? ( dev-python/mako )
virtual/libffi"
# Wants real bison, not virtual/yacc
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.34.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.34.0.ebuild
deleted file mode 100644
index 0165259aa1a8..000000000000
--- a/dev-libs/gobject-introspection/gobject-introspection-1.34.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.0.ebuild,v 1.1 2012/09/25 11:42:54 tetromino Exp $
-
-EAPI="4"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_DEPEND="2:2.7"
-PYTHON_USE_WITH="xml"
-
-inherit gnome2 python toolchain-funcs
-
-DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
-HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
-
-LICENSE="LGPL-2+ GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-
-IUSE="doc doctool test"
-
-RDEPEND=">=dev-libs/gobject-introspection-common-${PV}
- >=dev-libs/glib-2.34:2
- doctool? ( dev-python/mako )
- virtual/libffi"
-# Wants real bison, not virtual/yacc
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
- doc? ( >=dev-util/gtk-doc-1.15 )"
-# PDEPEND to avoid circular dependencies, bug #391213
-PDEPEND="x11-libs/cairo[glib]"
-
-pkg_setup() {
- # To prevent crosscompiling problems, bug #414105
- CC=$(tc-getCC)
-
- DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
- G2CONF="${G2CONF}
- --disable-static
- YACC=$(type -p yacc)
- $(use_enable doctool)
- $(use_enable test tests)"
-
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- # FIXME: Parallel compilation failure with USE=doc
- use doc && MAKEOPTS="-j1"
-
- gnome2_src_prepare
-
- python_clean_py-compile_files
-
- # avoid GNU-isms
- sed -i -e 's/\(if test .* \)==/\1=/' configure || die
-
- gi_skip_tests=
- if ! has_version "x11-libs/cairo[glib]"; then
- # Bug #391213: enable cairo-gobject support even if it's not installed
- # We only PDEPEND on cairo to avoid circular dependencies
- export CAIRO_LIBS="-lcairo -lcairo-gobject"
- export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
- if use test; then
- G2CONF="${G2CONF} --disable-tests"
- gi_skip_tests=yes
- ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
- ewarn "on your system. Consider installing it to get tests to run."
- fi
- fi
-}
-
-src_test() {
- [[ -z ${gi_skip_tests} ]] && default
-}
-
-src_install() {
- gnome2_src_install
- python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner}
- use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool
-
- # Prevent collision with gobject-introspection-common
- rm -v "${ED}"usr/share/aclocal/introspection.m4 \
- "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
- rmdir "${ED}"usr/share/aclocal || die
-}
-
-pkg_postinst() {
- python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
- python_need_rebuild
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner
-}
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild
deleted file mode 100644
index c82a56de82b1..000000000000
--- a/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild,v 1.1 2012/10/30 08:08:40 eva Exp $
-
-EAPI="4"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_DEPEND="2:2.7"
-PYTHON_USE_WITH="xml"
-
-inherit gnome2 python toolchain-funcs
-
-DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
-HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
-
-LICENSE="LGPL-2+ GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-
-IUSE="doctool test"
-
-RDEPEND="
- >=dev-libs/gobject-introspection-common-${PV}
- >=dev-libs/glib-2.34.1:2
- doctool? ( dev-python/mako )
- virtual/libffi
-"
-# Wants real bison, not virtual/yacc
-DEPEND="${RDEPEND}
- >=dev-util/gtk-doc-am-1.15
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-# PDEPEND to avoid circular dependencies, bug #391213
-PDEPEND="x11-libs/cairo[glib]"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- # To prevent crosscompiling problems, bug #414105
- CC=$(tc-getCC)
-
- DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
- G2CONF="${G2CONF}
- --disable-static
- YACC=$(type -p yacc)
- $(use_enable doctool)
- $(use_enable test tests)"
-
- gnome2_src_prepare
- python_clean_py-compile_files
-
- # avoid GNU-isms
- sed -i -e 's/\(if test .* \)==/\1=/' configure || die
-
- gi_skip_tests=
- if ! has_version "x11-libs/cairo[glib]"; then
- # Bug #391213: enable cairo-gobject support even if it's not installed
- # We only PDEPEND on cairo to avoid circular dependencies
- export CAIRO_LIBS="-lcairo -lcairo-gobject"
- export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
- if use test; then
- G2CONF="${G2CONF} --disable-tests"
- gi_skip_tests=yes
- ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
- ewarn "on your system. Consider installing it to get tests to run."
- fi
- fi
-}
-
-src_test() {
- [[ -z ${gi_skip_tests} ]] && default
-}
-
-src_install() {
- gnome2_src_install
- python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner}
- use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool
-
- # Prevent collision with gobject-introspection-common
- rm -v "${ED}"usr/share/aclocal/introspection.m4 \
- "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
- rmdir "${ED}"usr/share/aclocal || die
-}
-
-pkg_postinst() {
- python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
- python_need_rebuild
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner
-}