lxdm: add consolekit build option (on).

This commit is contained in:
Juan RP 2014-08-31 15:40:54 +02:00
parent 7332f1408f
commit 2f07dc8532
3 changed files with 10 additions and 7 deletions

View file

@ -4,6 +4,7 @@ desc_option_backtrace="Enable support for backtraces via libunwind"
desc_option_bluetooth="Enable support for bluetooth" desc_option_bluetooth="Enable support for bluetooth"
desc_option_cdparanoia="Enable support for CD audio (cdparanoia)" desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"
desc_option_colord="Enable support for colord" desc_option_colord="Enable support for colord"
desc_option_consolekit="Enable support for ConsoleKit"
desc_option_cups="Enable support for CUPS" desc_option_cups="Enable support for CUPS"
desc_option_dbus="Enable support for D-BUS" desc_option_dbus="Enable support for D-BUS"
desc_option_dri2="Enable support for the DRI2 extension" desc_option_dri2="Enable support for the DRI2 extension"

View file

@ -1,10 +1,11 @@
auth requisite pam_nologin.so auth requisite pam_nologin.so
auth required pam_env.so auth required pam_env.so
auth required pam_unix.so auth required pam_unix.so
auth optional pam_gnome_keyring.so -auth optional pam_gnome_keyring.so
account required pam_unix.so account required pam_unix.so
session required pam_limits.so session required pam_limits.so
session required pam_unix.so session required pam_unix.so
session optional pam_systemd.so -session optional pam_systemd.so
session optional pam_gnome_keyring.so auto_start -session optional pam_ck_connector.so nox11
-session optional pam_gnome_keyring.so auto_start
password required pam_unix.so password required pam_unix.so

View file

@ -1,11 +1,13 @@
# Template file for 'lxdm' # Template file for 'lxdm'
pkgname=lxdm pkgname=lxdm
version=0.5.0 version=0.5.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-pam --with-systemdsystemunitdir=/usr/lib/systemd/system" build_options="consolekit"
build_options_default="consolekit"
configure_args="$(vopt_enable consolekit) --with-pam"
hostmakedepends="pkg-config intltool" hostmakedepends="pkg-config intltool"
makedepends="pam-devel gtk+-devel iso-codes" makedepends="pam-devel gtk+-devel iso-codes $(vopt_if consolekit ConsoleKit-devel)"
conf_files=" conf_files="
/etc/lxdm/LoginReady /etc/lxdm/LoginReady
/etc/lxdm/PostLogin /etc/lxdm/PostLogin
@ -17,7 +19,6 @@ conf_files="
/etc/lxdm/lxdm.conf /etc/lxdm/lxdm.conf
/etc/pam.d/lxdm" /etc/pam.d/lxdm"
system_groups="lxdm" system_groups="lxdm"
systemd_services="lxdm.service off"
short_desc="GUI login manager for LXDE" short_desc="GUI login manager for LXDE"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3" license="GPL-3"