summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-06-04 15:12:38 +0000
committerPacho Ramos <pacho@gentoo.org>2012-06-04 15:12:38 +0000
commitbd0e86aa7e4070b68c64bc47e9f5e2f8430662e6 (patch)
treef007d4d44174f2ae74a0a31b999cbb12e5686778 /dev-libs/gobject-introspection
parentVersion bump. Remove old version. (diff)
downloadhistorical-bd0e86aa7e4070b68c64bc47e9f5e2f8430662e6.tar.gz
historical-bd0e86aa7e4070b68c64bc47e9f5e2f8430662e6.tar.bz2
historical-bd0e86aa7e4070b68c64bc47e9f5e2f8430662e6.zip
Drop old.
Package-Manager: portage-2.1.10.64/cvs/Linux x86_64
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/files/gobject-introspection-0.10.8-build-tests.patch104
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-0.10.8.ebuild69
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild72
-rw-r--r--dev-libs/gobject-introspection/gobject-introspection-1.32.0.ebuild94
6 files changed, 12 insertions, 355 deletions
diff --git a/dev-libs/gobject-introspection/ChangeLog b/dev-libs/gobject-introspection/ChangeLog
index cd80d586e86b..521082ca2fdc 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.70 2012/06/04 07:30:23 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.71 2012/06/04 15:12:38 pacho Exp $
+
+ 04 Jun 2012; Pacho Ramos <pacho@gentoo.org>
+ -files/gobject-introspection-0.10.8-build-tests.patch,
+ -gobject-introspection-0.10.8.ebuild, -gobject-introspection-1.30.0-r1.ebuild,
+ -gobject-introspection-1.32.0.ebuild:
+ Drop old.
04 Jun 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
gobject-introspection-0.10.8.ebuild, gobject-introspection-1.30.0-r1.ebuild,
diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest
index 65c27444b9c1..7d7887010ea4 100644
--- a/dev-libs/gobject-introspection/Manifest
+++ b/dev-libs/gobject-introspection/Manifest
@@ -1,27 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX gobject-introspection-0.10.8-build-tests.patch 3792 RMD160 6699bbe51887e346cd205ecc4087f2c54289149a SHA1 c70bfdbe9a6b0a9981af7c3dcc52c782b08c1cb8 SHA256 00469e23dc415e284cf3240c1cc3e5ff6f63cb37dca249f0ebe56b81ced0521b
-DIST gobject-introspection-0.10.8.tar.bz2 1024874 RMD160 f542f75920ee95c067563f14215127c3ff95f304 SHA1 410268f5fd16cf0e219038c7dfe393249161b446 SHA256 5b1387ff37f03db880a2b1cbd6c6b6dfb923a29468d4d8367c458abf7704c61e
DIST gobject-introspection-1.30.0-patches-1.tar.xz 5776 RMD160 6cf7893558cdf7b41e6084d787efe006b8a8c7b4 SHA1 1d621ce328683a4f2b8405589c89e3f97239534d SHA256 90a01c8b3ce6b112d58e9781460f3664d652bed169ddbdd9451a5e0a9fe2d37c
DIST gobject-introspection-1.30.0.tar.xz 1063720 RMD160 c5e66f2e818e0cdbe38b42516ea3a36e7fbb09e6 SHA1 107425f49e03657c931ee180ffa454dcec201b71 SHA256 8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2
-DIST gobject-introspection-1.32.0.tar.xz 1120376 RMD160 a9d7acef59b049cc301f920848898fe2adfc710f SHA1 461c9b8e1fab503995fbdf7e4b17ee8a6f51b460 SHA256 346a729eb8a2a5dc49197d2195e71295167504cc2671298dfd92a32f8e5a01b3
DIST gobject-introspection-1.32.1.tar.xz 1120996 RMD160 7546532aed866451e0f934257c4b9bbc75f460e5 SHA1 289df976328490a2d5d4187032cf6d429dcef121 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858
-EBUILD gobject-introspection-0.10.8.ebuild 1871 RMD160 009a7b86ed6407706600de45b5bc22eec28ddc9b SHA1 35c9b93deca8244452153ff9d9798a97294780ee SHA256 90c2b1ab7b81b1a14c702c7e8b81de657aeb1b5e9525e2093f44ad4c3087cd23
-EBUILD gobject-introspection-1.30.0-r1.ebuild 1977 RMD160 046cc1866d64e3eba2d42e9b203e72f65f738ca3 SHA1 50e74f24810e342249ae665f359d3acea771dfd4 SHA256 c457425975e33a39aa4d31a6b46b102b36956e511f9392c0fddd4559ea4095f2
EBUILD gobject-introspection-1.30.0-r2.ebuild 2677 RMD160 2ff36428c9e7b81c8135c3cdc3991f1d17e880a8 SHA1 96e70d101ecb8a277494f6003c94dbfc564d1a22 SHA256 fe81a714340abe01f6a0f1a3ac6c803b943991bdc09ad6d92c4a6f282a39d574
-EBUILD gobject-introspection-1.32.0.ebuild 2816 RMD160 f29be87ded73ec24e4faf315426986a8d285b4d5 SHA1 4af7fef5a47fcb9461b2d7bbd6700dc809e6bbee SHA256 82d7a988b6896e8ed659b49bc2fa0682e06d211d948acd9fa7bf7241956de5d2
EBUILD gobject-introspection-1.32.1.ebuild 2902 RMD160 1c99b5db7412288acc16986eccb395f72d8141ae SHA1 7bee08fe4e6b714b76fe3b9e8797075d91c7a176 SHA256 ca3946d4c7c766f8b41a27fbb02e991f8b560fad9a2776d33dc1f8d552d985ca
-MISC ChangeLog 13210 RMD160 974725c2fb201fc990d57f0e97f32cadc2df6a35 SHA1 f8d2f7be235fbca833bbcf6f808909b785f98e1b SHA256 4041be3541fe8db0886b89d6972817d285f5fba4bf56f9e4c5c5c4ab60949326
+MISC ChangeLog 13443 RMD160 890d08a2f6bd6fb4135b9a4f35d0162a61f92bd7 SHA1 9390a4ab3a3f433618ad220e57a0ee3472c39da8 SHA256 a3117670d03e604b6c3549d27b7b46f162eac94308f665d02e6015700e11d4c6
MISC metadata.xml 276 RMD160 5928f704ff0922d00d46b2a0db7c4169c0691544 SHA1 166ac3769910caf9bea2f3acc42a0a4741737d51 SHA256 64896ff5d165a9a750f5e13dfb6ae8ab203c9c5ecf1fe95f5828dca418652cb3
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iQEcBAEBAgAGBQJPzGQVAAoJEJ0WA1zPCt1h1VUH/1NS3/X/ZaK/c3lO+8WFsW0f
-LAI2ozS1FkLQIZElIR09V6iwalMOHrWwE4hIOOvVuYwGkvF900GO7SHxKxPQnWgS
-GHF6lHtFGP/nyQsVH7g12CypJnT+gccRgQ3pBVwUcR1bxq4BQ8PzN0k+9yY8Urfe
-k0plReSUf9kEoqjSoR6pdvWcAOEmLV/JsaNjIn74GAcIujOSOFYHe11zea+R7qHN
-T3NKr/FINLrNOVNkiLOqf+xx1R8zja2DlCSs8ctNkjHsDPXSzgurrthvXXAg27+y
-Q0O9/sebQmPZlag7wBBR2hIhAsWWhQkAWrGvNGFBTwmUhgpBdKVKg5HV0mVY7y0=
-=Mg83
+iEYEARECAAYFAk/M0GsACgkQCaWpQKGI+9RnpQCdHlsJHBp4Og11bOsDKSKhBi2Z
+xckAnjYTyNZ50djz4Zk1YVxvJaKD1w3Z
+=cdsD
-----END PGP SIGNATURE-----
diff --git a/dev-libs/gobject-introspection/files/gobject-introspection-0.10.8-build-tests.patch b/dev-libs/gobject-introspection/files/gobject-introspection-0.10.8-build-tests.patch
deleted file mode 100644
index 53bf485379ab..000000000000
--- a/dev-libs/gobject-introspection/files/gobject-introspection-0.10.8-build-tests.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-From 3a308bb438246f7d6e87ebe2f6efeb1795fdcd1e Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gmail.com>
-Date: Mon, 22 Aug 2011 06:49:51 +0000
-Subject: tests: build tests only on make check
-
-Use automake's check_ prefix and avoid putting anything nontrivial in
-BUILT_SOURCES so that tests are build only on make check.
-
-The dummy -rpath in AM_LDFLAGS in tests/scanner/Makefile.am is needed to
-force libtool to build shared libraries for check_LTLIBRARIESS targets
-(automake builds check_LTLIBRARIES as static by default); see
-http://lists.gnu.org/archive/html/automake/2005-10/msg00107.html
-
-https://bugzilla.gnome.org/show_bug.cgi?id=657066
----
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 20ecc17..2d395a3 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -16,16 +16,14 @@ tests_DATA = \
- gimarshallingtests.c \
- gimarshallingtests.h
-
--testlib_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
--testlibdir=$(prefix)/unused
--install-testlibLTLIBRARIES: # prevent it from being installed
-+check_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
-
- libeverything_1_0_la_SOURCES = everything.c
- libgimarshallingtests_1_0_la_SOURCES = gimarshallingtests.c
-
- EXTRA_DIST += gimarshallingtests.h
-
--BUILT_SOURCES += everything.c everything.h Everything-1.0.gir GIMarshallingTests-1.0.gir
-+BUILT_SOURCES += everything.c everything.h
-
- CLEANFILES += \
- $(BUILT_SOURCES) \
-diff --git a/tests/repository/Makefile.am b/tests/repository/Makefile.am
-index 268d9f9..ffc635f 100644
---- a/tests/repository/Makefile.am
-+++ b/tests/repository/Makefile.am
-@@ -2,7 +2,7 @@ AM_CFLAGS = $(GOBJECT_CFLAGS)
- AM_LDFLAGS = -module -avoid-version
- LIBS = $(GOBJECT_LIBS)
-
--noinst_PROGRAMS = gitestrepo gitestthrows gitypelibtest
-+check_PROGRAMS = gitestrepo gitestthrows gitypelibtest
-
- gitestrepo_SOURCES = $(srcdir)/gitestrepo.c
- gitestrepo_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository
-diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
-index 6b78ee7..fc2e260 100644
---- a/tests/scanner/Makefile.am
-+++ b/tests/scanner/Makefile.am
-@@ -3,24 +3,21 @@ include $(top_srcdir)/Makefile.introspection
-
- INTROSPECTION_SCANNER_ARGS += --warn-all --warn-error -I.
-
--# We need to build a shared library, which can be dlopened
--# it does not work with noinst_LTLIBRARIES
--testlib_LTLIBRARIES = \
-+check_LTLIBRARIES = \
- libannotation.la \
- libtestinherit.la \
- libfoo.la \
- libutility.la \
- libgtkfrob.la
- if HAVE_CAIRO
--testlib_LTLIBRARIES += libregress.la
-+check_LTLIBRARIES += libregress.la
- endif
-
--testlibdir = $(prefix)/unused
--install-testlibLTLIBRARIES: # prevent it from being installed
--
- AM_CPPFLAGS = -I$(top_srcdir)/girepository
- AM_CFLAGS = $(GIO_CFLAGS) $(GOBJECT_CFLAGS) $(GTHREAD_CFLAGS)
--AM_LDFLAGS = -avoid-version
-+# -rpath needed to force libtool to build a shared library for a check_LTLIBRARIES
-+# target. See http://lists.gnu.org/archive/html/automake/2005-10/msg00107.html
-+AM_LDFLAGS = -rpath /unused -avoid-version
- LIBS = $(GOBJECT_LIBS) $(GTHREAD_LIBS)
-
- libannotation_la_SOURCES = $(srcdir)/annotation.c $(srcdir)/annotation.h
-@@ -49,7 +46,6 @@ CHECKGIRS = $(GIRS:.gir=.gir.check)
- EXPECTEDGIRS = $(GIRS:.gir=-expected.gir)
- INTROSPECTION_GIRS = $(GIRS)
- CLEANFILES = $(TYPELIBS) $(GIRS)
--BUILT_SOURCES = $(TYPELIBS) $(GIRS)
- EXTRA_DIST = $(EXPECTEDGIRS)
-
- Regress-1.0.gir: $(top_builddir)/Gio-2.0.gir libregress.la
-@@ -102,7 +98,7 @@ GtkFrob_1_0_gir_FILES = $(libgtkfrob_la_SOURCES)
- GtkFrob_1_0_gir_SCANNERFLAGS = --identifier-prefix=Gtk --symbol-prefix=gtk_frob
- GIRS += GtkFrob-1.0.gir
-
--noinst_PROGRAMS = barapp
-+check_PROGRAMS = barapp
-
- barapp_SOURCES = $(srcdir)/barapp.c $(srcdir)/barapp.h
- barapp_LDADD = $(top_builddir)/libgirepository-1.0.la
---
-cgit v0.9.0.2
diff --git a/dev-libs/gobject-introspection/gobject-introspection-0.10.8.ebuild b/dev-libs/gobject-introspection/gobject-introspection-0.10.8.ebuild
deleted file mode 100644
index 5a8cd0890fbd..000000000000
--- a/dev-libs/gobject-introspection/gobject-introspection-0.10.8.ebuild
+++ /dev/null
@@ -1,69 +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-0.10.8.ebuild,v 1.20 2012/06/04 07:30:23 tetromino Exp $
-
-EAPI="3"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_DEPEND="2:2.5"
-PYTHON_USE_WITH="xml"
-
-inherit gnome2 multilib python libtool eutils autotools
-
-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 ~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 test"
-
-RDEPEND=">=dev-libs/glib-2.24:2
- virtual/libffi"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/bison
- sys-devel/flex
- virtual/yacc
- doc? ( >=dev-util/gtk-doc-1.12 )
- test? ( x11-libs/cairo )"
-
-pkg_setup() {
- DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
- G2CONF="${G2CONF}
- --disable-static
- $(use_enable test tests)"
-
- python_set_active_version 2
-}
-
-src_prepare() {
- # FIXME: Parallel compilation failure with USE=doc
- use doc && MAKEOPTS="-j1"
-
- # Don't pre-compile .py
- echo '#!/bin/sh' > py-compile
-
- # tests: build tests only on make check
- epatch "${FILESDIR}/${P}-build-tests.patch"
- eautoreconf
-
- # Uncomment the following once we don't need full eautoreconf
- # Fix Darwin bundles
-# elibtoolize
-}
-
-src_install() {
- gnome2_src_install
- python_convert_shebangs 2 "${ED}"usr/bin/g-ir-scanner
- python_convert_shebangs 2 "${ED}"usr/bin/g-ir-annotation-tool
-}
-
-pkg_postinst() {
- python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
- python_need_rebuild
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/lib*/${PN}/giscanner
-}
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild
deleted file mode 100644
index 3725aa27f0ed..000000000000
--- a/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild
+++ /dev/null
@@ -1,72 +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.30.0-r1.ebuild,v 1.11 2012/06/04 07:30:23 tetromino Exp $
-
-EAPI="4"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_DEPEND="2:2.5"
-PYTHON_USE_WITH="xml"
-
-inherit eutils gnome2 multilib python
-
-DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
-HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
-SRC_URI="${SRC_URI} mirror://gentoo/${P}-patches-1.tar.xz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~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 test"
-
-RDEPEND=">=dev-libs/glib-2.29.7:2
- virtual/libffi"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/flex
- virtual/yacc
- doc? ( >=dev-util/gtk-doc-1.15 )
- test? ( x11-libs/cairo )"
-
-pkg_setup() {
- DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
- G2CONF="${G2CONF}
- --disable-static
- YACC=$(type -p yacc)
- $(use_enable test tests)"
-
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- # Useful upstream patches, will be in 1.31
- epatch ../patches/*.patch
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=659824
- sed -i -e '/^TAGS/s/[{}]//g' "${S}/giscanner/docbookdescription.py" || die
-
- # FIXME: Parallel compilation failure with USE=doc
- use doc && MAKEOPTS="-j1"
-
- # Don't pre-compile .py
- echo '#!/bin/sh' > py-compile
- echo '#!/bin/sh' > build-aux/py-compile
-
- gnome2_src_prepare
-}
-
-src_install() {
- gnome2_src_install
- python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,doc-tool,scanner}
-}
-
-pkg_postinst() {
- python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
- python_need_rebuild
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/lib*/${PN}/giscanner
-}
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.32.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.32.0.ebuild
deleted file mode 100644
index fbe1eb8b0fda..000000000000
--- a/dev-libs/gobject-introspection/gobject-introspection-1.32.0.ebuild
+++ /dev/null
@@ -1,94 +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.32.0.ebuild,v 1.4 2012/06/04 07:30:23 tetromino Exp $
-
-EAPI="4"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_DEPEND="2:2.7"
-PYTHON_USE_WITH="xml"
-
-inherit gnome2 python
-
-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 ~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.31.22:2
- doctool? ( dev-python/mako )
- virtual/libffi"
-# Wants real bison, not virtual/yacc
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/bison
- sys-devel/flex
- doc? ( >=dev-util/gtk-doc-1.15 )"
-# PDEPEND to avoid circular dependencies, bug #391213
-PDEPEND="x11-libs/cairo[glib]"
-
-pkg_setup() {
- 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
-
- 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"
- export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
- export CAIRO_GOBJECT_LIBS="-lcairo-gobject"
- export CAIRO_GOBJECT_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
-}