2022-10-14 11:42:16 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-nokia-argon
|
|
|
|
pkgdesc="Nokia 8110 4G"
|
2024-03-14 19:34:56 +00:00
|
|
|
pkgver=4
|
2024-02-24 10:15:36 +00:00
|
|
|
pkgrel=0
|
2022-10-14 11:42:16 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="GPL-2.0-only"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2022-12-26 13:03:44 +00:00
|
|
|
linux-postmarketos-qcom-msm8916
|
2022-10-14 11:42:16 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
2022-12-26 13:03:44 +00:00
|
|
|
soc-qcom-msm8909
|
|
|
|
soc-qcom-msm8916-rproc
|
2022-10-14 11:42:16 +00:00
|
|
|
"
|
2022-12-26 13:03:44 +00:00
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
2022-10-14 11:42:16 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
makedepends="devicepkg-dev mipi-dbi-cmd"
|
2022-12-26 13:03:44 +00:00
|
|
|
_panel="nokia,argon-gc9305-v2-panel"
|
2022-10-14 11:42:16 +00:00
|
|
|
source="
|
|
|
|
00-nokia-argon-display.files
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-12-26 13:03:44 +00:00
|
|
|
$_panel.txt
|
|
|
|
"
|
2022-10-14 11:42:16 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
mkdir -p "$builddir"
|
2022-12-26 13:03:44 +00:00
|
|
|
mipi-dbi-cmd "$builddir"/"$_panel".bin \
|
|
|
|
"$srcdir"/"$_panel".txt
|
2022-10-14 11:42:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
# Package display init sequence
|
2022-12-26 13:03:44 +00:00
|
|
|
install -Dm644 "$builddir"/"$_panel".bin -t \
|
2022-10-14 11:42:16 +00:00
|
|
|
"$pkgdir"/lib/firmware/
|
|
|
|
install -Dm644 "$srcdir"/00-nokia-argon-display.files -t \
|
2023-02-18 23:21:34 +00:00
|
|
|
"$pkgdir"/usr/share/mkinitfs/files/
|
2022-10-14 11:42:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="
|
|
|
|
firmware-qcom-adreno-a300
|
|
|
|
msm-firmware-loader
|
|
|
|
firmware-nokia-argon-venus
|
|
|
|
firmware-nokia-argon-wcnss-nv
|
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
66302bb5d83c4ba155ff62405fb9a374ab76e1912411310b1ad75e00c216b6868da4e2b6f3987c97146389aa44b2b2c26f0ca0819566be45c9d0d2dd1d3b72f1 00-nokia-argon-display.files
|
2024-02-24 10:15:36 +00:00
|
|
|
69b04093b06d7aa615eaf585931ff6c16a4800476fa6b461d015318cd45fff224abf88019f4de2e966c0ad469b6bb4e6d5720e481d226cf691f8fc1b1c0cc99b deviceinfo
|
2024-03-14 19:34:56 +00:00
|
|
|
749fa5911f53f65c1a18a8768d374d1ea39ef47ed61146a5f79d669250788501434a059cfff65b83cb54eb7273841686b4a3a04f20aaec6ec7f742e14623c8bc modules-initfs
|
2022-12-26 13:03:44 +00:00
|
|
|
dd82fd4732694a24c91339b5c5fbb0bf485b3b2da3c17c11b72a02e90e9827c367504c99894556dd8273f927408cdb187325e5f3b9ea9e4a82e3cb3798cb2816 nokia,argon-gc9305-v2-panel.txt
|
2022-10-14 11:42:16 +00:00
|
|
|
"
|