summaryrefslogtreecommitdiff
path: root/dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch
diff options
context:
space:
mode:
authorDennis Schridde <devurandom@gmx.net>2011-02-05 22:41:15 +0100
committerDennis Schridde <devurandom@gmx.net>2011-02-05 22:41:15 +0100
commit2579ba6fc74c17d300b74db72182b027efdabcc8 (patch)
tree5d8d3410b20453087ee4771770a4d712a592f9a1 /dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch
parent890bf2bd501ac2088077d6bf4bbde6bd4a1f482e (diff)
downloadkde-2579ba6fc74c17d300b74db72182b027efdabcc8.tar.gz
kde-2579ba6fc74c17d300b74db72182b027efdabcc8.tar.bz2
kde-2579ba6fc74c17d300b74db72182b027efdabcc8.zip
[dev-libs/libindicate] Improve patches based on upstream request, revbump
(Portage version: 2.2.0_alpha20/git/Linux x86_64, signed Manifest commit with key 50ED256E)
Diffstat (limited to 'dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch')
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.4-optional-gtk.patch22
1 files changed, 18 insertions, 4 deletions
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 90272e341da..2c5b2592a3b 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
@@ -4,17 +4,31 @@
+AC_ARG_ENABLE([gtk],
+ AC_HELP_STRING([--disable-gtk], [Disable libindicate-gtk library]),
-+ [enable_gtk=$enableval], enable_gtk=auto)
++ [enable_gtk=$enableval], [enable_gtk=auto])
+AM_CONDITIONAL([WANT_LIBINDICATEGTK], [test "x$enable_gtk" != "xno"])
+
-+if test "x$enable_gtk" != "xno" ; then
++AS_IF([test "x$enable_gtk" != "xno"],[
GDK_PIXBUF_REQUIRED_VERSION=2.12
-@@ -75,3 +66,4 @@
+@@ -74,4 +80,7 @@
+- dbus-glib-1 >= $DBUS_REQUIRED_VERSION)
++ dbus-glib-1 >= $DBUS_REQUIRED_VERSION,
++ [have_gtk=yes]
++)
AC_SUBST(LIBINDICATEGTK_CFLAGS)
AC_SUBST(LIBINDICATEGTK_LIBS)
-+fi
++])
+@@ -271,2 +280,7 @@
+- GObject Introspection: $enable_introspection
+-])
++ GObject Introspection: $enable_introspection
++])
++
++AS_IF([test "x$have_gtk" = "xyes"],
++ [AC_MSG_NOTICE([ Gtk: yes])],
++ [AC_MSG_NOTICE([ Gtk: no])]
++)
--- Makefile.am.orig 2010-09-20 23:12:10.442903362 +0200
+++ Makefile.am 2010-09-20 23:17:35.141406450 +0200
@@ -1,5 +1,9 @@