pmaports/device/testing/device-google-veyron-speedy/APKBUILD
Anton Bambura 8730f20fc9
google-veyron-speedy: switch to depthcharge and extlinux (MR 3786)
Make use of stock depthcharge bootloader to not deal with U-Boot issues:
 - broken USB
 - broken eMMC
 - broken latest version of U-Boot

Use extlinux instead of Grub for users with U-Boot to simplify process.
Also, some of old U-Boot builds may not support EFI.

[ci:skip-build] already built successfully in CI
2023-01-07 22:42:10 -08:00

57 lines
1.5 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron-speedy
pkgdesc="ASUS Chromebook C201"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
alsa-ucm-conf>=1.2.7.1-r0
depthcharge-tools
linux-google-veyron
postmarketos-base
postmarketos-update-depthcharge-kernel
"
subpackages="
$pkgname-i3wm
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-phosh
"
makedepends="devicepkg-dev"
source="
deviceinfo
i3wm/xorg.conf.d/90-tap-to-click.conf
phoc.ini
"
package() {
devicepkg_package $startdir $pkgname
}
# The only way to right click on this device
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 firmware"
depends="firmware-google-veyron-brcm"
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
install -Dm644 "$srcdir"/phoc.ini \
"$subpkgdir"/etc/phosh/phoc.ini
}
sha512sums="
a4a5f381ae311ca167ca22fbe184bd3f281a47b48972c6df8916d93740e7da05b2cfe2b18c23af4b9433b3b5eed9c8cd58ca399e44aed1b02ef11734d42b971a deviceinfo
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
bd63cfc97d37e81dd9559dad60f330c10dc280afd20081495c6302960fcacf32954e3edab53294fcd5278e86c53c47a95b345a8d9e18807d88fe4313d519d259 phoc.ini
"