38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-motorola-osprey
|
|
pkgver=5
|
|
pkgrel=0
|
|
pkgdesc="Motorola Moto G 3rd gen. (2015)"
|
|
url="https://postmarketos.org"
|
|
arch="aarch64"
|
|
license="MIT"
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
options="!check !archcheck"
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
# osprey's wcnss-nv + venus firmware seems identical to harpia's :>
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader
|
|
firmware-motorola-harpia-wcnss-nv firmware-motorola-harpia-venus"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
8ab86eb16b1cd27d47ce4198252c16464ce8c8e239a24d076f1f985cd2dfae993e325e0d0e5d410b715966a78103cbec4c026f87272246f1d9cbfa31ea3cb7b1 deviceinfo
|
|
"
|