polkit-elogind: update to 0.113.0.2018.03.19.

This commit is contained in:
Enno Boland 2018-03-19 21:43:04 +01:00
parent 4ebfa2f569
commit b672595987
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 14 additions and 6 deletions

View File

@ -1,18 +1,20 @@
# Template file for 'polkit-elogind'
pkgname=polkit-elogind
_pkgname=polkit
version=0.113
version=0.113.0.2018.03.19
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection)
--disable-static --with-authfw=pam --with-os-type=void --with-mozjs=mozjs-17.0"
--disable-static --with-authfw=pam --with-os-type=void --with-mozjs=mozjs-24.0"
short_desc="Authorization Toolkit"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.freedesktop.org/wiki/Software/polkit"
license="GPL-2"
distfiles="${FREEDESKTOP_SITE}/${_pkgname}/releases/${_pkgname}-${version}.tar.gz"
checksum=e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81
wrksrc="${_pkgname}-${version}"
#distfiles="${FREEDESKTOP_SITE}/${_pkgname}/releases/${_pkgname}-${version}.tar.gz"
#checksum=e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81
#wrksrc="${_pkgname}-${version}"
wrksrc=$pkgname
_hash=29ba7afba1b79a325183a71966f35926dfdf506e
provides="${_pkgname}-${version}_${revision}"
replaces="polkit>=0"
@ -31,8 +33,14 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
do_fetch() {
git clone https://anongit.freedesktop.org/git/polkit || :
cd $pkgname
git checkout $_hash
}
pre_configure() {
autoreconf -fi
NOCONFIGURE=1 ./autogen.sh
# Drop requirement of /sys/fs/cgroup/systemd test in configure... WTF.
sed -e 's,/sys/fs/cgroup/systemd/,/sys/fs/cgroup,g' -i configure
}