From 3311434e63069a0adb074ff7523e99dc1e9e6d18 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 28 Jun 2013 05:47:46 +0000 Subject: [PATCH] HACK for build on fedora-20 --- vlc.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vlc.spec b/vlc.spec index c18ed15..bd0cae1 100644 --- a/vlc.spec +++ b/vlc.spec @@ -18,6 +18,7 @@ %if 0%{?fedora} %global _with_fluidsynth 1 %global _with_bluray 1 +%global _with_opencv 1 %ifarch x86_64 i686 %global _with_crystalhd 1 %endif @@ -97,6 +98,7 @@ BuildRequires: libtheora-devel BuildRequires: libtiger-devel BuildRequires: libtiff-devel BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libvncclient) BuildRequires: libupnp-devel BuildRequires: libv4l-devel %{?_with_vaapi:BuildRequires: libva-devel} @@ -270,7 +272,9 @@ rm aclocal.m4 m4/lib*.m4 m4/lt*.m4 || : --enable-ncurses \ --enable-lirc \ %if 0%{?fedora} < 19 - --disable-vdpau + --disable-vdpau \ +%else + --disable-vaapi \ %endif