polkit-gnome: build against gtk+3, move static lib into -devel subpkg.

--HG--
branch : gnome3
This commit is contained in:
Juan RP 2011-03-03 10:29:30 +01:00
parent 80613235d7
commit 104c21d353
2 changed files with 8 additions and 4 deletions

View file

@ -5,6 +5,8 @@ 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
@ -14,12 +16,13 @@ Add_dependency run pango-devel
Add_dependency run cairo-devel
Add_dependency run freetype-devel
Add_dependency run fontconfig-devel
Add_dependency run gtk+-devel
Add_dependency run gtk+3-devel
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gir* ${DESTDIR}/usr/share
}

View file

@ -1,9 +1,10 @@
# Template file for 'polkit-gnome'
pkgname=polkit-gnome
version=0.100
revision=1
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var"
configure_args="--localstatedir=/var --with-gtk=3.0"
short_desc="PolicyKit integration for the GNOME desktop"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d52bbcf6cdb7b0be499e6b220653dccaf0fed860806bdfd8112ef1fd1c26653d
@ -29,7 +30,7 @@ Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gdk-pixbuf
Add_dependency run libpng
Add_dependency run gtk+
Add_dependency run gtk+3
Add_dependency build pkg-config
Add_dependency build intltool
@ -42,5 +43,5 @@ Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build libpng-devel
Add_dependency build gtk+-devel
Add_dependency build gtk+3-devel
Add_dependency build gobject-introspection