1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-15 18:39:05 +01:00
OpenVoiceOS/buildroot-patches/0016-Disable-QT-suppor-for-VLC.patch
2022-05-12 10:44:08 +02:00

46 lines
1.2 KiB
Diff

From 0830e3edbb1347f0a264dc9a2f308a6876e916d6 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Thu, 7 Apr 2022 14:25:17 +0200
Subject: [PATCH 1/1] Disable QT suppor for VLC
---
package/vlc/vlc.mk | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index b793e0efe0..f3f6c90c88 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -86,6 +86,8 @@ VLC_CONF_OPTS += \
--disable-wasapi \
--disable-x262 \
--disable-zvbi \
+ --disable-qt \
+ --disable-skins2 \
--enable-run-as-root
# Uses __atomic_fetch_add_4
@@ -483,19 +485,6 @@ else
VLC_CONF_OPTS += --disable-pulse
endif
-ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS)$(BR2_PACKAGE_QT5SVG),yy)
-VLC_CONF_OPTS += --enable-qt
-VLC_DEPENDENCIES += qt5base qt5svg
-ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT)$(BR2_PACKAGE_XLIB_LIBXINERAMA)$(BR2_PACKAGE_XLIB_LIBXPM),yyy)
-VLC_CONF_OPTS += --enable-skins2
-VLC_DEPENDENCIES += xlib_libXext xlib_libXinerama xlib_libXpm
-else
-VLC_CONF_OPTS += --disable-skins2
-endif
-else
-VLC_CONF_OPTS += --disable-qt --disable-skins2
-endif
-
ifeq ($(BR2_PACKAGE_SDL_IMAGE),y)
VLC_CONF_OPTS += --enable-sdl-image
VLC_DEPENDENCIES += sdl_image
--
2.20.1