While the modem has worked for quite a while on mainline, for some reason some dependencies were never added to the device package. And add the firmware for the audio amplifier on Fairphone 3 since it's also supposed to work now. And install qbootctl (and enable it by default) to mark the current slot as successful to not get stuck in the bootloader after a couple of reboots. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
55 lines
1.3 KiB
Bash
55 lines
1.3 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
|
|
pkgname=device-fairphone-fp3
|
|
pkgdesc="Fairphone 3"
|
|
pkgver=5
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
firmware-fairphone-fp3-adreno
|
|
firmware-fairphone-fp3-adsp
|
|
firmware-fairphone-fp3-audio
|
|
firmware-fairphone-fp3-modem
|
|
firmware-fairphone-fp3-venus
|
|
firmware-fairphone-fp3-wcnss
|
|
firmware-qcom-adreno-a530
|
|
linux-postmarketos-qcom-msm8953
|
|
lk2nd-msm8953
|
|
mkbootimg
|
|
msm-modem-uim-selection
|
|
postmarketos-base
|
|
qbootctl
|
|
rmtfs
|
|
soc-qcom-msm8953
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-openrc"
|
|
source="deviceinfo modules-initfs"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
openrc() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
depends="
|
|
openrc
|
|
qbootctl-openrc
|
|
"
|
|
|
|
mkdir -p "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
085493abe7ca996dc78f4ca75e532f17a90831167cf4af4352f7c5451fc8383e3cfd5e62971c17465a2ec6b0298adb5702f869d73749f1eca048bfce6e0e8b7f deviceinfo
|
|
c56e5b11dc5ecaba8bb5ff0e06a1f2746942eebb0336257e44e673e849f440a6800e5b30e297e5827fb540778e4400daa31b76f521b3e804279c0c2b3329267f modules-initfs
|
|
"
|