2023-07-14 22:44:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2024-02-28 20:46:10 +00:00
|
|
|
# Maintainer: Adam Thiede <me@adamthiede.com>
|
|
|
|
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
|
2023-07-14 22:44:50 +00:00
|
|
|
pkgname=device-google-oak
|
|
|
|
pkgdesc="Google Oak Chromebooks"
|
2024-06-21 21:14:03 +00:00
|
|
|
pkgver=5
|
|
|
|
pkgrel=0
|
2023-07-14 22:44:50 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
alsa-utils
|
|
|
|
depthcharge-tools
|
|
|
|
linux-postmarketos-mediatek-mt8173
|
|
|
|
postmarketos-base
|
2023-07-31 21:25:43 +00:00
|
|
|
postmarketos-cros-common
|
2024-06-20 23:12:47 +00:00
|
|
|
postmarketos-initramfs-minimal
|
2023-07-14 22:44:50 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2023-07-14 22:44:50 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
# provides and replaces to switch old installations to this package
|
|
|
|
provides="google-elm=$pkgver-r$pkgrel google-hana=$pkgver-r$pkgrel"
|
|
|
|
replaces="google-elm google-hana"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi/BT and GPU firmware"
|
|
|
|
depends="linux-firmware-mrvl linux-firmware-mediatek firmware-powervr-gx6250"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-06-21 21:14:03 +00:00
|
|
|
ebf7ed07ffcfe30c01c717db00c255e2c650339bace70afffcac4566267da8b6d3e22f819601be2ee355d2c1f56b01e37fca5566a2517fc1ffb642e530b674fb deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
4b0197eacfeeb4b13f5abc26950f570ee762742547674ce10110ccea63eb46630a2e3b5f87e9c9a1f9deda21baf05bec248ab7a65656687ec94d296b5657dafa modules-initfs
|
2023-07-14 22:44:50 +00:00
|
|
|
"
|