pmaports/device/testing/device-asus-tf300t/APKBUILD
Pablo Correa Gómez ea93a6d07f
device/*: rebuild all devices to relocate deviceinfo (MR 4283)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-09-25 09:21:03 +02:00

67 lines
1.7 KiB
Text

# Maintainer: Svyatoslav Ryhel <clamor95@gmail.com>
pkgname=device-asus-tf300t
pkgdesc="Asus Transformer Pad TF300T"
pkgver=4
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
alsa-ucm-conf
asus-transformer-blobtools
libvdpau-tegra
linux-postmarketos-grate
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
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="
906ef41d8181223381ea5b9ce6868e85e092c6a9141fb2b7bb60f0efa956a945f3a9db44d52d77512b7471744decb9dbcc7ba957cf82e565f8bfb69dabff39ec deviceinfo
9f87e8f52270f0e4924ac8a36f90b06817c92078bbf5327f5c45adc0c9a146fcea6d2df4401c9f4bd4ae97b660804a5ee7366e46ad779661f74f5082c837b875 modules-initfs
c0f1aa7b041f9bbf8f6d2a7e2e42d1a54770eaf44fb27cd6b13dd8dd10a8c3960325027deb5766c750a9357b60da752ca6ce96374cdf52cbc8bea5750d6449a9 pointercal
a68de5e4d219b2d0746542e768db02b3240d56c977f0aa4cedd09b25933845e3ad0410439a5b47321d8a071b93620c002785fd4e51be06222c754feacac4f382 phoc.ini
"