2021-03-15 10:09:02 +00:00
|
|
|
# Maintainer: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
|
|
|
|
|
|
|
|
pkgname=device-pegatron-chagall
|
|
|
|
pkgdesc="Pegatron Chagall"
|
2022-05-05 14:50:55 +00:00
|
|
|
pkgver=6
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=3
|
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
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2021-03-15 10:09:02 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-07-20 14:15:25 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
d2e6363371f6661d40c426bbcf3236b5c099fc187118ad44f176db2cf5d918e81ab85dbd13079eca42b62ac54e7e4647532e669053e3b415511bddd40a7ba83d deviceinfo
|
|
|
|
1a05f07804ef96ae93a3d81332d8ea6ec81fb04745d14f495b83d79774feeba4ab84141a4eea2493ca88e9261fb7a27be27e17ed532a7041bf09a4e2ddd2f6de modules-initfs
|
2021-09-16 13:51:53 +00:00
|
|
|
61418c6a0df6c1a4d4bacafb98abcd8897d81fc1ae319cbe451aaebd90a8d231e2ec1812b45d72687f901cc1e2c874f12960b50026becdf42917c8c2d5fbad77 pointercal
|
2022-05-05 14:50:55 +00:00
|
|
|
064129c96a617d3e7bfc56f399b9b46ca3d56325c3777ab28b1f7de242e8199cf33c03a9a071c83a833180a12d9d2abb5d32174f0d8d792a370e6320ec4d7808 phoc.ini
|
2021-07-19 17:16:43 +00:00
|
|
|
"
|