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-09-27 08:07:17 +00:00
|
|
|
pkgver=3.1
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=3
|
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"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
a37da5a1189419895cccb330e8edbb185ff204c4a215888f1237f833e8bdd3204ed39e5edda563c9d1dfef3419a48121b2ea8a1a0d096e62a63e2e930b690b28 deviceinfo
|
|
|
|
72ccbf2f59a72d5299339f9db3cdf4e84d4b20c756b549c11d2e94b0bd4b433d993d64c2908e2536ff369363813586691af28c2a5c0e1aecf7a848e8b455cb8d modules-initfs
|
2022-02-26 15:02:05 +00:00
|
|
|
"
|