commit f7f8b8993af66bec602a691b3b1b0313fed1e91c
Author: Moez Roy <moez.roy(a)gmail.com>
Date: Tue Oct 7 11:07:51 2014 -0700
There is no Wayland in EPEL. Updating spec file with %if...
gstreamer1-vaapi.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gstreamer1-vaapi.spec b/gstreamer1-vaapi.spec
index 91dfaf0..4d732a8 100644
--- a/gstreamer1-vaapi.spec
+++ b/gstreamer1-vaapi.spec
@@ -15,13 +15,15 @@ BuildRequires: libva-devel >= 1.1.0
BuildRequires: libdrm-devel
BuildRequires: libudev-devel
BuildRequires: libGL-devel
-%{!?_without_wayland:
+BuildRequires: libvpx-devel
+
+%if 0%{?fedora} || 0%{?rhel} >= 8
BuildRequires: wayland-devel
BuildRequires: pkgconfig(wayland-client) >= 1
BuildRequires: pkgconfig(wayland-scanner) >= 1
BuildRequires: pkgconfig(wayland-server) >= 1
-}
-BuildRequires: libvpx-devel
+%endif
+
%description