diff options
author | David P. <megver83@parabola.nu> | 2024-03-29 15:21:47 -0400 |
---|---|---|
committer | David P. <megver83@parabola.nu> | 2024-03-29 15:21:47 -0400 |
commit | 95724f421288166a9acb2e4f64f7bc164e4c727f (patch) | |
tree | bad033ea1b5ff0bc927597fbcd2c445cb0c22728 | |
parent | 529f8d3a01c32b9b1dabed626982e7bdc794530b (diff) |
updpkg: nonsystemd/sddm 0.21.0-4.nonsystemd1
Signed-off-by: David P. <megver83@parabola.nu>
-rw-r--r-- | nonsystemd/sddm/PKGBUILD | 55 |
1 files changed, 41 insertions, 14 deletions
diff --git a/nonsystemd/sddm/PKGBUILD b/nonsystemd/sddm/PKGBUILD index 25ca87e41..0d1ee6023 100644 --- a/nonsystemd/sddm/PKGBUILD +++ b/nonsystemd/sddm/PKGBUILD @@ -4,16 +4,33 @@ # Contributor (Arch): Andrea Scarpino <andrea@archlinux.org> pkgname=sddm -pkgver=0.20.0 -pkgrel=1 +pkgver=0.21.0 +pkgrel=4 pkgrel+=.nonsystemd1 pkgdesc='QML based X11 and Wayland display manager' arch=(x86_64) arch+=(i686 armv7h) url='https://github.com/sddm/sddm' -license=(GPL) -depends=(qt5-declarative xorg-xauth xorg-server ttf-font) -makedepends=(extra-cmake-modules python-docutils qt5-tools) +license=(GPL-2.0-only) +depends=(bash + gcc-libs + glibc + libelogind + libxau + libxcb + pam + qt6-base + qt6-declarative + ttf-font + xorg-server + xorg-xauth) +makedepends=(extra-cmake-modules + python-docutils + qt5-base + qt5-declarative + qt5-tools + qt6-tools) +optdepends=('qt5-declarative: for using Qt5 themes') backup=('usr/share/sddm/scripts/Xsetup' 'usr/share/sddm/scripts/Xstop' 'etc/pam.d/sddm' @@ -21,15 +38,16 @@ backup=('usr/share/sddm/scripts/Xsetup' 'etc/pam.d/sddm-greeter') provides=(display-manager) source=(https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz - sddm.sysusers sddm.tmpfiles) -sha256sums=('467c8bd91e0d4f76d4bc4e57ab334f1f48a33478482ba9476d93b0b3d7ace9fb' - '9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f' - 'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677') + sddm.{tmpfiles,sysusers}) +sha256sums=('f895de2683627e969e4849dbfbbb2b500787481ca5ba0de6d6dfdae5f1549abf' + 'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677' + '9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f') build() { cmake -B build -S $pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \ + -DBUILD_WITH_QT6=ON \ -DDBUS_CONFIG_DIR=/usr/share/dbus-1/system.d \ -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \ -DBUILD_MAN_PAGES=ON \ @@ -37,18 +55,27 @@ build() { -DNO_SYSTEMD=yes \ -DUID_MAX=60513 cmake --build build + + cmake -B build5 -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr + cmake --build build5/src/greeter + cmake --build build5/components } 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 + DESTDIR="$pkgdir" cmake --install build5/src/greeter + DESTDIR="$pkgdir" cmake --install build5/components 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 + + # 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 + + # Unset InputMethod https://github.com/sddm/sddm/issues/952 sed -e "/^InputMethod/s/qtvirtualkeyboard//" -i "$pkgdir"/usr/lib/sddm/sddm.conf.d/default.conf + + install -Dm644 sddm.sysusers "$pkgdir"/usr/lib/sysusers.d/sddm.conf + install -Dm644 sddm.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/sddm.conf } |