2022-06-02 20:03:41 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Nicholas Frillman <nicholas.frillman@gmail.com>
|
|
|
|
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
|
|
|
|
pkgname=device-google-veyron-minnie
|
|
|
|
pkgdesc="ASUS Chromebook Flip C100"
|
2022-10-11 23:31:49 +00:00
|
|
|
pkgver=3
|
|
|
|
pkgrel=0
|
2022-06-02 20:03:41 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
# pmb:strict: avoid grub-related install error during build with pmbootstrap
|
|
|
|
options="!check !archcheck pmb:strict"
|
|
|
|
depends="
|
2022-07-02 04:31:00 +00:00
|
|
|
alsa-ucm-conf>=1.2.7.1-r0
|
2022-10-11 23:31:49 +00:00
|
|
|
linux-google-veyron
|
2022-06-02 20:03:41 +00:00
|
|
|
u-boot-veyron-minnie
|
|
|
|
postmarketos-base
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-i3wm
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev grub grub-efi"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
i3wm/xorg.conf.d/90-tap-to-click.conf
|
|
|
|
grub.cfg
|
|
|
|
phoc.ini
|
|
|
|
pointercal
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
|
|
|
|
grub-mkimage \
|
|
|
|
--prefix="/grub" \
|
|
|
|
--output="bootarm.efi" \
|
|
|
|
--format="arm-efi" \
|
|
|
|
--compression="xz" \
|
|
|
|
\
|
|
|
|
all_video \
|
|
|
|
disk \
|
|
|
|
efi_gop \
|
|
|
|
fat \
|
|
|
|
gzio \
|
|
|
|
iso9660 \
|
|
|
|
linux \
|
|
|
|
normal \
|
|
|
|
part_gpt \
|
|
|
|
part_msdos
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
install -D "$srcdir"/grub.cfg \
|
|
|
|
"$pkgdir"/boot/grub/grub.cfg
|
|
|
|
install -D "$srcdir"/bootarm.efi \
|
|
|
|
"$pkgdir"/boot/EFI/Boot/bootarm.efi
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/pointercal \
|
|
|
|
"$pkgdir"/etc/pointercal
|
|
|
|
}
|
|
|
|
|
|
|
|
# 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="
|
2022-10-10 02:46:01 +00:00
|
|
|
d41d4e356cb8723a5cb5d3bd7f221f0892bc0d8a5b7daece67058f8308a7edd9ca8ac16a1305b4667b2964ec5685d7dadbf2a96f4ea81789f8a885a4ec6f3525 deviceinfo
|
2022-06-02 20:03:41 +00:00
|
|
|
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
|
2022-10-11 23:31:49 +00:00
|
|
|
21624192f017b03ce0619deab6eb743592b7dd12dc4e288068c7354e887169e2a4cb3b2f069e95728ec4dfa3d5304a031a961cb247b4efc3ee31a4ce6a08f505 grub.cfg
|
2022-06-02 20:03:41 +00:00
|
|
|
bd63cfc97d37e81dd9559dad60f330c10dc280afd20081495c6302960fcacf32954e3edab53294fcd5278e86c53c47a95b345a8d9e18807d88fe4313d519d259 phoc.ini
|
|
|
|
754eb3c09aadf552aaea3ade7cddf737769f800ddeafbf0665b61141397a58bea4595652ec3d7d1803863257cd163114a330f040a3f2352051b2215f7efa46a6 pointercal
|
|
|
|
"
|