aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-04-27 09:49:26 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-28 19:17:52 +0000
commita642935218e57d1f87fafd15e1074dc747781986 (patch)
treeeb500ae1c2affd38c17bb47987b19e1bc2fb669d /testing/lightdm
parentd92a2c9a0b622f44d2aaf575be4e73efb178ee28 (diff)
downloadaports-a642935218e57d1f87fafd15e1074dc747781986.tar.bz2
aports-a642935218e57d1f87fafd15e1074dc747781986.tar.xz
testing/lightdm: depend on standard themes and use elogind
Without a default theme lightdm can't display buttons etc. correctly. Without the icon theme there are no icons (such as the ones for the different sessions). Optionally use elogind for session tracking, if it's installed. Closes GH-7378
Diffstat (limited to 'testing/lightdm')
-rw-r--r--testing/lightdm/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/lightdm/APKBUILD b/testing/lightdm/APKBUILD
index c8904c7417..29ae57df0f 100644
--- a/testing/lightdm/APKBUILD
+++ b/testing/lightdm/APKBUILD
@@ -2,12 +2,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lightdm
pkgver=1.28.0
-pkgrel=1
+pkgrel=2
pkgdesc="A cross-desktop display manager"
url="https://www.freedesktop.org/wiki/Software/LightDM"
arch="all"
license="GPL-3.0-or-later"
-depends="dbus xinit accountsservice"
+depends="dbus xinit accountsservice gnome-themes-standard lightdm-gtk-greeter
+ adwaita-icon-theme"
makedepends="linux-pam-dev gtk+3.0-dev libxext-dev libxklavier-dev
autoconf automake libtool gobject-introspection-dev itstool
libgcrypt-dev libxml2-utils intltool qt5-qtbase-dev"
@@ -43,6 +44,7 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
+ sed -i "s/pam_systemd/pam_elogind/" "$pkgdir"/etc/pam.d/*
ln -s /etc/X11/xinit/Xsession "$pkgdir"/usr/bin/lightdm-session
install -Dm755 "$srcdir"/lightdm.initd "$pkgdir"/etc/init.d/lightdm
install -o lightdm -g lightdm -d "$pkgdir"/var/lib/lightdm-data