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"
|
|
|
|
pkgver=4
|
2024-06-20 23:12:47 +00:00
|
|
|
pkgrel=7
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
866dad1295698accf952a52bdabd8be99d3449c6131d305067ed404e917a36a5d28e2482c6a205774c9438d17b9d50a2da66a26d58f147ae1aeaa4f225a377c8 deviceinfo
|
|
|
|
4b0197eacfeeb4b13f5abc26950f570ee762742547674ce10110ccea63eb46630a2e3b5f87e9c9a1f9deda21baf05bec248ab7a65656687ec94d296b5657dafa modules-initfs
|
2023-07-14 22:44:50 +00:00
|
|
|
"
|