main/pmos-base-ui: add postmarketos-default-camera dummy package (MR 3815)

This is a dummy package that other packages can install_if on to install
the appropriate camera app for the device/UI. It's intended to be added
to pmb_recommends= for pmos-ui-* packages that want to have a camera by
default.
This commit is contained in:
Clayton Craft 2023-02-01 00:14:38 -08:00 committed by Oliver Smith
parent 69773b8cc5
commit 8c29eaed6e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,7 +1,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-base-ui
pkgver=6
pkgrel=2
pkgrel=3
pkgdesc="Meta package for minimal postmarketOS UI base"
url="https://postmarketos.org"
arch="noarch"
@ -26,6 +26,7 @@ subpackages="
$pkgname-pulseaudio
$pkgname-bluez-obexd:_obexd
$pkgname-networkmanager
postmarketos-default-camera:_default_camera
"
install="$pkgname.post-install $pkgname.post-upgrade"
replaces="
@ -128,6 +129,13 @@ networkmanager() {
amove etc/NetworkManager/conf.d/hostname-mode.conf
}
_default_camera() {
# dummy package for camera app, packages can install_if on this to install
# the appropriate camera app for that device/UI
mkdir "$subpkgdir"
}
sha512sums="
3c9ae7415f4891bee8595166ed6a42cb577a837f741c6b5409d193558626348b41516888a01d0c4895282c5f4e9a1ff838c19712888750b2ef68429bb4b42ee3 rootfs-etc-NetworkManager-conf.d-hostname-mode.conf
e5d049db1d82c510bab9246208b51b8ec2711d008d67792fc10d4c0b65ed4dece7b5ae3c3dd28a8539d177b6849c1f921cb9fef3d2c7bee0355451f7b4757ec6 rootfs-etc-chrony-chrony.conf