d6b149fe02
The close-to-mainline kernel removed the generic-dsi driver in favor of normal panel drivers. Also the panel drivers are now built in. Reflect that. Also reflect the changes of firmware-motorola-ocean in device-motorola-ocean_nonfree-firmware. [ci:skip-build] Already built on CI in MR
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
# Maintainer: Ultracoolguy <myownpersonalaccount@protonmail.com>
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-motorola-ocean
|
|
pkgdesc="Motorola Moto G7 Power"
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg mesa-dri-gallium"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="$pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline $pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi, GPU, modem, and audio firmware"
|
|
depends="firmware-motorola-ocean"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
7718e1d1c59f82832c446ccaac9bad6833339f5ba968942df10df538d11f90c431117ff2f5408262c5a9b333bfd1d3af96ab2913aacb380c919c465f61e9f759 deviceinfo
|
|
"
|