# Maintainer: Vincent Knecht # Reference: pkgname=device-alcatel-idol3 pkgdesc="Alcatel OneTouch Idol 3 (5.5)" pkgver=0.3 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 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-alcatel-idol3-venus firmware-alcatel-idol3-wcnss-nv" mkdir "$subpkgdir" } phosh() { install_if="$pkgname postmarketos-ui-phosh" install -D -m644 "$srcdir"/phoc.ini \ "$subpkgdir"/etc/phosh/phoc.ini } sha512sums=" acf9dc7aaab34123f9c79f8def6607bc36845c12068f3fcb4e6b4cb2cd2b2e31f971be1e1a742019ba43a94bb89d12183067efdf0378fdf9696aa5295e811b36 deviceinfo 4634f125e81a06fc1ad22f950a13b8a50a3f91caaa6e82a07cdd3d497ecf13459c623c7b14ee052874cc9b63ea1caf88e3c7c81668226a39608577295435a6a4 modules-initfs 3c31b24f049788592c15db5c73607624af9ff181ee265d824735d38e45dd129477867360eb6241b94757e68e89e682feda7b76daa205e5ba2901234af68f0e76 phoc.ini "