about summary refs log tree commit diff
path: root/debian/rules
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-04-09 06:45:23 +0200
committerMichael Biebl <biebl@debian.org>2011-04-09 06:47:26 +0200
commit00746854b90059d42d35aee5cceba06c906b0770 (patch)
tree3807a2013de396f94cbfd8bd7d0ce3f70237b77f /debian/rules
parent90b0676bfbe3ad7605cf30cf19679e049375ef3e (diff)
Enable gobject introspection support
  - Add Build-Depends on libgirepository1.0-dev (>= 0.9.12),
    gobject-introspection (>= 0.9.12-4~), gir1.2-glib-2.0 and
    gir1.2-freedesktop.
  - Add package gir1.2-networkmanager-1.0 containing the typelib files.
  - Add Depends on gir1.2-networkmanager-1.0 (= ${binary:Version}) to
    libnm-glib-dev and libnm-util-dev according to the new policy.
  - Install gir files in libnm-glib-dev.install and libnm-util-dev.install.
  - Call dh_girepository for libnm-glib4 and libnm-util2 in debian/rules.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index ccaa90f3..0ba1c806 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@ override_dh_auto_configure:
 		--with-systemdsystemunitdir=/lib/systemd/system \
 		--with-crypto=gnutls \
 		--disable-more-warnings \
+		--enable-introspection \
 		--with-docs
 
 override_dh_install:
@@ -31,4 +32,9 @@ override_dh_makeshlibs:
 override_dh_strip:
 	dh_strip --dbg-package=network-manager-dbg
 
+override_dh_shlibdeps:
+	dh_shlibdeps
+	dh_girepository -plibnm-util2
+	dh_girepository -plibnm-glib4
+
 override_dh_auto_test: