2022-02-24 20:13:56 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
|
|
|
|
pkgname=device-samsung-gprimeltecan
|
|
|
|
pkgdesc="Samsung Galaxy Grand Prime CAN (G530W)"
|
2022-09-27 08:07:17 +00:00
|
|
|
pkgver=1.1
|
2022-02-24 20:13:56 +00:00
|
|
|
pkgrel=0
|
|
|
|
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"
|
|
|
|
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-gprimeltecan-wcnss-nv"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
|
|
depends="device-samsung-gprimeltexx-phosh"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-09-27 08:07:17 +00:00
|
|
|
53b1a94aa779c7eb968a5f8a7e42e3c8852494658943e618f8d5692818d8bdcc25fdc64ab447a228228bc04da2b8655424b7a6b47754fe15881bd34fca7ff14c deviceinfo
|
2022-02-24 20:13:56 +00:00
|
|
|
"
|