samsung-p4wifi: 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:19:11 +02:00 committed by Alexey Minnekhanov
parent 9d01f154ae
commit 71b23d8d95
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -2,7 +2,7 @@
pkgname=device-samsung-p4wifi
pkgdesc="Galaxy Tab 10.1"
pkgver=0.5
pkgrel=6
pkgrel=7
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -10,8 +10,7 @@ options="!check !archcheck"
depends="postmarketos-base
linux-postmarketos-grate
mkbootimg
alsa-utils
libvdpau-tegra"
alsa-utils"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-x11"
source="
@ -49,7 +48,7 @@ nonfree_firmware() {
x11() {
install_if="$pkgname xorg-server"
depends="xf86-video-opentegra"
depends="xf86-video-opentegra libvdpau-tegra"
mkdir "$subpkgdir"
}