2018-04-22 21:12:48 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2019-10-13 11:00:28 +00:00
|
|
|
# Maintainer: Ruby Iris Juric <ruby@srxl.me>
|
2020-08-04 09:46:27 +00:00
|
|
|
# Co-Maintainer: Minecrell <minecrell@minecrell.net>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-motorola-harpia
|
2018-04-22 21:12:48 +00:00
|
|
|
pkgdesc="Motorola Moto G4 Play"
|
2021-10-19 08:31:47 +00:00
|
|
|
pkgver=6
|
2021-09-22 13:57:03 +00:00
|
|
|
pkgrel=0
|
2018-04-22 21:12:48 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2019-10-13 11:00:28 +00:00
|
|
|
arch="aarch64"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2020-02-04 11:41:38 +00:00
|
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916"
|
2018-04-22 21:12:48 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-04-11 18:10:17 +00:00
|
|
|
source="deviceinfo"
|
2018-04-22 21:12:48 +00:00
|
|
|
|
2020-02-04 11:41:38 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-kernel-mainline-modem:kernel_mainline_modem
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2018-04-22 21:12:48 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-02-04 11:41:38 +00:00
|
|
|
kernel_mainline() {
|
2020-07-11 09:16:39 +00:00
|
|
|
pkgdesc="Close to mainline kernel (no modem, audio routed directly)"
|
2020-02-04 11:41:38 +00:00
|
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline_modem() {
|
2020-07-11 09:16:39 +00:00
|
|
|
pkgdesc="Close to mainline kernel (non-free modem, audio routed through ADSP)"
|
2020-02-04 11:41:38 +00:00
|
|
|
depends="linux-postmarketos-qcom-msm8916 soc-qcom-msm8916-modem"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2019-10-13 11:00:28 +00:00
|
|
|
nonfree_firmware() {
|
2021-10-19 08:31:47 +00:00
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader
|
|
|
|
firmware-motorola-harpia-wcnss-nv firmware-motorola-harpia-venus"
|
2020-02-04 11:41:38 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
|
|
|
9df7e817dd405d9c9a3e36ced7a1bff59c22ad449693ed28c6f18f23c29b43a609378d2356e674b6eca826933dffb09fece33d878c1988df2ea2278cab644af4 deviceinfo
|
|
|
|
"
|