pmaports/device/community/device-google-peach-pit/APKBUILD
Henrik Grimler 2465370c52
device-google-peach-pit: use ttySAC3 for getty and console (MR 4576)
For some reason kernel does not print anything to ttySAC3 even with
console=/dev/ttySAC3. If earlycon is specified it prints the early
stuff though.

Add ttySAC3 in both places anyways since that should be the correct
uart.
2023-11-29 23:01:08 +01:00

66 lines
2.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-peach-pit
pkgdesc="Samsung Chromebook 2 (11.6 inch)"
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
alsa-ucm-conf
depthcharge-tools
linux-postmarketos-exynos5
postmarketos-base
postmarketos-cros-common
postmarketos-update-depthcharge-kernel
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
i3wm/xorg.conf.d/90-tap-to-click.conf
ucm/Peach-Pit-I2S-MAX98090.conf
ucm/HiFi.conf
"
subpackages="
$pkgname-i3wm
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
# Alsa UCM configs
install -Dm644 "$srcdir"/Peach-Pit-I2S-MAX98090.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-MAX98090/Peach-Pit-I2S-MAX98090.conf
install -Dm644 "$srcdir"/HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-MAX98090/HiFi.conf
ln -s /usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-MAX98090 \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-M
}
i3wm() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm"
install -Dm644 "$srcdir"/90-tap-to-click.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/90-tap-to-click.conf
}
nonfree_firmware() {
pkgdesc="WiFi/BT and MFC firmware"
depends="linux-firmware-mrvl linux-firmware-s5p-mfc"
mkdir "$subpkgdir"
}
sha512sums="
cbeb0f1fdf4357763eae7ede0b28923ae39c18aa187894baa778bdb20afa728aa97cad63b957d799ffcd1130ae40c3b796e293a2a1c97d9a68bf132ec6ce6d13 deviceinfo
a1fd6b4964b0bd4c66983430528f5906eea5cc9ddbe8485ba17e97496652240d0a93dbd3af34ecd3c273b7172202b8dcb24e0b5fa372512d01affec3914a023d modules-initfs
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
6fe67c8f2e09e3e37297eebaf2a86a32671923a5fd4d18e5aeb10e580fb998e4ddb4a691531a0c8f4b4e70c6f0f7e91008dd836ffca8026d59862c6e829fd996 Peach-Pit-I2S-MAX98090.conf
194b6169168b40592cf1e6b5f3b21aaa24a602869d7aec358cd5e1f06de34e9b0fe3da094e438ef2d3ab5be80275e6c0b6afe7ce92e2365a70e8b5a21a873234 HiFi.conf
"