From 8c29eaed6e86aa2c6844e1341be0c9ef33fc9c96 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 1 Feb 2023 00:14:38 -0800 Subject: [PATCH] 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. --- main/postmarketos-base-ui/APKBUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/main/postmarketos-base-ui/APKBUILD b/main/postmarketos-base-ui/APKBUILD index dcbb3c690..014571f21 100644 --- a/main/postmarketos-base-ui/APKBUILD +++ b/main/postmarketos-base-ui/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Clayton Craft 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