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
|
2021-06-17 15:32:08 +00:00
|
|
|
pkgrel=0
|
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
|
|
|
|
mesa-dri-gallium
|
|
|
|
postmarketos-base
|
|
|
|
"
|
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-06-30 19:12:43 +00:00
|
|
|
8959c93adb1459c53953403e8ea90d73138f65d7a5349edac00918bce0a11187f1488172b821ed1417a54fd8029b043dbf85cee1f979a8da383a5c35ee024c44 deviceinfo
|
2021-06-17 15:32:08 +00:00
|
|
|
"
|