pmaports/main/postmarketos-base-ui-gnome/APKBUILD

73 lines
1.9 KiB
Text
Raw Normal View History

# 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
xwayland
"
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"
_pmb_recommends="
evince
firefox-esr
font-noto
font-noto-emoji
gnome-calculator
gnome-clocks
gnome-console
gnome-contacts
gnome-software
gnome-software-plugin-apk
gnome-text-editor
lollypop
loupe
postmarketos-artwork-wallpapers-gnome
xdg-user-dirs
xdg-user-dirs-gtk
"
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
"