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"
|
2023-05-24 07:32:31 +00:00
|
|
|
pkgver=1.1
|
2022-10-04 09:03:13 +00:00
|
|
|
pkgrel=0
|
2021-09-30 11:03:50 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
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
|
|
|
|
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
|
|
|
|
gtk.css
|
2022-04-03 09:04:48 +00:00
|
|
|
phoc.ini
|
2022-02-18 10:48:32 +00:00
|
|
|
"
|
2021-12-30 22:06:56 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2022-02-18 10:48:32 +00:00
|
|
|
$pkgname-phosh
|
2021-12-30 22:06:56 +00:00
|
|
|
"
|
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"
|
|
|
|
}
|
|
|
|
|
2022-02-18 10:48:32 +00:00
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
install -Dm644 "$srcdir"/gtk.css \
|
|
|
|
"$subpkgdir"/etc/skel/.config/gtk-3.0/gtk.css
|
2022-04-03 09:04:48 +00:00
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
2022-02-18 10:48:32 +00:00
|
|
|
}
|
|
|
|
|
2021-09-30 11:03:50 +00:00
|
|
|
sha512sums="
|
2022-06-30 06:50:11 +00:00
|
|
|
2974ccc172bf1299daeb0bc746879b3a1db1fbc3a2b163a02a6554fed6ed9f733144bcf976cd2441c5664d496dcce3ae943f4314c653470dc07dda0de5ad632b 90-feedbackd-aw8695.rules
|
2023-03-03 10:30:24 +00:00
|
|
|
7a54c90ebe68b2fe1c59ef3b94bfdac0e0e7833eb881d8dcff86d61dc0d45a606d498aa10cefcc68a82bdbc4130091e036867fdb429ed314b9b46100c55a21d7 deviceinfo
|
2022-02-18 10:48:32 +00:00
|
|
|
25a93dcbe6dbc6cff24f57cbf5539bc475c5fe0f6bf5e8374c7032b9c38a939bef0aa0cde1707afcc16b1ec2d0859c03c6ee92d80d8048d1c6adc6e25178b85f gtk.css
|
2022-04-03 09:04:48 +00:00
|
|
|
65f74d29ab318b23f7ac8923a3661f2c4130049273a8c6be234ed2c8e00810b6a1254b54cf0932e42850a6d48f821dcd038900fbb836feeddfab2759afffae38 phoc.ini
|
2021-09-30 11:03:50 +00:00
|
|
|
"
|