2022-10-03 23:42:15 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
|
|
|
pkgname=device-google-cozmo
|
|
|
|
pkgdesc="Acer Chromebook 314 (CB314-2H / CB314-2HT)"
|
2022-10-13 20:51:10 +00:00
|
|
|
pkgver=3
|
|
|
|
pkgrel=0
|
2022-10-03 23:42:15 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
alsa-ucm-conf-google-kukui
|
|
|
|
depthcharge-tools
|
2022-10-09 12:10:59 +00:00
|
|
|
linux-postmarketos-mediatek-mt8183
|
2022-10-03 23:42:15 +00:00
|
|
|
postmarketos-base
|
|
|
|
postmarketos-update-depthcharge-kernel
|
2022-10-11 03:11:00 +00:00
|
|
|
soc-mediatek-mt8183
|
2022-10-03 23:42:15 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-load.d/sound.conf
|
|
|
|
"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/sound.conf \
|
|
|
|
"$pkgdir"/etc/modules-load.d/sound.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi/BT firmware"
|
|
|
|
depends="linux-firmware-ath10k linux-firmware-mediatek"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-10-13 20:51:10 +00:00
|
|
|
41a90f9abe98eb1442f6d1e68acfda7d50f5d025df9de2bf8b2658fdd5e79de4804bc9e4c3c890d81ec6bc0c2715f0e73155a0288dd5635476a6915b9dcccd75 deviceinfo
|
2022-10-03 23:42:15 +00:00
|
|
|
bdf45461873b9754bc91d7f72afd6cef1aa6e523ead0a7816c8976ed98ff2d39b66c53dba2f2d92e36162c092360d1524845f27160f6af2bb010cd3259d5b7ed sound.conf
|
|
|
|
"
|