2021-03-15 10:09:02 +00:00
|
|
|
# Maintainer: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
|
|
|
|
|
|
|
|
pkgname=device-pegatron-chagall
|
|
|
|
pkgdesc="Pegatron Chagall"
|
2021-10-07 19:01:33 +00:00
|
|
|
pkgver=5
|
2022-04-03 09:04:48 +00:00
|
|
|
pkgrel=2
|
2021-03-15 10:09:02 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2021-07-20 14:15:25 +00:00
|
|
|
depends="
|
|
|
|
alsa-ucm-conf
|
|
|
|
asus-transformer-blobtools
|
|
|
|
libvdpau-tegra
|
|
|
|
linux-postmarketos-grate
|
|
|
|
mesa-dri-gallium
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2021-03-15 10:09:02 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-07-20 14:15:25 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2021-09-16 13:51:53 +00:00
|
|
|
pointercal
|
2022-04-03 09:04:48 +00:00
|
|
|
phoc.ini
|
2021-07-20 14:15:25 +00:00
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
$pkgname-x11
|
|
|
|
"
|
2021-03-15 10:09:02 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2021-09-16 13:51:53 +00:00
|
|
|
|
|
|
|
# osk-sdl touchscreen calibration
|
|
|
|
install -Dm644 "$srcdir"/pointercal \
|
|
|
|
"$pkgdir"/etc/pointercal
|
2021-03-15 10:09:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
2021-07-20 14:15:25 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
2022-04-03 09:04:48 +00:00
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
2021-03-15 10:09:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-07-20 14:15:25 +00:00
|
|
|
pkgdesc="Pegatron Chagall WiFi & Bluetooth firmware"
|
2021-07-19 17:16:43 +00:00
|
|
|
depends="firmware-asus-transformer"
|
2021-03-15 10:09:02 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-20 14:15:25 +00:00
|
|
|
x11() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
|
|
|
|
depends="xf86-video-opentegra"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-19 17:16:43 +00:00
|
|
|
sha512sums="
|
2021-10-07 19:01:33 +00:00
|
|
|
4d66f7523c28d917fdd7470dadb175e56964e93572478a322f8219911b31d30afd94fb611f4dae4e535f3e0885e821e2eb107deb4d3820a3b9421d7ad30023b8 deviceinfo
|
2021-09-16 13:51:53 +00:00
|
|
|
61418c6a0df6c1a4d4bacafb98abcd8897d81fc1ae319cbe451aaebd90a8d231e2ec1812b45d72687f901cc1e2c874f12960b50026becdf42917c8c2d5fbad77 pointercal
|
2022-04-03 09:04:48 +00:00
|
|
|
618284cdaccd09e60cb9a99afa337fcad7b3bd33f6422b9eae34175bc4516138d486cbb9f5735cafb325bc16cf362de16aeae7c77d334668c749afcfa557359b phoc.ini
|
2021-07-19 17:16:43 +00:00
|
|
|
"
|