79061c94ce
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]: built all the device packages successfully in CI already
66 lines
1.6 KiB
Text
66 lines
1.6 KiB
Text
# Maintainer: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
|
|
|
|
pkgname=device-pegatron-chagall
|
|
pkgdesc="Pegatron Chagall"
|
|
pkgver=4
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
alsa-ucm-conf
|
|
asus-transformer-blobtools
|
|
libvdpau-tegra
|
|
linux-postmarketos-grate
|
|
mesa-dri-gallium
|
|
mkbootimg
|
|
postmarketos-base
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
pointercal
|
|
rootston.ini
|
|
"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-phosh
|
|
$pkgname-x11
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
# osk-sdl touchscreen calibration
|
|
install -Dm644 "$srcdir"/pointercal \
|
|
"$pkgdir"/etc/pointercal
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Pegatron Chagall WiFi & Bluetooth firmware"
|
|
depends="firmware-asus-transformer"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
x11() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
|
|
depends="xf86-video-opentegra"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
5130d953488d9ddbd7eeeddff3446a865d59b5f12e6c7cae7abf6b66103d371f310aee4e173f0107865461da0ee4ad56d3f96a0de3e746a12b605ba270947fd8 deviceinfo
|
|
61418c6a0df6c1a4d4bacafb98abcd8897d81fc1ae319cbe451aaebd90a8d231e2ec1812b45d72687f901cc1e2c874f12960b50026becdf42917c8c2d5fbad77 pointercal
|
|
618284cdaccd09e60cb9a99afa337fcad7b3bd33f6422b9eae34175bc4516138d486cbb9f5735cafb325bc16cf362de16aeae7c77d334668c749afcfa557359b rootston.ini
|
|
"
|