33254c4d19
This is needed to use depthchargectl instead of mkdepthcharge [ci:ignore-count] [ci:skip-build]: already built successfully in CI
46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
|
pkgname=device-google-kodama
|
|
pkgdesc="Lenovo 10e Chromebook Tablet"
|
|
pkgver=3
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
alsa-ucm-conf-google-kukui
|
|
depthcharge-tools
|
|
linux-postmarketos-mediatek-mt8183
|
|
postmarketos-base
|
|
postmarketos-update-depthcharge-kernel
|
|
soc-mediatek-mt8183
|
|
"
|
|
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="
|
|
78a2288faf43dc60c6c236bb91ef479cff42d7441dadccc67bc35a83dded4c21f082e49851ad7d68dc8b2c8a3002d4a0e1acfb39a506da5ee702e48c6c3141cd deviceinfo
|
|
bdf45461873b9754bc91d7f72afd6cef1aa6e523ead0a7816c8976ed98ff2d39b66c53dba2f2d92e36162c092360d1524845f27160f6af2bb010cd3259d5b7ed sound.conf
|
|
"
|