2023-08-25 13:40:17 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-fairphone-fp5
|
|
|
|
pkgdesc="Fairphone 5"
|
2023-10-06 07:36:07 +00:00
|
|
|
pkgver=0.3
|
|
|
|
pkgrel=0
|
2023-08-25 13:40:17 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2023-10-06 07:36:07 +00:00
|
|
|
bootmac
|
2023-08-25 13:40:17 +00:00
|
|
|
linux-postmarketos-qcom-sc7280
|
|
|
|
make-dynpart-mappings
|
2023-10-06 07:36:07 +00:00
|
|
|
mesa-vulkan-freedreno
|
2023-08-25 13:40:17 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
postmarketos-update-kernel
|
2023-10-06 07:36:07 +00:00
|
|
|
qbootctl
|
|
|
|
qbootctl-openrc
|
2023-08-25 13:40:17 +00:00
|
|
|
swclock-offset
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-10-06 07:36:07 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2023-08-25 13:40:17 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
gtk.css
|
|
|
|
modules-initfs
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware for Modem, WiFi, etc."
|
|
|
|
depends="
|
2023-10-06 07:36:07 +00:00
|
|
|
firmware-fairphone-fp5-adreno
|
2023-08-25 13:40:17 +00:00
|
|
|
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
|
2023-10-06 07:36:07 +00:00
|
|
|
firmware-qcom-adreno-a660
|
2023-08-25 13:40:17 +00:00
|
|
|
linux-firmware-ath11k
|
|
|
|
msm-modem
|
|
|
|
pd-mapper
|
|
|
|
tqftpserv
|
|
|
|
"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
install -Dm644 "$srcdir"/gtk.css \
|
|
|
|
"$subpkgdir"/etc/skel/.config/gtk-3.0/gtk.css
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-09-20 15:06:40 +00:00
|
|
|
c7cdcaf8e9a07ca8c1e01f527b4151f27b7bac0800b9b0fe0bfa09890ebbd0152ead81b78852be25cd5ccb14ea3777aca0e786d72c586e39e6c2b2731e9661bc deviceinfo
|
2023-08-25 13:40:17 +00:00
|
|
|
71cd1ffa1ae56874a0751ef9eb91f4bccbe2009c1287b2116f3c09e99e70e436ed3d3ef27684dd318c8ff140cdccd7428580788659b7c6b2a3d8df6948149171 gtk.css
|
2023-10-06 07:36:07 +00:00
|
|
|
165ae7e1dbb5fb709e2f7b457dafa5df5b755c1199ea0f011b7e519ab49bc676ddeff92a3152629125e66d3dbbe5a70384364191000a1fdf860977e2ed43de54 modules-initfs
|
2023-08-25 13:40:17 +00:00
|
|
|
"
|