2018-09-28 13:15:25 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-motorola-surnia
|
2018-09-28 13:15:25 +00:00
|
|
|
pkgdesc="Motorola Moto E (2nd Gen)"
|
2024-02-15 08:21:05 +00:00
|
|
|
pkgver=3
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2018-09-28 13:15:25 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2022-09-04 13:14:13 +00:00
|
|
|
arch="aarch64"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2022-09-04 13:14:13 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
2018-09-28 13:15:25 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2018-09-28 13:15:25 +00:00
|
|
|
|
2021-02-10 16:36:15 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
|
2022-09-04 13:14:13 +00:00
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
|
2018-09-28 13:15:25 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2021-02-10 16:36:15 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/Wi-Fi/Bluetooth/Video(/Modem) firmware"
|
2022-09-04 13:14:13 +00:00
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-motorola-surnia-wcnss-nv firmware-motorola-harpia-venus"
|
2021-02-10 16:36:15 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
80a650fa5b941e063f41d474ba92573188deff7bf51cb3266817736a74e6b635f533fa93cc66b8f70813c6694454e2f68e7d990bd17560fa8d9922b1daccf516 deviceinfo
|
2023-09-10 15:20:26 +00:00
|
|
|
44df8245209d15e16e5114874e22160383861988b0bd1b2e2faca27c817cc03f431a387e8cc5a708ab2cfcc67b04f204043cdaaf898552588ea8feb18755b0a9 modules-initfs
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|