4914067590
The file is automatically packed by devicepkg-dev utils Relates #1836
67 lines
1.7 KiB
Text
67 lines
1.7 KiB
Text
# Maintainer: Svyatoslav Ryhel <clamor95@gmail.com>
|
|
|
|
pkgname=device-asus-tf300tg
|
|
pkgdesc="Asus Transformer Pad 3G TF300TG"
|
|
pkgver=2
|
|
pkgrel=2
|
|
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="
|
|
645d2940d2b4b7c22ef9937398af7d49e5cd33f30e91d697c601eacf559f75be479f3e39ff5abbc92906390ffc7fb13254d57ea0dab4a689e3e2120b12486903 deviceinfo
|
|
9f87e8f52270f0e4924ac8a36f90b06817c92078bbf5327f5c45adc0c9a146fcea6d2df4401c9f4bd4ae97b660804a5ee7366e46ad779661f74f5082c837b875 modules-initfs
|
|
d4270d13750b4c63a2f02a31ef42d00496ae71fc2c9cb8a7505da41d343911df353ff9150136f5cef143bf844024fee096f751ec0fa18589fae51dc30b1063c6 pointercal
|
|
a68de5e4d219b2d0746542e768db02b3240d56c977f0aa4cedd09b25933845e3ad0410439a5b47321d8a071b93620c002785fd4e51be06222c754feacac4f382 phoc.ini
|
|
"
|