From ecc32d630b3ee27c7a3455920f5f963a784b82a9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 4 Nov 2010 14:37:19 +0100 Subject: [PATCH] polkit-gnome: added gir- subpkg, bumprev. --- srcpkgs/gir-polkit-gnome | 1 + srcpkgs/polkit-gnome/polkit-gnome-devel.template | 5 ++++- srcpkgs/polkit-gnome/template | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/gir-polkit-gnome diff --git a/srcpkgs/gir-polkit-gnome b/srcpkgs/gir-polkit-gnome new file mode 120000 index 00000000000..ab161b4d14c --- /dev/null +++ b/srcpkgs/gir-polkit-gnome @@ -0,0 +1 @@ +polkit-gnome \ No newline at end of file diff --git a/srcpkgs/polkit-gnome/polkit-gnome-devel.template b/srcpkgs/polkit-gnome/polkit-gnome-devel.template index 9b8f2b1c155..5f56047e24d 100644 --- a/srcpkgs/polkit-gnome/polkit-gnome-devel.template +++ b/srcpkgs/polkit-gnome/polkit-gnome-devel.template @@ -1,10 +1,12 @@ # Template file for 'polkit-gnome-devel'. # -short_desc="${short_desc} (development files)" +short_desc="${short_desc} - development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run pkg-config Add_dependency run intltool Add_dependency run polkit-devel @@ -21,4 +23,5 @@ do_install() mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/gir* ${DESTDIR}/usr/share } diff --git a/srcpkgs/polkit-gnome/template b/srcpkgs/polkit-gnome/template index 5ea96d0f4ed..19fd0251563 100644 --- a/srcpkgs/polkit-gnome/template +++ b/srcpkgs/polkit-gnome/template @@ -3,7 +3,7 @@ pkgname=polkit-gnome version=0.99 distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.bz2" build_style=gnu_configure -configure_args="--localstatedir=/var --disable-introspection" +configure_args="--localstatedir=/var" short_desc="PolicyKit integration for the GNOME desktop" maintainer="Juan RP " checksum=73c4d04aa89d9a9687f3650327c0ec1cba704e9d5b7fc193958fa81d621208ba @@ -17,9 +17,8 @@ long_desc=" This package contains the glue to integrate with the GNOME desktop." -subpackages="$pkgname-devel" +subpackages="gir-$pkgname $pkgname-devel" -# XXX: introspection support. Add_dependency run glibc Add_dependency run polkit Add_dependency run glib @@ -44,3 +43,4 @@ Add_dependency build fontconfig-devel Add_dependency build gdk-pixbuf-devel Add_dependency build libpng-devel Add_dependency build gtk+-devel +Add_dependency build gobject-introspection