]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
polkit: Enable gobject-introspection.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 8 Oct 2010 18:29:55 +0000 (20:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 8 Oct 2010 18:29:55 +0000 (20:29 +0200)
We cannot build man pages because of the lack of docbook and so
we let them out for now.

pkgs/core/polkit/polkit.nm

index f11dc4c3a2b6a1a6905b971841ffd87639bd67b7..9149d73ba2db3a68e7c66369e35247b680d90d49 100644 (file)
@@ -34,8 +34,8 @@ PKG_URL        = http://www.freedesktop.org/wiki/Software/PolicyKit
 PKG_LICENSE    = LGPLv2+
 PKG_SUMMARY    = PolicyKit Authorization Framework.
 
-PKG_BUILD_DEPS+= eggdbus-devel expat-devel intltool gettext glib2-devel \
-       pam-devel perl-xml-parser pkg-config
+PKG_BUILD_DEPS+= eggdbus-devel expat-devel gobject-introspection-devel \
+       intltool gettext glib2-devel pam-devel perl-xml-parser pkg-config
 
 define PKG_DESCRIPTION
        PolicyKit is a toolkit for defining and handling authorizations. \
@@ -51,5 +51,9 @@ CONFIGURE_OPTIONS += \
        --sysconfdir=/etc \
        --libexecdir=/usr/lib/polkit-1 \
        --localstatedir=/var \
-       --disable-introspection \
+       --enable-introspection \
        --disable-static
+
+define STAGE_PREPARE_CMDS
+       cd $(DIR_APP) && sed -e "s/^SUBDIRS.*/SUBDIRS = actions data src po/" -i Makefile*
+endef