b2c4544ef2
rootston.ini is an old, deprecated name. [ci:ignore-count]
66 lines
1.5 KiB
Text
66 lines
1.5 KiB
Text
# Maintainer: Svyatoslav Ryhel <clamor95@gmail.com>
|
|
|
|
pkgname=device-asus-tf300t
|
|
pkgdesc="Asus Transformer Pad TF300T"
|
|
pkgver=3
|
|
pkgrel=4
|
|
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
|
|
phoc.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"/phoc.ini \
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Asus Transformers WiFi & BT firmware"
|
|
depends="firmware-asus-transformer"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
x11() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
|
|
depends="xf86-video-opentegra"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
0728a74cce8de74cf15cbbc155963ebc4ff3abf59ea0d3f80a74f66130e2da1f852829e31ad882ade894872cc23dbedd7a3bfc3d2c9e537c196801af3d086e52 deviceinfo
|
|
c0f1aa7b041f9bbf8f6d2a7e2e42d1a54770eaf44fb27cd6b13dd8dd10a8c3960325027deb5766c750a9357b60da752ca6ce96374cdf52cbc8bea5750d6449a9 pointercal
|
|
6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 phoc.ini
|
|
"
|