2022-03-31 16:57:37 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
|
|
|
|
pkgname=device-samsung-gprimeltexx
|
|
|
|
pkgdesc="Samsung Galaxy Grand Prime (G530FZ)"
|
2023-01-30 16:52:06 +00:00
|
|
|
pkgver=1.3
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=1
|
2022-03-31 16:57:37 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-03-31 16:57:37 +00:00
|
|
|
phoc.ini
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-gprimeltexx-wcnss-nv"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
007e3b804cf6c15aefc4173312048e1c0ec80b61bb5bceba4e1413525f66e61d1a173e188439d4d9ce5e71a5fb82724af0b0174d59664ac0b3f9bb6043951dfd deviceinfo
|
2023-01-30 16:52:06 +00:00
|
|
|
02b6d383149ba2ec3a31b206767be7ead31d9f0e7ee5cab11047000c53ccad387a118cbddb06093bca5cae3e82f884c02194de47b8e7a9c76102ac46506bb111 modules-initfs
|
2022-03-31 16:57:37 +00:00
|
|
|
dbc8422fc00c757963dd016f26dd45d8c05c8c46b7e60cd11dd154550e166568cfdcee60678ee3542d27c2f8c373b71a1c3ec33da0260509fe4133ecd06a27bc phoc.ini
|
|
|
|
"
|