pmaports/device/testing/device-motorola-osprey/APKBUILD

39 lines
1 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
2017-10-07 17:55:55 +00:00
pkgname=device-motorola-osprey
pkgver=6
pkgrel=0
2017-10-07 17:55:55 +00:00
pkgdesc="Motorola Moto G 3rd gen. (2015)"
url="https://postmarketos.org"
arch="aarch64"
2017-10-07 17:55:55 +00:00
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"
2017-10-07 17:55:55 +00:00
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
2017-10-07 17:55:55 +00:00
package() {
devicepkg_package $startdir $pkgname
2017-10-07 17:55:55 +00:00
}
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="
64269d7652650a0589bb15550966063c603cf9f1b41483e6d31be18a6e090be20c1878085b46ed1ba27d33c45710e8f3209a85f3259a8432e407460aa1ac44b9 deviceinfo
"