aboutsummaryrefslogtreecommitdiffstats
path: root/community/sddm
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-07 09:35:53 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-07 13:04:12 -0300
commiteb40603a035d01156e32b73b6a095fbb6f7c7579 (patch)
tree2d565bf433ff82b8352b40e838c1e4ce3289c8cd /community/sddm
parent907f747ace4c35d4420e3b4e6ed2fc18fed59bfa (diff)
downloadaports-eb40603a035d01156e32b73b6a095fbb6f7c7579.tar.bz2
aports-eb40603a035d01156e32b73b6a095fbb6f7c7579.tar.xz
community/sddm: use supervise-daemon to run SDDM
Diffstat (limited to 'community/sddm')
-rw-r--r--community/sddm/APKBUILD14
-rw-r--r--[-rwxr-xr-x]community/sddm/sddm.initd (renamed from community/sddm/sddm.openrc)14
2 files changed, 15 insertions, 13 deletions
diff --git a/community/sddm/APKBUILD b/community/sddm/APKBUILD
index ff0639182d..530bd090df 100644
--- a/community/sddm/APKBUILD
+++ b/community/sddm/APKBUILD
@@ -2,13 +2,15 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sddm
pkgver=0.18.1
-pkgrel=4
+pkgrel=5
pkgdesc="Simple Desktop Display Manager"
url="https://github.com/sddm/sddm/"
arch="all"
license="GPL-2.0-only"
depends="elogind xorg-server dbus-x11 upower"
-makedepends="cmake extra-cmake-modules qt5-qtbase-dev libxcb-dev upower-dev elogind-dev linux-pam-dev qt5-qtdeclarative-dev qt5-qttools-dev utmps-dev py-docutils"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev libxcb-dev upower-dev
+ elogind-dev linux-pam-dev qt5-qtdeclarative-dev qt5-qttools-dev utmps-dev
+ py-docutils"
subpackages="$pkgname-doc $pkgname-lang $pkgname-openrc"
install="sddm.pre-install"
langdir="/usr/share/sddm/translations"
@@ -16,7 +18,7 @@ pkgusers="sddm"
pkggroups="sddm"
source="$pkgname-$pkgver.tar.gz::https://github.com/sddm/$pkgname/archive/v$pkgver.tar.gz
pam-path-fix.patch
- sddm.openrc
+ sddm.initd
"
build() {
@@ -39,11 +41,9 @@ check() {
package() {
DESTDIR="$pkgdir" make install
-
- mkdir -p "$pkgdir"/etc/init.d
- install -Dm755 "$srcdir"/sddm.openrc "$pkgdir"/etc/init.d/sddm
+ install -Dm755 "$srcdir"/sddm.initd "$pkgdir"/etc/init.d/sddm
}
sha512sums="18d5b9ee5e4d022ac86e10cde1c70c5475aeaff86d41d8b9897bc26953f5b6d042a7fef1d6e727865ebeb003a730455656765ba53350a665891113afd4dfa7d8 sddm-0.18.1.tar.gz
f0b4eb7ef0581701157f9decc637629156f36f6711b9a4bae517f94d7a1df614c81bbd891c918f07ac50e2a3d1519c43ccb9eefd80282c95dd79eca0e8d90904 pam-path-fix.patch
-4e6df7faf39cf4d302ad121c38287e580d8252bc46736d4ec5fae723860a45df3f103698b90826f761e361d89c824281399b0c33fcc46bcb5de8c160aa8535b7 sddm.openrc"
+9a72f97d3de5d66ede593263e35e4030a2720371782c7767f444b1bbae3c1a358b349cb43be389814713b92d8b27174293bbdbd5b1d1c837abef1b6a6d082f98 sddm.initd"
diff --git a/community/sddm/sddm.openrc b/community/sddm/sddm.initd
index 4b16eb3398..6562259226 100755..100644
--- a/community/sddm/sddm.openrc
+++ b/community/sddm/sddm.initd
@@ -1,11 +1,13 @@
#!/sbin/openrc-run
-depends() {
- needs localmount
-}
+supervisor=supervise-daemon
+name="Display Manager"
description="SDDM Display Manager"
-command="/usr/bin/sddm"
+
+command=/usr/bin/sddm
command_args="$sddm_opts"
-command_background="true"
-pidfile="/var/run/sddm.pid"
+
+depends() {
+ needs localmount
+}