summaryrefslogtreecommitdiff
path: root/dev-libs/libindicate
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libindicate')
-rw-r--r--dev-libs/libindicate/Manifest3
-rw-r--r--dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch8
-rw-r--r--dev-libs/libindicate/libindicate-12.10.1-r3.ebuild75
3 files changed, 81 insertions, 5 deletions
diff --git a/dev-libs/libindicate/Manifest b/dev-libs/libindicate/Manifest
index cc32fc1c6473..72638aa52a24 100644
--- a/dev-libs/libindicate/Manifest
+++ b/dev-libs/libindicate/Manifest
@@ -1,4 +1,5 @@
-AUX libindicate-0.6.1-no-mono.patch 1880 BLAKE2B 574530674faed376ff1b1cfafa614bfa77b9e6ee764008fdf2ff6c5dea769d92752689a06fcfe735d87bf9120e5ee41a3c1bed1bf2e6620dcb41c82bfe12c517 SHA512 da2e8aa7423fd2b74289a9d60e81f6cfc9a10027cf196d9f91507bf3334e993f500e5673549af5608920c571f25ce60a73b85965a7ac631fa8917a51fc23e238
+AUX libindicate-0.6.1-no-mono.patch 1888 BLAKE2B 60cb0434e3974cf474fca729be08defcaa01d713e4039001f4994bcaae0a657fd04b0c2eafa447c25c2e56d92bddd39f2b17915fdb7d26b916eae3e3315588d7 SHA512 b2623349c139321403e285ce384191f2741b6216dd87ce5e05a439bd175a2846bca111ade729e87322a413bfc518fdfc2546274114fe5726de171b51d3be7cb1
DIST libindicate-12.10.1.tar.gz 550378 BLAKE2B 9966c645c2538bf9246221e138771ce38e7f74629ae2365cd803a5e26372922cd5194ca1449f79a35f2bcd391e3ee2056183ab53b11fa8d92a8b2c258ead9c6d SHA512 4dcb5f292153210bc15a05f117101429da77a60b8b05b569baddf0e9043d852c2dccb0d5a6adbdf4d4a1b6f06b33c61e242bb4bcb376e3d96563bda591685c06
EBUILD libindicate-12.10.1-r2.ebuild 1771 BLAKE2B f4ab052c5565cb706cc07823be9af74812fde2165df10ffc03fff584f491e69e2e075f4e4d0e3b59f3fc8857b360fa3fe12e01a4ec817473a3181a79469d99e2 SHA512 077028d8606670c8ebbf2ec8c49aeff9cfc4c14c20a332f50c3ea517d1bdd53469fe23fd85e621a1da156953463f622b9e04d698f1337b844560e8ea340fffb4
+EBUILD libindicate-12.10.1-r3.ebuild 1686 BLAKE2B 8243be1670a95a6a8a4416fa93921c98efbc2120aa37f756792e63f71172a309ba5b28d70c03113a1478953ec8735bdd38d76e9198d522b353a012e4f848fedd SHA512 cc0477aca3f4c2f53337fc08bd4d28bd1c1c39fa5b853b1cfa5eda6f6e0217b24174ce83614de4c3d8bee6ff641fb48dd4ad5c4a4ce51009cebe90d05269fc03
MISC metadata.xml 328 BLAKE2B e528a6922cf244dd2e8e3387f539f9922378395dadf028852a3e17120186a4cdd82c89b29802ef5a0698a35737294733fbf9a717c3c31af90cb634ee5aa5cea9 SHA512 fc8169dee128e50da93fe6baec57989b4b2e0a59e36661328ae7bd5bf1db1ea5bcc08efb72e6ba2d0e0d9a18870144066a5c77a1f275801a4fc98953cf891a3b
diff --git a/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch
index 349828a6058c..1743f861f4ba 100644
--- a/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch
+++ b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch
@@ -1,7 +1,7 @@
Temporary patch to disable mono until new gtk-sharp is in tree wrt bug #382491
---- bindings/Makefile.am
-+++ bindings/Makefile.am
+--- a/bindings/Makefile.am
++++ b/bindings/Makefile.am
@@ -1,9 +1,5 @@
SUBDIRS =
@@ -12,8 +12,8 @@ Temporary patch to disable mono until new gtk-sharp is in tree wrt bug #382491
if HAS_PYTHON
SUBDIRS += python
endif
---- configure.ac
-+++ configure.ac
+--- a/configure.ac
++++ b/configure.ac
@@ -124,61 +124,6 @@
AC_PATH_PROG([VALA_API_GEN], [vapigen])
diff --git a/dev-libs/libindicate/libindicate-12.10.1-r3.ebuild b/dev-libs/libindicate/libindicate-12.10.1-r3.ebuild
new file mode 100644
index 000000000000..73526a89128e
--- /dev/null
+++ b/dev-libs/libindicate/libindicate-12.10.1-r3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VALA_MIN_API_VERSION="0.16"
+VALA_USE_DEPEND="vapigen"
+inherit autotools flag-o-matic vala xdg-utils
+
+DESCRIPTION="Library to raise flags on DBus for other components of the desktop"
+HOMEPAGE="https://launchpad.net/libindicate"
+SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 LGPL-3"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk +introspection"
+
+RESTRICT="test" # consequence of the -no-mono.patch
+
+RDEPEND="
+ dev-libs/dbus-glib
+ dev-libs/glib:2
+ dev-libs/libdbusmenu[introspection?]
+ dev-libs/libxml2
+ gtk? (
+ dev-libs/libdbusmenu[gtk3]
+ x11-libs/gtk+:3
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1 )
+"
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ app-text/gnome-doc-utils
+ dev-util/gtk-doc-am
+ gnome-base/gnome-common
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.6.1-no-mono.patch )
+
+src_prepare() {
+ default
+ xdg_environment_reset
+ vala_src_prepare
+
+ sed -i \
+ -e "s:vapigen:vapigen-$(vala_best_api_version):" \
+ -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
+ configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ append-flags -Wno-error
+
+ # python bindings are only for GTK+-2.x
+ econf \
+ --disable-silent-rules \
+ --disable-static \
+ $(use_enable gtk) \
+ $(use_enable introspection) \
+ --disable-python \
+ --disable-scrollkeeper \
+ --with-gtk=3
+}
+
+src_install() {
+ # work around failing parallel installation (-j1)
+ # until a better fix is available. (bug #469032)
+ emake -j1 DESTDIR="${D}" install
+ einstalldocs
+ find "${D}" -name '*.la' -delete || die
+}