pmaports/device/testing/device-samsung-gprimeltecan/APKBUILD
Raymond Hackley 0b5f362f15
samsung-{cprime,gprime,heatqlte,serranove}: add rt5033 modules to initfs (MR 4402)
Add rt5033 modules to initfs for the following devices, to unlock FDE with
USB OTG keyboards:

- Samsung Galaxy Ace 4
- Samsung Galaxy Core Prime
- Samsung Galaxy Grand Prime
- Samsung Galaxy S4 Mini Value Edition

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-09-19 04:19:39 +00:00

44 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-gprimeltecan
pkgdesc="Samsung Galaxy Grand Prime CAN (G530W)"
pkgver=1.3
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 modules-initfs"
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="
5175f62fb66533dc4a89f92910065fb840f7508eaa41690f5b13a89c71d3306955d187499c85a048ab2a179290d41121f28fbbedf18f80c6128b36f97990eb08 deviceinfo
02b6d383149ba2ec3a31b206767be7ead31d9f0e7ee5cab11047000c53ccad387a118cbddb06093bca5cae3e82f884c02194de47b8e7a9c76102ac46506bb111 modules-initfs
"