2022-01-19 12:29:49 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-oneplus-lemonade
|
2023-12-03 14:12:51 +00:00
|
|
|
pkgdesc="OnePlus 9"
|
|
|
|
pkgver=0.3
|
|
|
|
pkgrel=0
|
2022-01-19 12:29:49 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-sm8350
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-sm8350
|
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
devicepkg-dev
|
|
|
|
"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Modem, WiFi, and GPU Firmware"
|
|
|
|
depends="firmware-oneplus-lemonade"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-12-03 14:12:51 +00:00
|
|
|
25ddc6b6ae09f34470dd61466034d3e375f34747f313e097c8ccb292b4b03bd812285d3761cb54e149f98b68ee3ffa0c85fb679137e933c870cf68060a5dcf33 deviceinfo
|
2022-01-19 12:29:49 +00:00
|
|
|
"
|