From 5e9e19b7a7293caeffbe6715a29272c8a81672f9 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sun, 29 Jan 2023 09:36:08 -0800 Subject: [PATCH] pine64-pinephone: add -camera subpackage (MR 3815) --- device/main/device-pine64-pinephone/APKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/device/main/device-pine64-pinephone/APKBUILD b/device/main/device-pine64-pinephone/APKBUILD index 137b588b6..0f6fc5984 100644 --- a/device/main/device-pine64-pinephone/APKBUILD +++ b/device/main/device-pine64-pinephone/APKBUILD @@ -4,21 +4,22 @@ # Co-Maintainer: Dylan Van Assche pkgname=device-pine64-pinephone pkgver=0.45 -pkgrel=0 +pkgrel=1 pkgdesc="PINE64 PinePhone" url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" subpackages=" + $pkgname-camera $pkgname-gnome $pkgname-kirigami:kirigami $pkgname-nonfree-firmware:nonfree_firmware - $pkgname-shelli $pkgname-plasma-mobile:plasma_mobile + $pkgname-sensorfw + $pkgname-shelli $pkgname-upower $pkgname-vccq-mod:vccq_mod - $pkgname-sensorfw " depends=" alsa-ucm-conf>=1.2.6.2 @@ -172,6 +173,12 @@ nonfree_firmware() { mkdir "$subpkgdir" } +camera() { + install_if="$pkgname=$pkgver-r$pkgrel postmarketos-default-camera" + depends="megapixels" + mkdir -p "$subpkgdir" +} + kirigami() { install_if="$pkgname=$pkgver-r$pkgrel kirigami2" install -Dm644 "$srcdir"/kirigami-lowpower.sh "$subpkgdir"/etc/profile.d/kirigami-lowpower.sh