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:
parent
9e454209e5
commit
37610c57f7
2 changed files with 14 additions and 6 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue