cinnamon-screensaver: add systemd build option (off).

This commit is contained in:
Juan RP 2014-08-30 20:36:56 +02:00
parent 1999927db8
commit e9e13b3e18

View file

@ -1,22 +1,24 @@
# Template file for 'cinnamon-screensaver' # Template file for 'cinnamon-screensaver'
pkgname=cinnamon-screensaver pkgname=cinnamon-screensaver
version=2.2.4 version=2.2.4
revision=1 revision=2
patch_args="-Np1" patch_args="-Np1"
short_desc="The Cinnamon screensaver" short_desc="The Cinnamon screensaver"
build_style=gnu-configure build_style=gnu-configure
configure_args=" --disable-static --disable-schemas-compile configure_args=" --disable-static --disable-schemas-compile --with-mit-ext
--enable-systemd --with-mit-ext" $(vopt_enable systemd)"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel intltool which git" gettext-devel intltool git"
makedepends="dbus-glib-devel libgnomekbd-devel cinnamon-desktop-devel makedepends="dbus-glib-devel libgnomekbd-devel cinnamon-desktop-devel
libXxf86misc-devel pam-devel systemd-devel desktop-file-utils hicolor-icon-theme" libXxf86misc-devel pam-devel $(vopt_if systemd systemd-devel)"
depends="cinnamon-translations desktop-file-utils hicolor-icon-theme" depends="cinnamon-translations desktop-file-utils hicolor-icon-theme"
conf_files="/etc/pam.d/${pkgname}" conf_files="/etc/pam.d/${pkgname}"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3" license="GPL-3"
homepage="http://cinnamon.linuxmint.com/" homepage="http://cinnamon.linuxmint.com/"
build_options="systemd"
do_fetch() { do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version} git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
} }