pmaports/device/testing/device-fairphone-fp5/APKBUILD
Luca Weiss a4153e809f
*/*: update Luca's email address (MR 5291)
[ci:ignore-count]
[ci:skip-build]
[ci:skip-vercheck]
2024-07-01 11:55:02 +02:00

56 lines
1.7 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=device-fairphone-fp5
pkgdesc="Fairphone 5"
pkgver=3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
firmware-fairphone-fp5-adreno
firmware-fairphone-fp5-adsp
firmware-fairphone-fp5-bluetooth
firmware-fairphone-fp5-cdsp
firmware-fairphone-fp5-ipa
firmware-fairphone-fp5-modem
firmware-fairphone-fp5-venus
firmware-fairphone-fp5-wpss
firmware-qcom-adreno-a660
linux-postmarketos-qcom-sc7280
make-dynpart-mappings
mkbootimg
postmarketos-base
soc-qcom-sc7280
soc-qcom-sc7280-qbootctl
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
ucm/HiFi.conf
ucm/fp5.conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
# ALSA Use Case Manager configuration
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/Fairphone/fp5 \
"$srcdir"/HiFi.conf \
"$srcdir"/fp5.conf
mkdir -p "$pkgdir"/usr/share/alsa/ucm2/conf.d/sm8250
ln -s /usr/share/alsa/ucm2/Fairphone/fp5/fp5.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/sm8250/Fairphone\ 5.conf
}
sha512sums="
3062dc927b0521512782b34b0a12739aa455794bc49c25d423cf584b6f264f2cef8629bcc70b194d0e58712a21f64aa2c3b61336a904fe9173991f42b9c94f89 deviceinfo
165ae7e1dbb5fb709e2f7b457dafa5df5b755c1199ea0f011b7e519ab49bc676ddeff92a3152629125e66d3dbbe5a70384364191000a1fdf860977e2ed43de54 modules-initfs
f39b6e5de6d9bfefc841e887b92bb5a92d02d1de46fd376ca83871b7a9cf0da5297d7201457b2bb12c302887bb0a9d328604ff910ebda8022ac71ad120b11a3c HiFi.conf
fb510ca806fb76174576218f5cb4d799e05757b3e351eec32b1406bcf22540cf27888f30e3737f016d43e3c38dea8d7418c194e12c9879df9c756d4d80ceae99 fp5.conf
"