polkit: update to 0.118.
Also add checkdepends.
This commit is contained in:
parent
a0847dc404
commit
a786086c75
1 changed files with 8 additions and 14 deletions
|
@ -1,23 +1,24 @@
|
||||||
# Template file for 'polkit'
|
# Template file for 'polkit'
|
||||||
pkgname=polkit
|
pkgname=polkit
|
||||||
version=0.116
|
version=0.118
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_helper="gir"
|
build_helper=gir
|
||||||
configure_args="$(vopt_enable gir introspection) -disable-static
|
configure_args="$(vopt_enable gir introspection) -disable-static
|
||||||
--with-authfw=pam --with-os-type=void --with-mozjs=mozjs-60.0"
|
--with-authfw=pam --with-os-type=void"
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/etc/polkit-1/rules.d 0700 polkitd polkitd
|
/etc/polkit-1/rules.d 0700 polkitd polkitd
|
||||||
/usr/share/polkit-1/rules.d 0700 polkitd polkitd"
|
/usr/share/polkit-1/rules.d 0700 polkitd polkitd"
|
||||||
hostmakedepends="autoconf-archive automake gettext-devel glib-devel
|
hostmakedepends="autoconf-archive automake gettext-devel glib-devel
|
||||||
gobject-introspection gtk-doc intltool libtool pkg-config"
|
gobject-introspection gtk-doc intltool libtool pkg-config"
|
||||||
makedepends="elogind-devel mozjs60-devel pam-devel"
|
makedepends="elogind-devel mozjs78-devel pam-devel"
|
||||||
|
checkdepends="python3-dbus python3-dbusmock"
|
||||||
short_desc="Authorization Toolkit"
|
short_desc="Authorization Toolkit"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://www.freedesktop.org/wiki/Software/polkit"
|
homepage="https://www.freedesktop.org/wiki/Software/polkit"
|
||||||
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.gz"
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.gz"
|
||||||
checksum=88170c9e711e8db305a12fdb8234fac5706c61969b94e084d0f117d8ec5d34b1
|
checksum=6d54e984e7072339f0d3147179e16e34e5fe0705158f259a765d772dcf78956b
|
||||||
system_accounts="polkitd"
|
system_accounts="polkitd"
|
||||||
#replaces="polkit-elogind>=0"
|
#replaces="polkit-elogind>=0"
|
||||||
#provides="polkit-elogind-${version}_${revision}"
|
#provides="polkit-elogind-${version}_${revision}"
|
||||||
|
@ -29,14 +30,7 @@ build_options_default="gir"
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
# Drop requirement of /sys/fs/cgroup/systemd test in configure... WTF.
|
# Drop requirement of /sys/fs/cgroup/systemd test in configure... WTF.
|
||||||
sed -e 's,/sys/fs/cgroup/systemd/,/sys/fs/cgroup,g' -i configure
|
vsed -e 's,/sys/fs/cgroup/systemd/,/sys/fs/cgroup,g' -i configure
|
||||||
}
|
|
||||||
|
|
||||||
post_configure() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
sed -e "s#-include \(/usr/include/mozjs-52/js/RequiredDefines\.h\)#-include ${XBPS_CROSS_BASE}\1#" \
|
|
||||||
-i $(find -name Makefile)
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue