9fef7b33d0
Re-arrange and update dependencies. Add X11 subpackage. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Maxim Schwalm <maxim.schwalm@gmail.com> [ci:skip-build] already built successfully in CI
60 lines
1.3 KiB
Text
60 lines
1.3 KiB
Text
# Maintainer: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
|
|
|
|
pkgname=device-pegatron-chagall
|
|
pkgdesc="Pegatron Chagall"
|
|
pkgver=2
|
|
pkgrel=1
|
|
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
|
|
rootston.ini
|
|
"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-phosh
|
|
$pkgname-x11
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
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="
|
|
fbf38232f272bde3bf563e603dca78a6aa606a889acd52c27f6062df9dac4ab2516e4d684333244eb631cbb2874d2d7ff04553b7b0e5dbdc5e5d6fb88c3b95b1 deviceinfo
|
|
618284cdaccd09e60cb9a99afa337fcad7b3bd33f6422b9eae34175bc4516138d486cbb9f5735cafb325bc16cf362de16aeae7c77d334668c749afcfa557359b rootston.ini
|
|
"
|