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
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=7
|
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
|
2023-08-20 13:51:21 +00:00
|
|
|
lk2nd-msm8953
|
2021-06-30 19:12:43 +00:00
|
|
|
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"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
d63ee906d6c497fa8848de5ac0cabba5fb1af47186ccbff461c279bc8f1c2ee79c239267a13c0e9bebe00c65191f2392f92041ed03ba7298c97d563fe200ce6b deviceinfo
|
|
|
|
f627d473ccfc01f39ed7b1345c2795af0cd358b4738d202e53fbae07c605d239f9139b034c5a29411bafe368b92a44c756e2bd029246b385d6397f519af8ff7c modules-initfs
|
2021-06-17 15:32:08 +00:00
|
|
|
"
|