2020-07-30 23:20:28 +00:00
|
|
|
# Maintainer: Ultracoolguy <myownpersonalaccount@protonmail.com>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-motorola-ocean
|
|
|
|
pkgdesc="Motorola Moto G7 Power"
|
|
|
|
pkgver=0.1
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=2
|
2020-07-30 23:20:28 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2020-09-14 20:40:48 +00:00
|
|
|
depends="postmarketos-base mkbootimg mesa-dri-gallium"
|
2020-07-30 23:20:28 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2020-09-14 20:40:48 +00:00
|
|
|
subpackages="$pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline $pkgname-nonfree-firmware:nonfree_firmware"
|
2020-07-30 23:20:28 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-09-14 20:40:48 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="Wifi, USB, partially screen, and other miscellanious stuff works. (See device table for details)"
|
|
|
|
depends="linux-motorola-ocean wcnss-wlan"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="It's currently WIP. Most features don't work."
|
|
|
|
depends="linux-postmarketos-qcom-msm8953"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2020-07-30 23:20:28 +00:00
|
|
|
nonfree_firmware() {
|
2020-09-08 17:38:52 +00:00
|
|
|
pkgdesc="Wifi and GPU firmware"
|
2020-07-30 23:20:28 +00:00
|
|
|
depends="firmware-motorola-ocean"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-09-14 20:40:48 +00:00
|
|
|
sha512sums="c056fa543261d20f4582d1e7c25a23982157fc54c95fb714bd75e69db0d747779ae218b57a9a71cd92c4708645f024f891ba715cc494dc080d28199ac63065db deviceinfo"
|