pmaports/device/testing/device-alcatel-idol3/APKBUILD
Newbyte b2c4544ef2
device-*: rootston.ini -> phoc.ini (MR 3054)
rootston.ini is an old, deprecated name.

[ci:ignore-count]
2022-04-03 12:00:06 +02:00

45 lines
1.3 KiB
Text

# Maintainer: Vincent Knecht <vincent.knecht@mailoo.org>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-alcatel-idol3
pkgdesc="Alcatel OneTouch Idol 3 (5.5)"
pkgver=0.1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8939
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev"
source="deviceinfo 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="
59f4d65c5bb5ef53968bfd1f7d2c0175835badfc15347cedef67b240c6c54baad039beb197d7b6b49cfa379531a00f6a5d3ce615da97c3598e47091b40019c44 deviceinfo
fbaa0e0ecfc5d6debc345d4a7475687bef4c89c463df382ecb9f5577f3fbf045bbcf1d2cacedf6322b5e81e2ba7503d1bb093ff6d55c209ed79805a49408234c phoc.ini
"