polkit: gobject-introspection support.

--HG--
extra : convert_revision : 1f333165ed83423340325f57ede6bf83b2010e6f
This commit is contained in:
Juan RP 2010-04-23 12:13:57 +02:00
parent 5dadcc2028
commit 17d03d9077
4 changed files with 22 additions and 6 deletions

1
srcpkgs/gir-polkit Symbolic link
View file

@ -0,0 +1 @@
polkit

View file

@ -0,0 +1,17 @@
# Template file for 'gir-polkit'.
#
short_desc="PolicyKit introspection data"
long_desc="${long_desc}
This package contains the GObject-introspection data of PolicyKit in
binary typelib format."
Add_dependency run gir-freedesktop
Add_dependency run glib
Add_dependency run polkit
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib
}

View file

@ -5,11 +5,11 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
revision=2
replaces="PolicyKit-devel>=0"
Add_dependency run pkg-config
Add_dependency run gobject-introspection-devel
Add_dependency run gobject-introspection
Add_dependency run glib-devel
Add_dependency run expat-devel
Add_dependency run eggdbus-devel
@ -20,8 +20,6 @@ do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/girepository* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gir* ${DESTDIR}/usr/share
}

View file

@ -17,7 +17,7 @@ long_desc="
method) for unprivileged (desktop) applications."
replaces="PolicyKit>=0"
subpackages="$pkgname-devel"
subpackages="gir-polkit polkit-devel"
Add_dependency run glib
Add_dependency run glibc
Add_dependency run expat
@ -26,7 +26,7 @@ Add_dependency run pam
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build libxslt
Add_dependency build gobject-introspection-devel
Add_dependency build gobject-introspection
Add_dependency build glib-devel
Add_dependency build expat-devel
Add_dependency build eggdbus-devel