samsung-i927: 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:18:32 +02:00 committed by Alexey Minnekhanov
parent c332d82f77
commit 9d01f154ae
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -2,7 +2,7 @@
pkgname=device-samsung-i927
pkgdesc="Samsung Captivate Glide"
pkgver=0.3
pkgrel=15
pkgrel=16
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -12,8 +12,7 @@ depends="postmarketos-base
mkbootimg
alsa-utils
setxkbmap
pm-utils
libvdpau-tegra"
pm-utils"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-x11"
source="deviceinfo
@ -66,7 +65,7 @@ nonfree_firmware() {
x11() {
install_if="$pkgname xorg-server"
depends="xf86-video-opentegra"
depends="xf86-video-opentegra libvdpau-tegra"
mkdir "$subpkgdir"
}