2021-11-14 17:13:14 +00:00
|
|
|
# Reference: https://postmarketos.org/uipkg
|
2021-05-09 19:08:56 +00:00
|
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
2019-05-21 13:21:07 +00:00
|
|
|
pkgname=postmarketos-ui-sway
|
2023-01-18 07:20:17 +00:00
|
|
|
pkgver=3.1
|
2024-07-23 19:23:27 +00:00
|
|
|
pkgrel=4
|
2019-05-21 13:21:07 +00:00
|
|
|
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)"
|
|
|
|
url="https://postmarketos.org"
|
2021-05-09 19:08:56 +00:00
|
|
|
arch="noarch"
|
2019-10-24 00:29:01 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2021-05-09 19:08:56 +00:00
|
|
|
subpackages="$pkgname-logo-key-alt:logo_key_alt"
|
2021-05-15 17:28:57 +00:00
|
|
|
depends="
|
2024-07-23 19:23:27 +00:00
|
|
|
bluez
|
2021-06-09 23:34:05 +00:00
|
|
|
dnsmasq
|
2021-05-15 17:28:57 +00:00
|
|
|
elogind
|
2021-11-12 07:41:17 +00:00
|
|
|
polkit-elogind
|
2021-06-09 23:34:05 +00:00
|
|
|
postmarketos-base-ui
|
2022-12-31 15:53:45 +00:00
|
|
|
postmarketos-base-ui-networkmanager
|
2020-07-20 08:50:36 +00:00
|
|
|
sway
|
2024-04-07 22:55:22 +00:00
|
|
|
swaybg
|
2021-05-09 19:08:56 +00:00
|
|
|
tinydm
|
2020-07-20 08:50:36 +00:00
|
|
|
"
|
2021-05-09 19:08:56 +00:00
|
|
|
_pmb_recommends="
|
2020-10-07 08:06:41 +00:00
|
|
|
dmenu
|
2021-05-09 19:08:56 +00:00
|
|
|
foot
|
2020-10-07 08:06:41 +00:00
|
|
|
postmarketos-artwork-wallpapers
|
2020-07-20 08:50:36 +00:00
|
|
|
swayidle
|
2020-10-07 08:06:41 +00:00
|
|
|
swaylock
|
2021-03-19 14:04:46 +00:00
|
|
|
xwayland
|
2020-07-20 08:50:36 +00:00
|
|
|
"
|
2021-10-24 09:59:20 +00:00
|
|
|
_pmb_groups="
|
|
|
|
seat
|
|
|
|
"
|
2024-07-23 19:23:27 +00:00
|
|
|
subpackages="$pkgname-openrc"
|
2021-05-09 19:08:56 +00:00
|
|
|
source="
|
|
|
|
etc-sway-config
|
|
|
|
etc-sway-config.d-00-logo-key.conf
|
|
|
|
"
|
2021-03-31 10:16:33 +00:00
|
|
|
options="!check pmb:gpu-accel" # no testsuite
|
2021-05-09 19:08:56 +00:00
|
|
|
replaces="sway"
|
2019-05-21 13:21:07 +00:00
|
|
|
|
|
|
|
package() {
|
2021-05-09 19:08:56 +00:00
|
|
|
install -Dm644 "$srcdir"/etc-sway-config \
|
|
|
|
"$pkgdir"/etc/sway/config
|
|
|
|
}
|
|
|
|
|
|
|
|
logo_key_alt() {
|
|
|
|
install -Dm644 "$srcdir"/etc-sway-config.d-00-logo-key.conf \
|
|
|
|
"$subpkgdir"/etc/sway/config.d/00-logo-key.conf
|
2019-05-21 13:21:07 +00:00
|
|
|
}
|
2021-05-09 19:08:56 +00:00
|
|
|
|
2024-07-23 19:23:27 +00:00
|
|
|
openrc() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
|
|
depends="
|
|
|
|
bluez-openrc
|
|
|
|
elogind-openrc
|
|
|
|
modemmanager-openrc
|
|
|
|
seatd-openrc
|
|
|
|
tinydm-openrc
|
|
|
|
"
|
|
|
|
|
|
|
|
mkdir -p "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-05-09 19:08:56 +00:00
|
|
|
sha512sums="
|
2023-01-18 07:20:17 +00:00
|
|
|
6caaaa313d509a54eaa43e6bc24739f5d8241689dbed268885f6645e79567e3cd9f41d0d8fa43d52fe99587a1d1b6f1669cfecc88220d9ea409feb4f4cd43d3c etc-sway-config
|
2021-05-09 19:08:56 +00:00
|
|
|
889f10fb247396a11375057f7e81eae0f0b21ec90cd47964e02ba24fc0f6db8bb7678545e3272149535cf0bb6a2019456cc59d06a9564ce4a1797bb434013b78 etc-sway-config.d-00-logo-key.conf
|
|
|
|
"
|