2021-02-25 11:42:49 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Vincent Knecht <vincent.knecht@mailoo.org>
|
|
|
|
pkgname=device-alcatel-idol347
|
|
|
|
pkgdesc="Alcatel OneTouch Idol 3 (4.7)"
|
2022-05-05 14:50:55 +00:00
|
|
|
pkgver=5
|
|
|
|
pkgrel=0
|
2021-02-25 11:42:49 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2021-10-29 15:29:18 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
2021-02-25 11:42:49 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo phoc.ini pointercal"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
2021-10-29 15:29:18 +00:00
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
2021-02-25 11:42:49 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/pointercal "$pkgdir"/etc/pointercal
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-10-19 08:31:47 +00:00
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader
|
|
|
|
firmware-alcatel-idol347-wcnss-nv firmware-alcatel-idol347-venus"
|
2021-02-25 11:42:49 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
|
|
|
install -D -m644 "$srcdir"/phoc.ini "$subpkgdir"/etc/phosh/phoc.ini
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2021-10-29 15:29:18 +00:00
|
|
|
f2671ca2d63efb59d0b3ece4defb10f512448c6b0988cb0cb56dc790b46f01a0ac180730ff49b0a027c8d4ac565d961561d3b72c2d27c6b3b0e60441f49535ad deviceinfo
|
2022-05-05 14:50:55 +00:00
|
|
|
3823556d741a352fc7f43567d7218255a27c45c2c5d4d4bdf23f4d26ce2828c5a1c642519b84fef7f59756c990e6a199d72e6ba0c277939b08a40526c3ff3714 phoc.ini
|
2021-07-07 05:06:17 +00:00
|
|
|
ccdfe80d56c7bf8ecce0919a9b1c6721df3c4d0f819585475d4e78b44adf66306f7c2c7082bc7c669dfbfd066028fd2ac3cf4cd2878b34262547ea1fd1f6ae3e pointercal
|
|
|
|
"
|