pmaports/device/testing/device-samsung-fortuna3g/APKBUILD
Raymond Hackley 6f074ad61d
samsung-*: Add USB ID (MR 3469)
Some devices have 04e8:6860 as their USB ID. Add it to deviceinfo.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2022-09-28 09:10:57 +02:00

43 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-fortuna3g
pkgdesc="Samsung Galaxy Grand Prime 3G (G530H)"
pkgver=1.1
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-fortuna3g-wcnss-nv"
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
depends="device-samsung-gprimeltexx-phosh"
mkdir "$subpkgdir"
}
sha512sums="
5c5700f3a95bd04126f5cc620c13a92c5c00b0a1e85cf518fdeaa72699ce2183a7204fb023da7c9bef05bc9a034228c3c5da05ee3eb7bfe366adfe13eaea3a1c deviceinfo
"