2021-07-20 14:15:25 +00:00
|
|
|
# Maintainer: Svyatoslav Ryhel <clamor95@gmail.com>
|
|
|
|
|
2021-03-13 15:23:29 +00:00
|
|
|
pkgname=device-asus-tf300t
|
|
|
|
pkgdesc="Asus Transformer Pad TF300T"
|
2021-06-01 06:17:27 +00:00
|
|
|
pkgver=2
|
2021-07-20 14:15:25 +00:00
|
|
|
pkgrel=1
|
2021-03-13 15:23:29 +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
|
|
|
|
mesa-dri-gallium
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2021-03-13 15:23:29 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-07-20 14:15:25 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
rootston.ini
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
$pkgname-x11
|
|
|
|
"
|
2021-03-13 15:23:29 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
2021-07-20 14:15:25 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
2021-03-13 15:23:29 +00:00
|
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Asus Transformers WiFi & BT firmware"
|
|
|
|
depends="firmware-asus-transformer linux-firmware-brcm linux-firmware-cypress"
|
|
|
|
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="
|
|
|
|
906ef41d8181223381ea5b9ce6868e85e092c6a9141fb2b7bb60f0efa956a945f3a9db44d52d77512b7471744decb9dbcc7ba957cf82e565f8bfb69dabff39ec deviceinfo
|
2021-03-13 15:23:29 +00:00
|
|
|
6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini
|
2021-06-01 06:17:27 +00:00
|
|
|
"
|