From f640f14456d710aca488ac63af40385267d4b3bf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 24 Jan 2015 10:17:36 +0100 Subject: [PATCH] cinnamon-screensaver: update to 2.4.0. --- .../files/cinnamon-screensaver.pam | 13 ++----------- srcpkgs/cinnamon-screensaver/template | 17 ++++++----------- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/srcpkgs/cinnamon-screensaver/files/cinnamon-screensaver.pam b/srcpkgs/cinnamon-screensaver/files/cinnamon-screensaver.pam index d11cf99f791..b0cc3c3e9b1 100644 --- a/srcpkgs/cinnamon-screensaver/files/cinnamon-screensaver.pam +++ b/srcpkgs/cinnamon-screensaver/files/cinnamon-screensaver.pam @@ -1,12 +1,3 @@ #%PAM-1.0 -auth requisite pam_nologin.so -auth required pam_env.so -auth required pam_unix.so -auth optional pam_gnome_keyring.so -account required pam_unix.so -session required pam_unix.so --session optional pam_gnome_keyring.so auto_start --session optional pam_ck_connector.so nox11 --session optional pam_systemd.so -session required pam_limits.so -password required pam_unix.so +auth substack system-login +-auth optional pam_gnome_keyring.so diff --git a/srcpkgs/cinnamon-screensaver/template b/srcpkgs/cinnamon-screensaver/template index b2213691725..78da854415b 100644 --- a/srcpkgs/cinnamon-screensaver/template +++ b/srcpkgs/cinnamon-screensaver/template @@ -1,14 +1,14 @@ # Template file for 'cinnamon-screensaver' pkgname=cinnamon-screensaver -version=2.2.4 -revision=3 -patch_args="-Np1" +version=2.4.0 +revision=1 short_desc="The Cinnamon screensaver" +build_options="systemd" build_style=gnu-configure configure_args=" --disable-static --disable-schemas-compile --with-mit-ext $(vopt_enable systemd)" hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection - gettext-devel intltool git" + gettext-devel glib-devel intltool" makedepends="dbus-glib-devel libgnomekbd-devel cinnamon-desktop-devel libXxf86misc-devel pam-devel $(vopt_if systemd systemd-devel)" depends="cinnamon-translations desktop-file-utils hicolor-icon-theme" @@ -16,17 +16,12 @@ conf_files="/etc/pam.d/${pkgname}" maintainer="Juan RP " license="GPL-3" homepage="http://cinnamon.linuxmint.com/" - -build_options="systemd" - -do_fetch() { - git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version} -} +distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" +checksum=fc3a4a1ea9c15db7c5c9fa0fce5e6cf60215778e19c96a19f202ab2afbb9aad8 pre_configure() { NOCONFIGURE=1 ./autogen.sh } - post_install() { vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname} }