[arch-commits] Commit in sddm/repos (4 files)

Antonio Rojas arojas at archlinux.org
Tue Nov 3 10:52:01 UTC 2020


    Date: Tuesday, November 3, 2020 @ 10:52:00
  Author: arojas
Revision: 399208

archrelease: copy trunk to testing-x86_64

Added:
  sddm/repos/testing-x86_64/
  sddm/repos/testing-x86_64/PKGBUILD
    (from rev 399207, sddm/trunk/PKGBUILD)
  sddm/repos/testing-x86_64/sddm.sysusers
    (from rev 399207, sddm/trunk/sddm.sysusers)
  sddm/repos/testing-x86_64/sddm.tmpfiles
    (from rev 399207, sddm/trunk/sddm.tmpfiles)

---------------+
 PKGBUILD      |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 sddm.sysusers |    2 ++
 sddm.tmpfiles |    1 +
 3 files changed, 51 insertions(+)

Copied: sddm/repos/testing-x86_64/PKGBUILD (from rev 399207, sddm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-11-03 10:52:00 UTC (rev 399208)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=sddm
+pkgver=0.19.0
+pkgrel=1
+pkgdesc='QML based X11 and Wayland display manager'
+arch=(x86_64)
+url='https://github.com/sddm/sddm'
+license=(GPL)
+depends=(qt5-declarative xorg-xauth xorg-server)
+makedepends=(extra-cmake-modules python-docutils qt5-tools)
+backup=('usr/share/sddm/scripts/Xsetup'
+        'usr/share/sddm/scripts/Xstop'
+        'etc/pam.d/sddm'
+        'etc/pam.d/sddm-autologin'
+        'etc/pam.d/sddm-greeter')
+provides=(display-manager)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
+        sddm.sysusers sddm.tmpfiles)
+sha256sums=('e76da1f13d5ad5e0179e3fec57543126044339405ef19c397e105e0807bd4e41'
+            '9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f'
+            'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
+        -DDBUS_CONFIG_DIR=/usr/share/dbus-1/system.d \
+        -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \
+        -DBUILD_MAN_PAGES=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 sddm.sysusers "$pkgdir"/usr/lib/sysusers.d/sddm.conf
+  install -Dm644 sddm.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/sddm.conf
+
+  install -d "$pkgdir"/usr/lib/sddm/sddm.conf.d
+  "$pkgdir"/usr/bin/sddm --example-config > "$pkgdir"/usr/lib/sddm/sddm.conf.d/default.conf
+# Don't set PATH in sddm.conf
+  sed -r 's|DefaultPath=.*|DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin|g' -i "$pkgdir"/usr/lib/sddm/sddm.conf.d/default.conf
+# Unset InputMethod https://github.com/sddm/sddm/issues/952
+  sed -e "/^InputMethod/s/qtvirtualkeyboard//" -i "$pkgdir"/usr/lib/sddm/sddm.conf.d/default.conf
+}

Copied: sddm/repos/testing-x86_64/sddm.sysusers (from rev 399207, sddm/trunk/sddm.sysusers)
===================================================================
--- testing-x86_64/sddm.sysusers	                        (rev 0)
+++ testing-x86_64/sddm.sysusers	2020-11-03 10:52:00 UTC (rev 399208)
@@ -0,0 +1,2 @@
+u sddm - "Simple Desktop Display Manager" /var/lib/sddm
+m sddm video

Copied: sddm/repos/testing-x86_64/sddm.tmpfiles (from rev 399207, sddm/trunk/sddm.tmpfiles)
===================================================================
--- testing-x86_64/sddm.tmpfiles	                        (rev 0)
+++ testing-x86_64/sddm.tmpfiles	2020-11-03 10:52:00 UTC (rev 399208)
@@ -0,0 +1 @@
+d /var/lib/sddm 0755 sddm sddm



More information about the arch-commits mailing list