device-purism-librem5: depend on millipixels (MR 5644)

default-cam is going away, depend on this camera app because it's probably more featureful than the app any UI recommends
This commit is contained in:
Clayton Craft 2024-09-27 11:46:42 -07:00 committed by Pablo Correa Gómez
parent 86a3bb3908
commit bbad3f7777
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -4,7 +4,7 @@
# Contributor: Clayton Craft <clayton@craftyguy.net>
pkgname=device-purism-librem5
pkgver=4
pkgrel=1
pkgrel=2
_confver=64
_purismrel=1
# <librem5-base ver>.<purism release>
@ -24,6 +24,7 @@ depends="
iw
linux-purism-librem5>=6.3
mesa-egl
millipixels
postmarketos-base
u-boot-librem5
u-boot-tools
@ -52,7 +53,6 @@ source="
udev/70-wifi-pm.rules
"
subpackages="
$pkgname-camera
$pkgname-gnome
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-pulseaudio
@ -66,6 +66,7 @@ subpackages="
# TODO: remove "replaces" when upstream ucm has proper L5 support...
replaces="alsa-ucm-conf"
builddir="$srcdir/librem5-base-pureos-$_purismver"
build() {
@ -76,18 +77,13 @@ build() {
gnome() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-base-ui-gnome"
depends="
wys
"
install -D -m644 "$builddir"/default/org.freedesktop.ModemManager1.pkla \
"$subpkgdir"/var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.ModemManager1.pkla
}
camera() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-default-camera"
depends="millipixels"
mkdir -p "$subpkgdir"
}
pulseaudio() {
pkgdesc="Pulseaudio support for the Librem 5"
install_if="$pkgname pulseaudio"