2020-01-10 16:31:33 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2017-10-07 17:55:55 +00:00
|
|
|
pkgname=device-motorola-osprey
|
2022-12-17 12:50:32 +00:00
|
|
|
pkgver=7
|
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Motorola Moto G 2015"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2020-12-17 12:10:10 +00:00
|
|
|
arch="aarch64"
|
2017-10-07 17:55:55 +00:00
|
|
|
license="MIT"
|
2021-10-29 15:29:18 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
2020-01-10 16:31:33 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-12-17 12:10:10 +00:00
|
|
|
source="deviceinfo"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2021-10-29 15:29:18 +00:00
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
2017-10-07 17:55:55 +00:00
|
|
|
|
2020-12-17 12:10:10 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
|
2020-01-10 16:31:33 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-10-07 17:55:55 +00:00
|
|
|
package() {
|
2020-01-10 16:31:33 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-10-07 17:55:55 +00:00
|
|
|
}
|
|
|
|
|
2020-12-17 12:10:10 +00:00
|
|
|
nonfree_firmware() {
|
2021-10-19 08:31:47 +00:00
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
2022-12-17 14:02:31 +00:00
|
|
|
# osprey can use newer venus firmware from harpia
|
2021-10-19 08:31:47 +00:00
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader
|
2022-12-17 14:02:31 +00:00
|
|
|
firmware-motorola-osprey-wcnss-nv firmware-motorola-harpia-venus"
|
2020-12-17 12:10:10 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2022-12-17 12:50:32 +00:00
|
|
|
e21917fbbbd319bc48e40ab7c06e204fc5b3351ce7f669ccd1dbfc28f8ee7f7249e92a52a2dbbddd9d4aea43f447744b7705369cd65599f8566430ad5525c6fc deviceinfo
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|