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
|
2023-06-05 21:11:15 +00:00
|
|
|
pkgrel=2
|
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-06-05 21:11:15 +00:00
|
|
|
5fcb30c77b308fa6a976b26cc3c992f25d7438ffbad2bcd0e3a4c834372f7ac1e6a3dd7e5cc630ba435c699b4772b7f9cbc661c6d7ba74adfdda728904a8764f deviceinfo
|
2022-01-19 12:29:49 +00:00
|
|
|
"
|