2021-03-15 10:09:02 +00:00
|
|
|
# Maintainer: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
|
|
|
|
|
|
|
|
pkgname=device-pegatron-chagall
|
|
|
|
pkgdesc="Pegatron Chagall"
|
2021-07-19 17:16:43 +00:00
|
|
|
pkgver=2
|
2021-07-20 14:15:25 +00:00
|
|
|
pkgrel=1
|
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
|
|
|
|
rootston.ini
|
|
|
|
"
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
2021-07-20 14:15:25 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
2021-03-15 10:09:02 +00:00
|
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
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="
|
|
|
|
fbf38232f272bde3bf563e603dca78a6aa606a889acd52c27f6062df9dac4ab2516e4d684333244eb631cbb2874d2d7ff04553b7b0e5dbdc5e5d6fb88c3b95b1 deviceinfo
|
2021-03-15 10:09:02 +00:00
|
|
|
618284cdaccd09e60cb9a99afa337fcad7b3bd33f6422b9eae34175bc4516138d486cbb9f5735cafb325bc16cf362de16aeae7c77d334668c749afcfa557359b rootston.ini
|
2021-07-19 17:16:43 +00:00
|
|
|
"
|