pmaports/main/postmarketos-base-ui-gnome/APKBUILD
Oliver Smith 367caeb4fc
main/postmarketos-base-ui-gnome: add wallpaper_pmos subpkg (MR 4527)
Add a subpackage that sets the pmOS wallpaper, instead of always setting
the wallpaper that was added for giving GNOME Shell on Mobile a better
contrast.
2023-11-01 16:02:36 -07:00

52 lines
1.6 KiB
Text

# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-base-ui-gnome
pkgver=3
pkgrel=0
pkgdesc="Meta package for shared configuration for GNOME-based UIs"
url="https://postmarketos.org"
arch="noarch"
license="GPL-3.0-or-later"
depends="
apk-polkit-rs-openrc
dnsmasq
elogind
elogind-openrc
gnome-bluetooth
iio-sensor-proxy
iio-sensor-proxy-openrc
modemmanager
modemmanager-openrc
polkit-elogind
postmarketos-base-ui
postmarketos-base-ui-networkmanager
power-profiles-daemon
pulseaudio
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
xdg-user-dirs
"
install="$pkgname.post-install $pkgname.post-upgrade"
source="
00_postmarketos-base-ui-gnome.gschema.override
10_pmOS-wallpaper.gschema.override
"
options="!check"
subpackages="$pkgname-wallpaper-pmos:wallpaper_pmos"
package() {
install -Dm644 -t "$pkgdir"/usr/share/glib-2.0/schemas \
"$srcdir"/*.override
}
# GNOME and Phosh depend on this package to set the pmOS wallpaper. GNOME
# Mobile has a custom wallpaper because it directly draws icons and text on it
# and it would be hard to read with the default wallpaper.
wallpaper_pmos() {
depends="postmarketos-artwork-wallpapers"
amove usr/share/glib-2.0/schemas/10_pmOS-wallpaper.gschema.override
}
sha512sums="
1f68138876f2270943c88fd6f914f156692397a840f4945564cce0ed6e5d56943661fee025e0e4e0881b5df18a4f5f290086eb67be945e59abd5fe4c71cf5e67 00_postmarketos-base-ui-gnome.gschema.override
f44d4e2544d44119ed1ab9fb454a20d1fc050925a029ce10df4d7c20da3d1f461b018cdd6129272e38e50179d1e5ff71b72d3cc4dbce28113fe1b3561a2e84b5 10_pmOS-wallpaper.gschema.override
"