polkit, updated to version 0.98

This commit is contained in:
Giuseppe Calaà 2010-10-17 17:48:00 +00:00
parent 7af61e2e15
commit b9c9372800
3 changed files with 45 additions and 5 deletions

View File

@ -1,5 +1,8 @@
# $Id: PKGBUILD 72186 2010-03-13 19:06:23Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# Maintainer: Giuseppe Calà <jiveaxe@gmail.com>
#
pkgname=polkit
pkgver=0.98
@ -9,21 +12,27 @@ arch=(i686 x86_64)
license=('LGPL')
url="http://www.freedesktop.org/wiki/Software/Policykit"
depends=('glib2>=2.25.15' 'pam' 'expat>=2.0.1')
makedepends=('intltool>=0.41.1' 'gtk-doc>=1.15' 'gobject-introspection>=0.9.5')
makedepends=('intltool>=0.41.1' 'gobject-introspection>=0.9.5' 'docbook-xsl')
replaces=('policykit')
options=('!libtool')
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
polkit-git-fixes.patch
polkit.pam)
polkit.pam
disable-gtk-doc.patch
configure-fix.patch)
md5sums=('96e583a1177ba5436f034a2fee55f5fa'
'c5aaa13d6eeda5cec224b273acba9420'
'6564f95878297b954f0572bc1610dd15')
'6564f95878297b954f0572bc1610dd15'
'ad88086ef2b04fec5b69118ca3d47801'
'9649eaeac5293903f9e4831c41bcd6c1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/polkit-git-fixes.patch"
patch -Np1 -i "${srcdir}/disable-gtk-doc.patch"
libtoolize --force
autoreconf
patch -Np1 -i "${srcdir}/configure-fix.patch"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
--disable-static --disable-gtk-doc || return 1

View File

@ -0,0 +1,12 @@
diff -Naur polkit-0.98-orig/configure polkit-0.98/configure
--- polkit-0.98-orig/configure 2010-10-17 17:33:00.000000000 +0000
+++ polkit-0.98/configure 2010-10-17 17:36:49.732999997 +0000
@@ -12426,7 +12426,7 @@
fi
-GTK_DOC_CHECK(1.3)
+#GTK_DOC_CHECK(1.3)
#### gcc warning flags

View File

@ -0,0 +1,19 @@
diff -Naur polkit-0.98-orig/docs/polkit/Makefile.am polkit-0.98/docs/polkit/Makefile.am
--- polkit-0.98-orig/docs/polkit/Makefile.am 2010-08-06 17:25:37.000000000 +0000
+++ polkit-0.98/docs/polkit/Makefile.am 2010-10-17 17:28:13.943999998 +0000
@@ -80,11 +80,11 @@
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=
-if ENABLE_GTK_DOC
-include $(top_srcdir)/gtk-doc.make
-else
+#if ENABLE_GTK_DOC
+#include $(top_srcdir)/gtk-doc.make
+#else
CLEANFILES =
-endif
+#endif
CLEANFILES += *~ \
polkit-1-scan.* \