f1e0404fb8
[ci:ignore-count] [ci:skip-vercheck] needed for the postmarketos-ui-* packages in this series [ci:skip-build] already built ui-* packages in CI, and device pacakges are just trivial deviceinfo change (manually built some just to verify)
56 lines
1.6 KiB
Text
56 lines
1.6 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Antony J.R. <antonyjr@pm.me>
|
|
pkgname=device-asus-z00l
|
|
pkgdesc="ASUS Zenfone 2 Laser (720p)"
|
|
pkgver=1
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
$pkgname-kernel-mainline-modem:kernel_mainline_modem
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-nonfree-firmware-modem:nonfree_firmware_modem
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="Close to mainline kernel (no charging, no modem, audio routed directly)"
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
kernel_mainline_modem() {
|
|
pkgdesc="Close to mainline kernel (no charging, non-free modem, audio routed through ADSP)"
|
|
depends="linux-postmarketos-qcom-msm8916 soc-qcom-msm8916-modem"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
|
|
depends="linux-firmware-qcom firmware-asus-z00l-venus firmware-asus-z00l-wcnss"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
nonfree_firmware_modem() {
|
|
pkgdesc="Modem firmware"
|
|
depends="firmware-asus-z00l-modem"
|
|
install_if="$pkgname-nonfree-firmware $pkgname-kernel-mainline-modem"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
dc1907ed406261f50eaf2349b2a2bf9754785dfcf3f4632e17431a2d24af954a3d24936948a70b4935f906a6486d2cbc2573d1c27177d9b3d8c38ce5ad07ba11 deviceinfo
|
|
"
|