commit e1f1fa9c10d7cb325cfe37235c2ec4f9a937be1e
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Jun 24 08:35:14 2017 +0200
Restore wayland with a patch - rhbz#4552
vlc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/vlc.spec b/vlc.spec
index 3b47c7e..524564e 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -29,7 +29,7 @@
%global _with_freerdp 1
%global _with_projectm 1
%global _with_schroedinger 1
-%global _with_wayland 0
+%global _with_wayland 1
%endif
%ifarch x86_64 i686
%global _with_crystalhd 1
@@ -44,6 +44,8 @@ License: GPLv2+
Group: Applications/Multimedia
URL:
http://www.videolan.org
Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_rc}.tar.xz
+#https://trac.videolan.org/vlc/ticket/18383
+Patch0: 0001-qt-Prefer-XCB-over-Wayland.patch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -250,6 +252,7 @@ VLC media player extras modules.
%prep
%setup -q -n %{name}-%{version}%{?vlc_rc:-git}
+%patch0 -p1 -b .wl
%{?_with_bootstrap:
rm aclocal.m4 m4/lib*.m4 m4/lt*.m4 || :
./bootstrap