# Reference: # Maintainer: Nikita Travkin pkgname=device-samsung-gt58 pkgdesc="Samsung Galaxy Tab A 8.0 (2015)" pkgver=4.1 pkgrel=1 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 dtbtool" source=" deviceinfo modules-initfs phoc.ini " subpackages=" $pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh " _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 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-gt58-wcnss-nv" mkdir "$subpkgdir" } phosh() { install_if="$pkgname postmarketos-ui-phosh" install -Dm644 "$srcdir"/phoc.ini \ "$subpkgdir"/etc/phosh/phoc.ini } sha512sums=" 7f3a261029ecf69b490f804db9ef3ff642d173e2a0a441f6a81d65ad374db2066de23306bb468746a271886d820ee22991a5a3e0b83f4c1fc3911b7d111bb181 deviceinfo 3d783c1c458e0192356323be0b6da7c1f153489e494dddac22c4916d9415fbeb05ebba50c03fb6ca01787a10e86a08710e5f3397822ec6a55bf5d5fd9b7d989e modules-initfs ed612b090c1ee512fc257368082fe0c88ca6c98a9d673ece68593739c7a41b4f9dca5d9360de6f84d206f297feba480a9f1982301132e08a14a5ff920a2675a6 phoc.ini "