summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libindicate/Manifest24
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.4-mono-parallel-make.patch12
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch19
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch34
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.91-fix-python-version.patch23
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch33
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch35
-rw-r--r--dev-libs/libindicate/libindicate-0.4.4-r1.ebuild6
-rw-r--r--dev-libs/libindicate/libindicate-0.4.91.ebuild109
-rw-r--r--dev-libs/libindicate/metadata.xml3
10 files changed, 259 insertions, 39 deletions
diff --git a/dev-libs/libindicate/Manifest b/dev-libs/libindicate/Manifest
index 79db82e7b83..3f7ff124d46 100644
--- a/dev-libs/libindicate/Manifest
+++ b/dev-libs/libindicate/Manifest
@@ -1,11 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libindicate-0.4.4-fix-aclocal.patch 181 RMD160 81fbc27796faba28141e2efdd8aefd402c6f3f92 SHA1 afef17326571a4c17404690e06110e611b0e3f1c SHA256 7d34560b93dc25b1bfb89aa9ea726bd9f70cd3107eb21e0692aaa29c9b369c96
AUX libindicate-0.4.4-fix-introspection.patch 3690 RMD160 d64ff2fb723ba13fc7418e9c63889aff0759b85c SHA1 f623a0929190da9caef0e0b569c96ca50c12daba SHA256 678176349d2121cc4d2fc0846f8b0609af1615beb6fac01717e6f01ddef10e8d
AUX libindicate-0.4.4-fix-out-of-source-build.patch 1322 RMD160 f27759c12ce602a39005613878ea37383f63cf74 SHA1 9cc7758aa0dd627e4f5db935a2b0a0db192ec793 SHA256 7be0fa28278cc69bee72f545667ecbf966f0d36ed5db2b5dc6e5d048a484710d
AUX libindicate-0.4.4-fix-python-version.patch 757 RMD160 42c78617d4388482f05e2240d98fd07db752e58d SHA1 5f588f1f550b06e636e28674b75616c43b1a8392 SHA256 27b3ac6e71549e8c27817e80e14c0e3e217fc83afd8fa9b3c5cbcd5b9ede498d
-AUX libindicate-0.4.4-optional-doc.patch 900 RMD160 6e443308df87cf12e717ee014c38866d01c34fb5 SHA1 f37c008bb318daafe58525d38dead7c1a5f84c1e SHA256 71cdef52b7ec26ddeb421aa07c8cde4f170741f4ab6af5337c6ae44b981f6410
+AUX libindicate-0.4.4-mono-parallel-make.patch 350 RMD160 0a43c9df9e05a40e6e1ab8d26922573d92904e74 SHA1 a9ef4e3c93801a7b6c2a7bb7241119ec87e3a8ea SHA256 5ab8226ecdeb7c9aacb2b713847054c4be8e34897b690aea4edb7ea8fb3f841b
+AUX libindicate-0.4.4-optional-doc.patch 878 RMD160 8173d4ae6a8154361a49f1143abe048d266dfc78 SHA1 e563b340de70aa7ced2c3dd33840814cfbc17baa SHA256 767317c501fd6e6c526b6c4854cfa0ebde0995192446a48b22de9f0fdc43ce33
AUX libindicate-0.4.4-optional-examples.patch 310 RMD160 08c649cbafbc742562179e09d2ecb3a52f790144 SHA1 908d5812dbaee1fd7f9a03e60864815af7d84e0f SHA256 cdb14c7848ef1b4cb828a2e865d7945116b21ad6890bd41b7da5320ff3994a63
-AUX libindicate-0.4.4-optional-gtk.patch 1270 RMD160 97b50ab6cf8c94d18fdf77e863a5333098f5feb8 SHA1 14c7ad1088b18b40ce966712b57e675dc2a1c14e SHA256 ac779b3954a48afc4a11cb41e9f4df65f852111c6434544affacc650d527b60f
+AUX libindicate-0.4.4-optional-gtk.patch 796 RMD160 f42b2ed5254bfa6d87b90c8330610b32bc6595fc SHA1 5c27abc06e8516a84334130a5921d0dba5cb8fa6 SHA256 6b9181fa91b8d9b4a5bb8f962800468065b3bb0c48ff8f8b6e1d2854ffe78ae1
AUX libindicate-0.4.4-optional-mono-example.patch 321 RMD160 70cdade62938796b70a6c7a0696b6976b8f8d93c SHA1 7481c1a7a0d478f638eefdc79d05331581321406 SHA256 dc68fd7ba8f03618f2f6f369652ba7a6f72b921190e751667afcbf70be393f5f
+AUX libindicate-0.4.91-fix-python-version.patch 936 RMD160 7eaff60ac64d15f003d31745f72ae6b2764cecb9 SHA1 9c1794646d0479cbbeee058e672b55e528cc7d25 SHA256 07e99de8c0fed0d30150ccf22b517c5f8961448c3d85dd905b696c3a04a255ea
+AUX libindicate-0.4.91-optional-mono.patch 977 RMD160 d108dee2e534d904f0fcd0caa23b8ed2572cae9b SHA1 a6b7ba8963d0ab3a192f8b39b698db6d9c7d5364 SHA256 eaeee1a3137d800fd85677acb17ab09a27026fdb90e76f5cba7646637b8db52a
+AUX libindicate-0.4.91-optional-python.patch 1051 RMD160 94daa3a2132caf620d46ac955a19c16e2d48a860 SHA1 d25ae3d2c4c15b8ac3dcb8edfb13bdefa7f9f3a2 SHA256 394951e56c8ccdb13478593287f3d3f2536722fee2295c49e76e14953aba65cb
DIST libindicate-0.4.4.tar.gz 473110 RMD160 2e926172d8b0a2604f44b2b42ee70f3a1fc837f9 SHA1 0dc3ad4c35581adea9d9ae89daacf820c764f24a SHA256 20d7ac6fe02b28283c619fe583d5b0fb8a473bb17ef020c2fa40c53f72e315ce
-EBUILD libindicate-0.4.4-r1.ebuild 2756 RMD160 3adeb89f1c152fa5dc5dfae86656ee1b6e76171d SHA1 2ed9f15537b533c26306f52d75e938b9db8fe814 SHA256 5d367abf312c06b2e5ef42c6f6368090e9e53d5555e7b4229adb5f5579925db6
-MISC metadata.xml 258 RMD160 69b53b6c07c87d5673ee16de06750f3aceed35e8 SHA1 649b8b012b03f82fe418ff135f90f7e21bcc4263 SHA256 5603025b3bd04b6daa8f57cba6ad6eea690cf08beff6c011c38d35acafb3a2d9
+DIST libindicate-0.4.91.tar.gz 501873 RMD160 c7e3e7ddad51c8225c900c6ea7a89e1259a3b186 SHA1 dc2b9a6a987e9a8e82daa5940d83142f379369e8 SHA256 c80538a2423e9b9f1d22877b6b722f37914a7c747e694424735b9fc255f50d58
+EBUILD libindicate-0.4.4-r1.ebuild 2881 RMD160 385de7f5eae6b5229b0d3c4634bd432eab906bc7 SHA1 400af1e45aa28943329d6fc9747299dc13aeb31c SHA256 e1a959653fb1d287b677b6cafe40af72334a6f24e66429dffdba2dcd24761a28
+EBUILD libindicate-0.4.91.ebuild 3859 RMD160 86676e1fbe3828a736373ca9a3112089521c8e29 SHA1 6cbe88523526ed55fc04a1673f744acf9faf3186 SHA256 a8c6c6ab37cae6ee5d67290c149aa1da34eb9fbeed5568fa66e53d3b320bc4b6
+MISC metadata.xml 366 RMD160 aaed9ac306fbf7c939c135e5ce428fd8e7ccae69 SHA1 945981181f6751b4f3927ca443ee8031279fef30 SHA256 d6322d845754bcc6abcc2288430c2343be3bdb848ce7ef385f7f1e586fb91ec0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk1ErSwACgkQjqfyF1DtJW7qMQCgxMG49bEP1YgbKATGNKIuOe0M
+irMAoJLeChF5vzqSiwMz6+Hk4tRKELCs
+=//4P
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libindicate/files/libindicate-0.4.4-mono-parallel-make.patch b/dev-libs/libindicate/files/libindicate-0.4.4-mono-parallel-make.patch
new file mode 100644
index 00000000000..1554b4c14bb
--- /dev/null
+++ b/dev-libs/libindicate/files/libindicate-0.4.4-mono-parallel-make.patch
@@ -0,0 +1,12 @@
+--- bindings/mono/indicate/Makefile.am.orig 2011-01-30 00:14:17.670042664 +0100
++++ bindings/mono/indicate/Makefile.am 2011-01-30 00:14:40.204346425 +0100
+@@ -61,7 +61,8 @@
+ -e "s|PROP_MENU|menu|" \
+ -e "s|PROP_DESKTOP|Desktop|" \
+ -e "s|PROP_DESKTOP|desktop|" \
+- $< > $@
++ $< > $@.tmp
++ mv $@.tmp $@
+
+ api_includes = $(GTK_SHARP_CFLAGS)
+
diff --git a/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch b/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
index b4f6d6f9dbb..857bc7acd23 100644
--- a/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
+++ b/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
@@ -21,16 +21,15 @@
##############################
--- Makefile.am.orig 2010-09-20 23:12:10.442903362 +0200
+++ Makefile.am 2010-09-20 23:27:12.557785756 +0200
-@@ -5,7 +5,10 @@
- bindings \
- examples \
-- tests \
-- docs
-+ tests
-+
+@@ -1,2 +1,6 @@
+
+if WANT_DOC
-+SUBDIRS += docs
++DOC_SUBDIR = docs
+endif
++
+ SUBDIRS = \
+@@ -8,3 +12,3 @@
+ tests \
+- docs
++ $(DOC_SUBDIR)
- EXTRA_DIST = \
- COPYING.LGPL.2.1 \
diff --git a/dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch b/dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch
index 6376b46d708..90272e341da 100644
--- a/dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch
+++ b/dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch
@@ -1,8 +1,6 @@
--- configure.ac.orig 2010-09-20 23:15:36.692289201 +0200
+++ configure.ac 2010-09-20 23:17:50.380918143 +0200
-@@ -66,12 +66,20 @@
-
- GDK_PIXBUF_REQUIRED_VERSION=2.12
+@@ -66,3 +66,9 @@
+AC_ARG_ENABLE([gtk],
+ AC_HELP_STRING([--disable-gtk], [Disable libindicate-gtk library]),
@@ -10,33 +8,23 @@
+AM_CONDITIONAL([WANT_LIBINDICATEGTK], [test "x$enable_gtk" != "xno"])
+
+if test "x$enable_gtk" != "xno" ; then
- PKG_CHECK_MODULES(LIBINDICATEGTK, glib-2.0 >= $GLIB_REQUIRED_VERSION
- gio-2.0 >= $GIO_REQUIRED_VERSION
- gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED_VERSION
- gtk+-2.0 >= $GTK_REQUIRED_VERSION
- dbusmenu-glib >= $DBUSMENU_REQUIRED_VERSION
- dbus-glib-1 >= $DBUS_REQUIRED_VERSION)
-+fi
-+
+ GDK_PIXBUF_REQUIRED_VERSION=2.12
+
+@@ -75,3 +66,4 @@
AC_SUBST(LIBINDICATEGTK_CFLAGS)
AC_SUBST(LIBINDICATEGTK_LIBS)
++fi
--- Makefile.am.orig 2010-09-20 23:12:10.442903362 +0200
+++ Makefile.am 2010-09-20 23:17:35.141406450 +0200
-@@ -1,12 +1,15 @@
+@@ -1,5 +1,9 @@
++if WANT_LIBINDICATEGTK
++LIBINDICATEGTK_SUBDIR = libindicate-gtk
++endif
++
SUBDIRS = \
libindicate \
- libindicate-gtk \
++ $(LIBINDICATEGTK_SUBDIR) \
bindings \
- examples \
- tests \
- docs
-
-+if WANT_LIBINDICATEGTK
-+SUBDIRS += libindicate-gtk
-+endif
-+
- EXTRA_DIST = \
- COPYING.LGPL.2.1 \
- gtk-doc.make \
diff --git a/dev-libs/libindicate/files/libindicate-0.4.91-fix-python-version.patch b/dev-libs/libindicate/files/libindicate-0.4.91-fix-python-version.patch
new file mode 100644
index 00000000000..357c6e3d049
--- /dev/null
+++ b/dev-libs/libindicate/files/libindicate-0.4.91-fix-python-version.patch
@@ -0,0 +1,23 @@
+--- configure.ac.orig 2011-01-29 21:38:44.667942630 +0100
++++ configure.ac 2011-01-29 21:42:03.892863493 +0100
+@@ -153,13 +153,14 @@
+-AM_PATH_PYTHON(2.3.5)
+-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
+-
++PYTHON_REQUIRED=2.3.5
+ PYGTK_REQUIRED=2.14.0
+ PYGOBJECT_REQUIRED=0.22
+
+-PKG_CHECK_MODULES(INDICATE_PYTHON, [pygtk-2.0 >= $PYGTK_REQUIRED
+- pygobject-2.0 >= $PYGOBJECT_REQUIRED])
++AM_PATH_PYTHON($PYTHON_REQUIRED)
++AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
++
++PKG_CHECK_MODULES(INDICATE_PYTHON, python-$PYTHON_VERSION >= $PYTHON_REQUIRED
++ pygtk-2.0 >= $PYGTK_REQUIRED
++ pygobject-2.0 >= $PYGOBJECT_REQUIRED)
+
+-INDICATE_PYTHON_LIBS+=$(python$PYTHON_VERSION-config --libs)
+ # libpyglib-2.0-python* doesn't have a pkgconfig unfortunately
+ INDICATE_PYTHON_LIBS+=" -lpyglib-2.0-python$PYTHON_VERSION"
+
diff --git a/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch
new file mode 100644
index 00000000000..323224ad1c7
--- /dev/null
+++ b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch
@@ -0,0 +1,33 @@
+--- configure.ac.orig 2011-01-29 21:02:19.646030407 +0100
++++ configure.ac 2011-01-29 21:12:00.156516831 +0100
+@@ -91,6 +91,12 @@
+ # Check for Mono support
+ ###########################
+
++AC_ARG_ENABLE([mono],
++ AC_HELP_STRING([--disable-mono], [Disable Mono bindings generation]),
++ [enable_mono=$enableval], enable_mono=auto)
++AM_CONDITIONAL([WANT_MONO], [test "x$enable_mono" != "xno"])
++
++if test "x$enable_mono" != "xno" ; then
+ MONO_REQUIRED_VERSION=1.0
+ PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
+
+@@ -141,6 +147,7 @@
+ AC_SUBST(GAPI_CODEGEN)
+ AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no)
+ AC_SUBST(GAPI_FIXUP)
++fi
+
+ ###########################
+ # Check for Python support
+--- bindings/Makefile.am.orig 2011-01-29 21:10:05.095991987 +0100
++++ bindings/Makefile.am 2011-01-29 21:11:06.349142195 +0100
+@@ -1,2 +1,6 @@
++if WANT_MONO
++MONO_SUBDIR = mono
++endif
++
+-SUBDIRS = mono python
++SUBDIRS = $(MONO_SUBDIR) python
+
diff --git a/dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch b/dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch
new file mode 100644
index 00000000000..cb058bc7e25
--- /dev/null
+++ b/dev-libs/libindicate/files/libindicate-0.4.91-optional-python.patch
@@ -0,0 +1,35 @@
+--- configure.ac.orig 2011-01-29 21:51:17.724952231 +0100
++++ configure.ac 2011-01-29 21:52:29.969745013 +0100
+@@ -153,4 +153,14 @@
+ # Check for Python support
+ ###########################
+
++AC_ARG_ENABLE([python],
++ AC_HELP_STRING([--disable-python], [Disable Python bindings generation]),
++ [enable_python=$enableval], enable_python=auto)
++AM_CONDITIONAL([WANT_PYTHON], [test "x$enable_python" != "xno"])
++
++if test "x$enable_python" != "xno" ; then
++if test "x$enable_gtk" = "xno" ; then
++ AC_MSG_ERROR([Python bindings require GTK support, please --enable-gtk])
++fi
++
+ AM_PATH_PYTHON(2.3.5)
+@@ -179,6 +185,7 @@
+ PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
+ AC_SUBST(PYGTK_CODEGEN)
+ AC_MSG_RESULT($PYGTK_CODEGEN)
++fi
+
+ ###########################
+ # GTK Doc
+--- bindings/Makefile.am.orig 2011-01-29 21:53:17.826282713 +0100
++++ bindings/Makefile.am 2011-01-29 21:53:52.951209371 +0100
+@@ -1,2 +1,6 @@
++if WANT_PYTHON
++PYTHON_SUBDIR = python
++endif
++
+-SUBDIRS = mono python
++SUBDIRS = mono $(PYTHON_SUBDIR)
+
diff --git a/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild b/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild
index 6fe0469bfab..5dd78c45738 100644
--- a/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild
+++ b/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild
@@ -1,6 +1,6 @@
# 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.4.4.ebuild,v 1.1 2011/01/17 09:34:20 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.4.4-r1.ebuild,v 1.1 2011/01/29 16:09:35 tampakrap Exp $
EAPI=2
@@ -20,7 +20,7 @@ RESTRICT="test"
# For the dependency on dev-libs/libdbusmenu see launchpad-bug #552667
RDEPEND="dev-libs/glib:2[introspection=]
dev-libs/dbus-glib
- dev-libs/libdbusmenu[introspection=]
+ <dev-libs/libdbusmenu-0.3.50[introspection=]
dev-libs/libxml2:2
x11-libs/gtk+:2
dev-python/pygtk
@@ -55,6 +55,8 @@ src_prepare() {
epatch "${FILESDIR}/${P}-fix-out-of-source-build.patch"
# Fix compilation for python != 2.6, launchpad-bug #594992
epatch "${FILESDIR}/${P}-fix-python-version.patch"
+ # Fix parallel-make for mono bindings, launchpad-bug #709954
+ epatch "${FILESDIR}/${P}-mono-parallel-make.patch"
# Drop -Werror in a release
sed -e 's:-Werror::g' -i libindicate/Makefile.am libindicate-gtk/Makefile.am || die "sed failed"
eautoreconf
diff --git a/dev-libs/libindicate/libindicate-0.4.91.ebuild b/dev-libs/libindicate/libindicate-0.4.91.ebuild
new file mode 100644
index 00000000000..39ef6b1ec57
--- /dev/null
+++ b/dev-libs/libindicate/libindicate-0.4.91.ebuild
@@ -0,0 +1,109 @@
+# 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.4.4.ebuild,v 1.1 2011/01/17 09:34:20 tampakrap Exp $
+
+EAPI=2
+
+inherit autotools eutils versionator
+
+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
+
+BROKEN_MONO="0.4.91"
+
+DESCRIPTION="Library to raise flags on DBus for other components of the desktop to pick up and visualize"
+HOMEPAGE="https://launchpad.net/libindicate/"
+SRC_URI="http://launchpad.net/${PN}/${MY_MAJOR_VERSION}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk +introspection mono python"
+
+RESTRICT="test"
+
+# For the dependency on dev-libs/libdbusmenu see launchpad-bug #552667
+RDEPEND="dev-libs/glib:2[introspection=]
+ dev-libs/dbus-glib
+ >=dev-libs/libdbusmenu-0.3.90[introspection=]
+ dev-libs/libxml2:2
+ x11-libs/gtk+:2
+ python? ( dev-python/pygtk )
+ mono? (
+ dev-dotnet/gtk-sharp
+ dev-dotnet/gtk-sharp-gapi
+ )"
+DEPEND="${RDEPEND}
+ doc? ( dev-util/gtk-doc )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
+ dev-util/gtk-doc-am
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ if use mono && has "${PV}" "${BROKEN_MONO}" ; then
+ eerror "Mono bindings (USE=mono) are broken in this version"
+ die "Mono bindings are broken in this version"
+ fi
+ if use python && ! use gtk ; then
+ eerror "Python bindings (USE=python) require GTK support (USE=gtk)"
+ die "Python bindings require USE=gtk"
+ fi
+}
+
+src_prepare() {
+ # Make python optional, launchpad-bug #643921
+ epatch "${FILESDIR}/${P}-optional-python.patch"
+ # Restore SUBDIRS to make optional-mono apply
+ sed -i bindings/Makefile.am \
+ -e 's/^SUBDIRS =.*/SUBDIRS = mono python/'
+ # Make mono optional, launchpad-bug #643922
+ epatch "${FILESDIR}/${P}-optional-mono.patch"
+ # Make SUBDIRS empty, after applying optional-python and optional-mono
+ sed -i bindings/Makefile.am \
+ -e 's/^SUBDIRS =.*/SUBDIRS = $(MONO_SUBDIR) $(PYTHON_SUBDIR)/'
+ # Make gtk optional, launchpad-bug #431311
+ epatch "${FILESDIR}/${PN}-0.4.4-optional-gtk.patch"
+ # Make doc optional, launchpad-bug #643911
+ epatch "${FILESDIR}/${PN}-0.4.4-optional-doc.patch"
+ # Do not compile mono-example by default, launchpad-bug #643912
+ epatch "${FILESDIR}/${PN}-0.4.4-optional-mono-example.patch"
+ # Do not compile examples by default, launchpad-bug #643917
+ epatch "${FILESDIR}/${PN}-0.4.4-optional-examples.patch"
+ # Fix trouble with autoreconf and m4 directory, launchpad-bug #683552
+ epatch "${FILESDIR}/${PN}-0.4.4-fix-aclocal.patch"
+ # Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552537
+ epatch "${FILESDIR}/${PN}-0.4.4-fix-introspection.patch"
+ # Fix out-of-source builds, launchpad-bug #643913
+ epatch "${FILESDIR}/${PN}-0.4.4-fix-out-of-source-build.patch"
+ # Fix python version detection, launchpad-bug #594992
+ epatch "${FILESDIR}/${P}-fix-python-version.patch"
+ # Fix parallel-make for mono bindings, launchpad-bug #709954
+ epatch "${FILESDIR}/${PN}-0.4.4-mono-parallel-make.patch"
+ # Drop -Werror in a release
+ sed -e 's:-Werror::g' -i libindicate/Makefile.am libindicate-gtk/Makefile.am || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
+ # gobject-instrospection is a nightmare in this package, it's fixable for libindicate
+ # and not for libindicate-gtk, disable it until its fixed on upstream
+ econf \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable doc) \
+ $(use_enable introspection) \
+ $(use_enable mono) \
+ $(use_enable python) \
+ ${conf} || die "configure failed"
+}
+
+src_test() {
+ emake check || die "testsuite failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS || die "dodoc failed"
+}
diff --git a/dev-libs/libindicate/metadata.xml b/dev-libs/libindicate/metadata.xml
index a1e3d21187d..1e3638548b9 100644
--- a/dev-libs/libindicate/metadata.xml
+++ b/dev-libs/libindicate/metadata.xml
@@ -6,4 +6,7 @@
<email>mrpouet@gentoo.org</email>
<name>Romain Perier</name>
</maintainer>
+ <use>
+ <flag name="introspection">Use dev-libs/gobject-introspection for introspection</flag>
+ </use>
</pkgmetadata>