2021-06-30 19:12:43 +00:00
|
|
|
# Maintainer: Ultracoolguy <ultracoolguy@disroot.org>
|
2020-07-30 23:20:28 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-motorola-ocean
|
|
|
|
pkgdesc="Motorola Moto G7 Power"
|
2021-06-30 19:12:43 +00:00
|
|
|
pkgver=0.3
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=3
|
2020-07-30 23:20:28 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2021-06-30 19:12:43 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8953
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
2021-07-17 11:30:52 +00:00
|
|
|
soc-qcom-msm8916
|
2021-06-30 19:12:43 +00:00
|
|
|
"
|
2020-07-30 23:20:28 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2021-06-30 19:12:43 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2020-07-30 23:20:28 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-06-17 15:32:08 +00:00
|
|
|
pkgdesc="Wifi, GPU, modem, and audio firmware"
|
2020-07-30 23:20:28 +00:00
|
|
|
depends="firmware-motorola-ocean"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-06-17 15:32:08 +00:00
|
|
|
sha512sums="
|
2021-07-07 05:06:17 +00:00
|
|
|
db87c989ebfac4f76bbe6f387ec753f88c841efd41818bb33a568704c4feb32697d57a1572aab53d111d9ffd4e4e462d403dd0be8b693e196613ee7e9d6dba95 deviceinfo
|
2021-06-17 15:32:08 +00:00
|
|
|
"
|