microsoft-surface-rt: move libvdpau-tegra to x11 subpackage (MR 4680)

It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
This commit is contained in:
Anton Bambura 2024-01-02 20:15:46 +02:00 committed by Alexey Minnekhanov
parent 9b0b8a4585
commit 6c9586a13c
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -3,7 +3,7 @@
pkgname=device-microsoft-surface-rt
pkgdesc="Microsoft Surface RT"
pkgver=6
pkgrel=6
pkgrel=7
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -11,7 +11,6 @@ arch="armv7"
options="!check !archcheck pmb:strict"
depends="postmarketos-base
linux-postmarketos-grate
libvdpau-tegra
alsa-ucm-conf
"
makedepends="devicepkg-dev grub grub-efi"
@ -68,7 +67,7 @@ nonfree_firmware() {
x11() {
install_if="$pkgname xorg-server"
depends="xf86-video-opentegra"
depends="xf86-video-opentegra libvdpau-tegra"
mkdir "$subpkgdir"
}