2020-01-20 05:26:24 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-zuk-z2-row
|
2020-01-20 05:26:24 +00:00
|
|
|
pkgdesc="Lenovo ZUK Z2 Pro"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
|
|
|
pkgrel=0
|
2020-01-20 05:26:24 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-zuk-z2-row mkbootimg msm-fb-refresher wcnss-wlan"
|
2020-01-20 05:26:24 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
install="$pkgname.post-install"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-load.conf
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="ZUK Z2 Pro firmware blobs"
|
|
|
|
depends="firmware-zuk-z2-row wcnss-wlan adsp-audio"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
46f93cbfaa6e7d5b1f63863d72e57f5a32042644080713c093846bf292d989481c11ebc060026e9036ab42ebd506ff683640c9e99f7f49a5f6380d7ae248fe3b deviceinfo
|
|
|
|
e85747dc082df4fd793bc444f1a47c22459ceb411befed90827a079c4cba21d013c3324194b169bf50e0fdf3d49d6d242b3d31947d5c0a1e58d9c4d1cf78bd22 modules-load.conf
|
|
|
|
"
|