mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
lightdm: remove systemd build option (#1736)
This commit is contained in:
parent
e4df82d27c
commit
86ab0a8008
3 changed files with 4 additions and 27 deletions
|
@ -1,14 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Light Display Manager
|
|
||||||
Documentation=man:lightdm(1)
|
|
||||||
Conflicts=getty@tty1.service
|
|
||||||
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/lightdm
|
|
||||||
Restart=always
|
|
||||||
IgnoreSIGPIPE=no
|
|
||||||
BusName=org.freedesktop.DisplayManager
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
Alias=display-manager.service
|
|
|
@ -1,2 +0,0 @@
|
||||||
d /run/lightdm 0711 lightdm lightdm
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lightdm'
|
# Template file for 'lightdm'
|
||||||
pkgname=lightdm
|
pkgname=lightdm
|
||||||
version=1.14.2
|
version=1.14.2
|
||||||
revision=1
|
revision=2
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
|
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
|
||||||
|
@ -14,15 +14,12 @@ homepage="https://launchpad.net/lightdm"
|
||||||
distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
|
distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
|
||||||
checksum=28b078979870782aaa1a9167945e1dab19cc6d699747af3d0c0c9a3bdb8dbba1
|
checksum=28b078979870782aaa1a9167945e1dab19cc6d699747af3d0c0c9a3bdb8dbba1
|
||||||
|
|
||||||
# both install /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
|
build_options="gir"
|
||||||
conflicts="sddm>=0"
|
|
||||||
|
|
||||||
build_options="gir systemd"
|
|
||||||
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
|
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
|
||||||
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
||||||
gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
||||||
libgcrypt-devel accountsservice-devel $(vopt_if systemd systemd-devel)"
|
libgcrypt-devel accountsservice-devel"
|
||||||
depends="dbus accountsservice $(vopt_if systemd '' 'ConsoleKit2 upower0')"
|
depends="dbus accountsservice ConsoleKit2 upower0"
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/lightdm/keys.conf
|
/etc/lightdm/keys.conf
|
||||||
/etc/lightdm/lightdm.conf
|
/etc/lightdm/lightdm.conf
|
||||||
|
@ -44,10 +41,6 @@ fi
|
||||||
post_install() {
|
post_install() {
|
||||||
# Remove provided init file and use our own.
|
# Remove provided init file and use our own.
|
||||||
rm -rf ${DESTDIR}/etc/init
|
rm -rf ${DESTDIR}/etc/init
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/lightdm.service 644 usr/lib/systemd/system
|
|
||||||
vinstall ${FILESDIR}/lightdm.tmpfiles 644 usr/lib/tmpfiles.d lightdm.conf
|
|
||||||
fi
|
|
||||||
vsv lightdm
|
vsv lightdm
|
||||||
vinstall ${FILESDIR}/lightdm.rules 644 usr/share/polkit-1/rules.d
|
vinstall ${FILESDIR}/lightdm.rules 644 usr/share/polkit-1/rules.d
|
||||||
vinstall ${FILESDIR}/xsession 755 etc/lightdm Xsession
|
vinstall ${FILESDIR}/xsession 755 etc/lightdm Xsession
|
||||||
|
|
Loading…
Add table
Reference in a new issue