2021-09-30 11:03:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2022-08-16 07:34:10 +00:00
|
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
2021-09-30 11:03:50 +00:00
|
|
|
pkgname=device-fairphone-fp4
|
|
|
|
pkgdesc="Fairphone 4"
|
2024-01-08 10:59:20 +00:00
|
|
|
pkgver=2
|
2023-12-08 11:54:42 +00:00
|
|
|
pkgrel=0
|
2021-09-30 11:03:50 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2023-12-08 11:54:42 +00:00
|
|
|
bootmac
|
2021-09-30 11:03:50 +00:00
|
|
|
linux-postmarketos-qcom-sm6350
|
2022-08-04 12:49:12 +00:00
|
|
|
make-dynpart-mappings
|
2022-06-30 06:50:11 +00:00
|
|
|
mesa-vulkan-freedreno
|
2021-09-30 11:03:50 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
2022-07-28 12:07:59 +00:00
|
|
|
postmarketos-update-kernel
|
2022-10-04 09:03:13 +00:00
|
|
|
qbootctl
|
2023-12-08 11:54:42 +00:00
|
|
|
qbootctl-openrc
|
2022-10-04 09:03:13 +00:00
|
|
|
swclock-offset
|
2021-09-30 11:03:50 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2022-10-04 09:03:13 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2022-02-18 10:48:32 +00:00
|
|
|
source="
|
2022-06-30 06:50:11 +00:00
|
|
|
90-feedbackd-aw8695.rules
|
2022-02-18 10:48:32 +00:00
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-02-18 10:48:32 +00:00
|
|
|
"
|
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
|
2022-06-30 06:50:11 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/90-feedbackd-aw8695.rules \
|
|
|
|
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-aw8695.rules
|
2021-09-30 11:03:50 +00:00
|
|
|
}
|
|
|
|
|
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
|
2023-05-24 07:32:31 +00:00
|
|
|
firmware-fairphone-fp4-bluetooth
|
2021-12-30 22:06:56 +00:00
|
|
|
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="
|
2022-06-30 06:50:11 +00:00
|
|
|
2974ccc172bf1299daeb0bc746879b3a1db1fbc3a2b163a02a6554fed6ed9f733144bcf976cd2441c5664d496dcce3ae943f4314c653470dc07dda0de5ad632b 90-feedbackd-aw8695.rules
|
2023-08-02 17:06:01 +00:00
|
|
|
e223df827d1d18507197d64fc409f527514f7f76b68f784811b7b59452260dbd72133c85277b1e7df38b0058e0f16ac0d1174104a193b7f6c8dcf64577863eba deviceinfo
|
2024-01-08 10:59:20 +00:00
|
|
|
52bb7ed829caa4dcff9728bd6e3cdf118b3c7ee7dfe90df0d4e6422dd67bf3258ae2a4d2dc7599da4182fbd8eb47a0e1d20c58198dc17f2bf178b8f01a8887f7 modules-initfs
|
2021-09-30 11:03:50 +00:00
|
|
|
"
|