ConsoleKit2: use a git snapshot to fix regressions introduced with 1.0.1.

This commit is contained in:
Juan RP 2016-03-16 11:07:15 +01:00
parent 538ce60e30
commit b8a554424c
1 changed files with 10 additions and 5 deletions

View File

@ -1,20 +1,20 @@
# Template file for 'ConsoleKit2' # Template file for 'ConsoleKit2'
pkgname=ConsoleKit2 pkgname=ConsoleKit2
version=1.0.1 version=1.0.1.99
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="ac_cv_file__sys_class_tty_tty0_active=yes configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
--with-rundir=/run --enable-udev-acl --enable-pam-module --with-rundir=/run --enable-udev-acl --enable-pam-module
--with-pam-module-dir=/usr/lib/security" --with-pam-module-dir=/usr/lib/security"
hostmakedepends="automake libtool pkg-config gettext-devel glib-devel" hostmakedepends="git automake libtool pkg-config gettext-devel glib-devel"
makedepends="acl-devel libudev-devel polkit-devel glib-devel libX11-devel pam-devel libcgmanager-devel" makedepends="acl-devel libudev-devel polkit-devel glib-devel libX11-devel pam-devel libcgmanager-devel"
depends="dbus cgmanager" depends="dbus cgmanager"
short_desc="A framework for defining and tracking users, login sessions, and seats" short_desc="A framework for defining and tracking users, login sessions, and seats"
maintainer="Enno Boland <gottox@voidlinux.eu>" maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://consolekit2.github.io/ConsoleKit2/" homepage="http://consolekit2.github.io/ConsoleKit2/"
license="GPL-2" license="GPL-2"
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2" #distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
checksum=741c53321a0792b165f386c73c668af25615accab6d15983290103348a3ff00c #checksum=741c53321a0792b165f386c73c668af25615accab6d15983290103348a3ff00c
provides="ConsoleKit-${version}_${revision}" provides="ConsoleKit-${version}_${revision}"
replaces="ConsoleKit>=0" replaces="ConsoleKit>=0"
@ -25,6 +25,11 @@ make_dirs="
/usr/lib/ConsoleKit/run-session.d 0755 root root /usr/lib/ConsoleKit/run-session.d 0755 root root
/usr/lib/ConsoleKit/run-seat.d 0755 root root" /usr/lib/ConsoleKit/run-seat.d 0755 root root"
do_fetch() {
git clone https://github.com/ConsoleKit2/ConsoleKit2 ${wrksrc}
cd ${wrksrc}
git checkout f23a9dd7a40baff59e7e2ccdb65f82317e88ff15
}
pre_configure() { pre_configure() {
autoreconf -fi autoreconf -fi
} }