2021-02-01 02:53:03 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-tablet-x86uefi
|
|
|
|
pkgdesc="Various tablets with atom CPU"
|
2023-06-18 16:52:18 +00:00
|
|
|
pkgver=7
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=4
|
2021-02-01 02:53:03 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86_64"
|
|
|
|
options="!check !archcheck"
|
2023-08-25 06:49:47 +00:00
|
|
|
depends="
|
|
|
|
alsa-ucm-conf
|
|
|
|
grub-x86
|
|
|
|
linux-lts
|
|
|
|
postmarketos-base
|
|
|
|
sof-firmware
|
|
|
|
"
|
2021-02-01 02:53:03 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-09-05 18:46:36 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-libva
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2023-06-18 16:52:18 +00:00
|
|
|
source="
|
|
|
|
ath6kl.conf
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2023-06-18 16:52:18 +00:00
|
|
|
grub.cfg
|
|
|
|
"
|
2021-02-01 02:53:03 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2023-06-18 16:52:18 +00:00
|
|
|
|
2021-02-01 02:53:03 +00:00
|
|
|
install -D "$srcdir"/grub.cfg \
|
|
|
|
"$pkgdir"/boot/grub/grub.cfg
|
2023-06-18 16:52:18 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/ath6kl.conf \
|
|
|
|
-t "$pkgdir"/lib/modprobe.d/
|
2021-02-01 02:53:03 +00:00
|
|
|
}
|
|
|
|
|
2023-09-05 18:46:36 +00:00
|
|
|
libva() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel libva"
|
|
|
|
depends="intel-media-driver libva-intel-driver mesa-va-gallium"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2023-06-16 19:20:25 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi/BT firmware, used by some tablets"
|
|
|
|
depends="firmware-ath6kl"
|
|
|
|
mkdir "$subpkgdir"
|
2021-02-01 02:53:03 +00:00
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2023-06-18 16:52:18 +00:00
|
|
|
41bfee76f89b323afa642a2d96f18b33cb73fec28518873e1e3f7e05764d85afd7b620b1ef23fd8d43172fd1cc164056ed893f872fa1894eebafc7ce7b2030f1 ath6kl.conf
|
2023-08-02 17:06:01 +00:00
|
|
|
fa5610e95b58f8f24e8d6d1a77d12fe3f1ed04f42c35d1f94de77479316b9bd5933d3d7ac3413c986e41acf5aedef8322b28c191054774eb3b1da03b34d4a536 deviceinfo
|
|
|
|
63206caf9a86ddd6185b47a498f424b322bb926507e4ff91dedb5991a055343c0b0e33d1153e0ef91f016928254b3043da6f2dc0dd014755d2bd4ef32e5a5922 modules-initfs
|
2021-09-15 01:52:05 +00:00
|
|
|
2d951d71102181db85a2468fd770ee3a7958c06b14e27e52e0d4ff0e9b88f3ab3c5c9b15c8a938d1cd2ae0c94ad2aad7001f1b6fe943f96a38602085f481a4cf grub.cfg
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|