2020-12-16 23:32:35 +00:00
|
|
|
# Maintainer: Svyatoslav Ryhel <clamor95@gmail.com>
|
|
|
|
# Co-Maintainer: Ion Agorria
|
|
|
|
|
|
|
|
pkgname=device-asus-tf201
|
|
|
|
pkgdesc="Asus Transformer Prime TF201"
|
2022-05-05 14:50:55 +00:00
|
|
|
pkgver=4
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=1
|
2020-12-16 23:32:35 +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
|
|
|
|
"
|
2020-12-16 23:32:35 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-07-20 14:15:25 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2021-08-15 09:56:51 +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
|
|
|
|
"
|
2020-12-16 23:32:35 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2021-08-15 09:56:51 +00:00
|
|
|
|
|
|
|
# osk-sdl touchscreen calibration
|
|
|
|
install -Dm644 "$srcdir"/pointercal \
|
|
|
|
"$pkgdir"/etc/pointercal
|
2020-12-16 23:32:35 +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
|
2020-12-16 23:32:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-03-13 17:23:49 +00:00
|
|
|
pkgdesc="Asus Transformers WiFi & BT firmware"
|
2021-08-19 07:37:35 +00:00
|
|
|
depends="firmware-asus-transformer"
|
2020-12-16 23:32:35 +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-06-01 06:17:27 +00:00
|
|
|
sha512sums="
|
2021-08-12 10:45:13 +00:00
|
|
|
5c8652e181c741002aafa2ca714ee169172ad83fe8d8d0156176ed253d40381a90e3868737ae7b2fefc107277ce80d68553dbe8a985ecb4747fa43e0fd63fe6f deviceinfo
|
2021-08-15 09:56:51 +00:00
|
|
|
dcb4e5b6b808205811d9e4f8d5dfa88ff357eb98a8e73ebe46c5cb22f1d2addfc49e552a93bfe678e91467907032676cf7602d418463a20da245b2dbdb494b78 pointercal
|
2022-05-05 14:50:55 +00:00
|
|
|
a68de5e4d219b2d0746542e768db02b3240d56c977f0aa4cedd09b25933845e3ad0410439a5b47321d8a071b93620c002785fd4e51be06222c754feacac4f382 phoc.ini
|
2021-06-01 06:17:27 +00:00
|
|
|
"
|