# Reference: pkgname=device-samsung-a7 pkgdesc="Samsung Galaxy A7 (2015)" pkgver=5 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-msm8916 mkbootimg postmarketos-base soc-qcom-msm8939 soc-qcom-msm8916-rproc " makedepends="devicepkg-dev" source=" deviceinfo modules-initfs phoc.ini " 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-a420 msm-firmware-loader firmware-samsung-a7-wcnss-nv" mkdir "$subpkgdir" } phosh() { install_if="$pkgname postmarketos-ui-phosh" install -Dm644 "$srcdir"/phoc.ini \ "$subpkgdir"/etc/phosh/phoc.ini } sha512sums=" 28c9d4aa7b1dce8628f0232d5383af25087b7b36635ac109298c2d57c4dc9943260442a1decd6fce09d51b9f10ddcc2fed11e790960750c7ba99e5e1bf575527 deviceinfo 28cd7fd38ad77b490ecaae456fdf16f862e7958d5b59db04a1c33f5770e9be2c59d41f3b14aa5f0a6954effe109cd89163247b0c7ee893dacf0f1794627427c0 modules-initfs 25d2518d66e612df1f218e00544a282fa730dfe801bb0f8a7c928eb1a54aa9e5a167bd76fb00358c87dd8fd86564303c956c8a7460ab27e7eb96e44e80beb919 phoc.ini "