2020-08-25 03:18:59 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-oppo-a51f
|
|
|
|
pkgdesc="OPPO Mirror 5s"
|
2021-09-22 14:27:18 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2020-08-25 03:18:59 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Video firmware"
|
2021-09-22 14:27:18 +00:00
|
|
|
depends="linux-firmware-qcom firmware-qcom-msm8916-wcnss firmware-oppo-a51f-wcnss-nv"
|
2020-08-25 03:18:59 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2021-09-22 14:27:18 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
bcd3115119f4b3bee851315035b0f5f735e62c293d8e9ac22ca5c8012f349e5cb5b055b0d1b6ea0fefaed06a4db10b2b5b61e81a70e83194805a787ce59feee5 deviceinfo
|
|
|
|
"
|