2024-04-18 21:13:26 +00:00
|
|
|
# Maintainer: Newbyte <newbyte@postmarketos.org>
|
2021-04-06 18:25:42 +00:00
|
|
|
pkgname=postmarketos-tweaks
|
2024-04-18 21:13:08 +00:00
|
|
|
pkgver=0.13.2
|
2021-04-06 18:25:42 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Tweak tool for phone UIs"
|
|
|
|
url="https://gitlab.com/postmarketOS/postmarketos-tweaks"
|
|
|
|
arch="noarch"
|
|
|
|
license="GPL-3.0-or-later"
|
2022-05-12 10:04:49 +00:00
|
|
|
subpackages="$pkgname-phosh:phosh $pkgname-pinephone:pinephone $pkgname-sxmo-x11:sxmo"
|
2021-04-06 18:25:42 +00:00
|
|
|
depends="python3 py3-gobject3 py3-yaml gtk+3.0 libhandy1"
|
|
|
|
makedepends="py3-setuptools glib-dev libhandy1-dev meson"
|
2021-04-28 23:52:34 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2021-04-06 18:25:42 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/postmarketos-tweaks/-/archive/$pkgver/postmarketos-tweaks-$pkgver.tar.gz"
|
|
|
|
options="!check" # There's no testsuite
|
|
|
|
|
|
|
|
build() {
|
|
|
|
abuild-meson . output
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
|
|
|
|
amove usr/share/postmarketos-tweaks/phosh.yml
|
|
|
|
}
|
|
|
|
|
2021-04-28 23:52:34 +00:00
|
|
|
pinephone() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel device-pine64-pinephone"
|
|
|
|
|
|
|
|
amove usr/share/postmarketos-tweaks/pinephone.yml
|
|
|
|
}
|
|
|
|
|
2022-05-12 10:04:49 +00:00
|
|
|
sxmo() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-sxmo-de-dwm"
|
|
|
|
|
|
|
|
amove usr/share/postmarketos-tweaks/sxmo-x11.yml
|
|
|
|
}
|
|
|
|
|
2021-07-30 15:16:40 +00:00
|
|
|
sha512sums="
|
2024-04-18 21:13:08 +00:00
|
|
|
9dee339609712b14970d15ad4c1bfccd246c3cea132b0a6a825262ae7bb7d04e9b03761e5f7832d36d5bfa5a9c20d893b713c0433316338ff0ad50d7b80ee6c0 postmarketos-tweaks-0.13.2.tar.gz
|
2021-07-30 15:16:40 +00:00
|
|
|
"
|