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