2022-02-26 15:02:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-j5x
|
2022-03-01 11:28:19 +00:00
|
|
|
pkgdesc="Samsung Galaxy J5 (2016)"
|
2022-03-03 16:13:15 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2022-02-26 15:02:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-03-03 16:13:15 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8916
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-msm8916
|
|
|
|
soc-qcom-msm8916-rproc
|
|
|
|
"
|
2022-02-26 15:02:05 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2022-03-03 16:13:15 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
2022-02-26 15:02:05 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2022-03-03 16:13:15 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-j5x-wcnss-nv"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-02-26 15:02:05 +00:00
|
|
|
sha512sums="
|
|
|
|
ff3a82a37dfbcc31493d5f72cc00a1ee870cda4ea325fce5d10fa74b85d946fb00f2a85d99c7a301f21128e99c23c520e22b33511241a316af1bbaa21b28295b deviceinfo
|
|
|
|
"
|