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
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=3
|
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
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
344e1a878b654c9f50438ad44e68b5cb2c86c01815a29a4eb6c1c791cfd37ff0ea681f5755bdcb2b9035d6608b4ddc87d44c0e3838eb0bdf8e8c8f79e16e84db deviceinfo
|
|
|
|
81b679ccb0d6ca4c5643b7d98087bbec8e7c2a72f3d6154926886b770c038d00d4b10cc827438c1725ad8e304e12796a571974e318d3c6dc0d37e96851998681 modules-initfs
|
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
|
|
|
"
|