2021-09-30 11:03:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-fairphone-fp4
|
|
|
|
pkgdesc="Fairphone 4"
|
2021-12-30 22:06:56 +00:00
|
|
|
pkgver=0.2
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=1
|
2021-09-30 11:03:50 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-sm6350
|
|
|
|
mesa-dri-gallium
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2021-12-30 22:06:56 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2021-09-30 11:03:50 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2021-12-30 22:06:56 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware for Modem, WiFi, etc."
|
|
|
|
depends="
|
|
|
|
firmware-fairphone-fp4-adreno
|
|
|
|
firmware-fairphone-fp4-adsp
|
|
|
|
firmware-fairphone-fp4-cdsp
|
|
|
|
firmware-fairphone-fp4-ipa
|
|
|
|
firmware-fairphone-fp4-modem
|
|
|
|
firmware-fairphone-fp4-wlan
|
|
|
|
linux-firmware-ath10k
|
|
|
|
msm-modem
|
|
|
|
msm-modem-uim-selection
|
|
|
|
pd-mapper
|
|
|
|
tqftpserv
|
|
|
|
"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-30 11:03:50 +00:00
|
|
|
sha512sums="
|
2021-12-30 22:06:56 +00:00
|
|
|
f6cbf5a753757cd72df609ff9c45172f5d7f8266d9514275fe3d9f56218abb74ee94bc240c97aa728e2a82f4ccf65b1d6ec608eb0c84d5ba6274e631cf6a019a deviceinfo
|
2021-09-30 11:03:50 +00:00
|
|
|
"
|