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
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=3
|
2022-12-17 12:50:32 +00:00
|
|
|
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"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
9505e76df6425a3efa9d2247019858d676aa5512dcf8c4e04b0a5598b209c6cef033d957ef8849a93818b09ffc8f74a3b78fcc488b3702613ad184e29976d8b3 deviceinfo
|
|
|
|
fc1d1e57bd2a366884b1359ba32acfb484719958fb655067cfba28787384d626dde7683750dda523e2941df4fc78e2d234130ef5a5217002a09623a4a2f34919 modules-initfs
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|