2021-09-03 15:51:37 +00:00
|
|
|
# Maintainer: Vincent Knecht <vincent.knecht@mailoo.org>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-alcatel-idol3
|
|
|
|
pkgdesc="Alcatel OneTouch Idol 3 (5.5)"
|
2022-12-15 17:35:44 +00:00
|
|
|
pkgver=0.3
|
|
|
|
pkgrel=0
|
2021-09-03 15:51:37 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-12-15 17:35:44 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
2022-09-25 07:53:02 +00:00
|
|
|
soc-qcom-msm8939 soc-qcom-msm8916-rproc"
|
2021-09-03 15:51:37 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-04-03 09:04:48 +00:00
|
|
|
source="deviceinfo phoc.ini"
|
2021-09-03 15:51:37 +00:00
|
|
|
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"
|
2022-04-03 09:04:48 +00:00
|
|
|
install -D -m644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
2021-09-03 15:51:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-12-15 17:35:44 +00:00
|
|
|
24303967460d0ae7a229c2920f812b52bb4b9c114808f4b4acc64b9380ea87f9683d9deab22ccee252bbe74529d63f05bb3d1a2fe899c5310bf6cc653eafe508 deviceinfo
|
2022-05-05 14:50:55 +00:00
|
|
|
3c31b24f049788592c15db5c73607624af9ff181ee265d824735d38e45dd129477867360eb6241b94757e68e89e682feda7b76daa205e5ba2901234af68f0e76 phoc.ini
|
2021-09-03 15:51:37 +00:00
|
|
|
"
|