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
|
|
|
|
pkgrel=0
|
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-02-15 08:21:05 +00:00
|
|
|
ab704dfb75ec4f85845999df7c8e3de3e040a720c4aaa645accf777ffc4d84c9d14f26d79794476fe4b407f1f88175e190e98ce75c6c73604ccab9ba27f810e2 deviceinfo
|
2023-09-10 15:20:26 +00:00
|
|
|
44df8245209d15e16e5114874e22160383861988b0bd1b2e2faca27c817cc03f431a387e8cc5a708ab2cfcc67b04f204043cdaaf898552588ea8feb18755b0a9 modules-initfs
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|