61 lines
1.4 KiB
Text
61 lines
1.4 KiB
Text
|
# Reference: <https://postmarketos.org/devicepkg>
|
||
|
# Maintainer: chalkin Deng <chalkin@yeah.net>
|
||
|
pkgname=device-lenovo-q706f
|
||
|
pkgdesc="Lenovo Xiaoxin Pad Pro 12.6 (Lenovo Tab P12 Pro)"
|
||
|
pkgver=1
|
||
|
pkgrel=0
|
||
|
url="https://postmarketos.org"
|
||
|
license="MIT"
|
||
|
arch="aarch64"
|
||
|
options="!check !archcheck"
|
||
|
depends="
|
||
|
bootmac
|
||
|
linux-lenovo-q706f
|
||
|
make-dynpart-mappings
|
||
|
mesa-vulkan-freedreno
|
||
|
mkbootimg
|
||
|
postmarketos-base
|
||
|
qbootctl
|
||
|
swclock-offset
|
||
|
"
|
||
|
makedepends="devicepkg-dev"
|
||
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
||
|
source="
|
||
|
deviceinfo
|
||
|
modules-initfs
|
||
|
"
|
||
|
|
||
|
subpackages="
|
||
|
$pkgname-nonfree-firmware:nonfree_firmware
|
||
|
"
|
||
|
|
||
|
build() {
|
||
|
devicepkg_build $startdir $pkgname
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
devicepkg_package $startdir $pkgname
|
||
|
}
|
||
|
|
||
|
nonfree_firmware() {
|
||
|
pkgdesc="Firmware for GPU, WiFi, etc."
|
||
|
depends="
|
||
|
firmware-lenovo-q706f-adreno
|
||
|
firmware-lenovo-q706f-adsp
|
||
|
firmware-lenovo-q706f-cdsp
|
||
|
firmware-lenovo-q706f-slpi
|
||
|
firmware-lenovo-q706f-venus
|
||
|
linux-firmware-ath11k
|
||
|
linux-firmware-qca
|
||
|
pd-mapper
|
||
|
tqftpserv
|
||
|
"
|
||
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
||
|
mkdir "$subpkgdir"
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
455f97c6186858dcb1760c8734c0cc5d913f115abd994c468610194c6f507502c9f91a1ced5f1195e519d305efd118e2e028df2fd2429d6d06155e74c7d1437e deviceinfo
|
||
|
c0634ddd66ecfe4b39e8bff0b17ea141303d8827d7d498c2a9f19729566f0d5a3900c78ac8c71e8ef5d68e67c625d551e67c790ea01b103fcf38848e8aebfdf1 modules-initfs
|
||
|
"
|