aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDidier Roche <didier.roche@canonical.com>2011-07-25 18:04:06 +0200
committerDidier Roche <didier.roche@canonical.com>2011-07-25 18:04:06 +0200
commit07ff9d838965d81d3f32151e96146d45912217fe (patch)
tree701fd1a559e3006f85f555d962c4b8e9e24aadda /debian/rules
parent823c6520143c987eb609371afb7b815b375027c4 (diff)
downloadlibdbusmenu-07ff9d838965d81d3f32151e96146d45912217fe.tar.gz
libdbusmenu-07ff9d838965d81d3f32151e96146d45912217fe.tar.bz2
libdbusmenu-07ff9d838965d81d3f32151e96146d45912217fe.zip
* debian/rules:
- avoid making indicator-appmenu* depends on gtk2/3 by dpkg-shlibdeps. The library doesn't hurt if gtk isn't installed and that enable pre-installlation of the indicator stack without requiring the full gtk stack being there without any gtk app installed.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index d53875d..07f6d3a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_FLAGS_gtk3 = --with-gtk=3
DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --enable-gtk-doc --enable-introspection
+DEB_DH_SHLIBDEPS_ARGS_libdbusmenu-gtk4 = -- -xlibgtk2.0-0
+DEB_DH_SHLIBDEPS_ARGS_libdbusmenu-gtk3-4 = -- -xlibgtk-3-0
+
LDFLAGS += -Wl,-z,defs -Wl,--as-needed
debian/stamp-autotools/gtk2: cdbs_configure_flags += $(DEB_CONFIGURE_FLAGS_gtk2)