device-tablet-{x86,x64}uefi: add support for intel hw video decoding (MR 4375)

This also adds a version constraint to the libva install_if
This commit is contained in:
Clayton Craft 2023-09-05 11:46:36 -07:00
parent 9e454209e5
commit 37610c57f7
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 14 additions and 6 deletions

View file

@ -2,7 +2,7 @@
pkgname=device-tablet-x64uefi
pkgdesc="Various tablets with atom CPU"
pkgver=0.4
pkgrel=3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
@ -70,8 +70,8 @@ package() {
}
libva() {
install_if="$pkgname libva"
depends="intel-media-driver libva-intel-driver"
install_if="$pkgname=$pkgver-r$pkgrel libva"
depends="intel-media-driver libva-intel-driver mesa-va-gallium"
mkdir "$subpkgdir"
}

View file

@ -2,7 +2,7 @@
pkgname=device-tablet-x86uefi
pkgdesc="Various tablets with atom CPU"
pkgver=7
pkgrel=2
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
@ -10,19 +10,21 @@ options="!check !archcheck"
depends="
alsa-ucm-conf
grub-x86
libva-intel-driver
linux-lts
postmarketos-base
sof-firmware
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-libva
$pkgname-nonfree-firmware:nonfree_firmware
"
source="
ath6kl.conf
deviceinfo
modules-initfs
grub.cfg
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
@ -38,6 +40,12 @@ package() {
-t "$pkgdir"/lib/modprobe.d/
}
libva() {
install_if="$pkgname=$pkgver-r$pkgrel libva"
depends="intel-media-driver libva-intel-driver mesa-va-gallium"
mkdir "$subpkgdir"
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware, used by some tablets"
depends="firmware-ath6kl"