2023-01-28 09:42:20 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
|
|
|
pkgname=device-lenovo-yoga-5g
|
|
|
|
pkgdesc="Lenovo Yoga 5G"
|
2023-10-29 16:20:23 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2023-01-28 09:42:20 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
2023-10-29 16:20:23 +00:00
|
|
|
options="!check !archcheck"
|
2023-01-28 09:42:20 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-sc8180x
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-sc8180x
|
2023-10-29 16:20:23 +00:00
|
|
|
systemd-boot
|
2023-01-28 09:42:20 +00:00
|
|
|
"
|
2023-10-29 16:20:23 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2023-01-28 09:42:20 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi firmware"
|
|
|
|
depends="firmware-lenovo-yoga-5g linux-firmware-ath10k soc-qcom-sc8180x-nonfree-firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="
|
2023-10-29 16:20:23 +00:00
|
|
|
1e5b4af16ebd8bfd383df43ee8b31567f2cb32be7f26e283ee8f7a176f938aafe13aee8a0c2390662fde43ffdef584126cd8b6836368a86c6c3aafcc01ff5ce8 deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
a78aab94f673cb68a194d914fa0209366af4bfd6c610a1b923efb3fbc62efb34605d24b23f51b49ee1564975a32ef29c51f986ff63490dd604dd4869bbeadbbd modules-initfs
|
2023-01-28 09:42:20 +00:00
|
|
|
"
|