2020-11-13 12:32:45 +00:00
|
|
|
# Maintainer: Sireesh Kodali <scarface@disroot.org>
|
2018-01-16 20:55:23 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-motorola-potter
|
2018-01-16 20:55:23 +00:00
|
|
|
pkgdesc="Motorola Moto G5 Plus"
|
2020-11-13 12:32:45 +00:00
|
|
|
pkgver=0.2
|
2021-07-07 05:06:17 +00:00
|
|
|
pkgrel=2
|
2018-01-16 20:55:23 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2020-11-13 12:32:45 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-qcom-msm8953 mkbootimg mesa-dri-gallium"
|
2018-01-16 20:55:23 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-11-13 12:32:45 +00:00
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2018-01-16 20:55:23 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-11-13 12:32:45 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/Wi-Fi/Bluetooth/Audio/Video/Modem firmware"
|
|
|
|
depends="firmware-motorola-potter"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
|
|
|
5f29da7e002380a930c4d41b0935140001d6da54960fcd792387e0bad3f3233a3cb05661719412b4df08eefbad33dbfff3643b200baa6e2fa985cc1faaaa9ae4 deviceinfo
|
|
|
|
"
|