2021-06-03 15:33:45 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2021-10-14 09:48:11 +00:00
|
|
|
# Maintainer: Nikita Travkin <nikita@trvn.ru>
|
2021-09-19 13:13:29 +00:00
|
|
|
pkgname=device-samsung-gt58
|
|
|
|
pkgdesc="Samsung Galaxy Tab A 8.0 (2015)"
|
2021-10-24 12:48:45 +00:00
|
|
|
pkgver=3
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=1
|
2021-06-03 15:33:45 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2021-10-24 12:48:45 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
2021-06-03 15:33:45 +00:00
|
|
|
makedepends="devicepkg-dev dtbtool"
|
2021-09-19 13:13:29 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
rootston.ini
|
|
|
|
"
|
2021-06-03 15:33:45 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
2021-10-24 12:48:45 +00:00
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
|
|
|
|
# Backwards compatibility for old kernel variant subpackages
|
|
|
|
replaces="$pkgname-kernel-mainline $pkgname-kernel-mainline-modem-lte"
|
|
|
|
for pkg in $replaces; do provides="$provides $pkg=$pkgver-r$pkgrel"; done
|
2021-06-03 15:33:45 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-10-19 08:32:43 +00:00
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-gt58-wcnss-nv"
|
2021-06-03 15:33:45 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2021-10-24 12:48:45 +00:00
|
|
|
b374fc9b75b0693a27c94116f652410a0b026077beba91527104fd0e3e720ddec0c1e48b54714af810b514571d5f2021f8facf34a9ea8de35b92aa060af64d19 deviceinfo
|
2021-09-19 13:13:29 +00:00
|
|
|
bc620d2031027405f70eea68854744799b460db0d787e2c844556f437120eea0fc857689c6894dd485a5cd3794c7fb5281b901e9e10da1b550c637a852445180 rootston.ini
|
2021-06-03 15:33:45 +00:00
|
|
|
"
|