# Reference: # Maintainer: Vincent Knecht pkgname=device-alcatel-idol347 pkgdesc="Alcatel OneTouch Idol 3 (4.7)" pkgver=4 pkgrel=0 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" source="deviceinfo phoc.ini pointercal" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh " _pmb_select="soc-qcom-msm8916-rproc" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname install -D -m644 "$srcdir"/pointercal "$pkgdir"/etc/pointercal } nonfree_firmware() { pkgdesc="GPU/WiFi/BT/Modem/Video firmware" depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-alcatel-idol347-wcnss-nv firmware-alcatel-idol347-venus" mkdir "$subpkgdir" } phosh() { install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh" install -D -m644 "$srcdir"/phoc.ini "$subpkgdir"/etc/phosh/phoc.ini } sha512sums=" f2671ca2d63efb59d0b3ece4defb10f512448c6b0988cb0cb56dc790b46f01a0ac180730ff49b0a027c8d4ac565d961561d3b72c2d27c6b3b0e60441f49535ad deviceinfo a60d1785f0163d4a4eb63ea5e3017631aab7dd6683baad6a74b09809d33888d581ca8b14526c19d18234dcf727d1fdb4ff0489ed4bd5523905d0e4da7d93bc56 phoc.ini ccdfe80d56c7bf8ecce0919a9b1c6721df3c4d0f819585475d4e78b44adf66306f7c2c7082bc7c669dfbfd066028fd2ac3cf4cd2878b34262547ea1fd1f6ae3e pointercal "