From 7cf54167a7cd6fc95fa18b51b8c9f97ad06f08bd150dc4565fed2acb117093de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 27 May 2015 10:56:05 +0000 Subject: [PATCH] - Try to fix build for both Factory and packman * We neeed to sync this up OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=10 --- mpv.changes | 6 ++++++ mpv.spec | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/mpv.changes b/mpv.changes index 3a3c86e..3fb2062 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 27 10:53:28 UTC 2015 - tchvatal@suse.com + +- Try to fix build for both Factory and packman + * We neeed to sync this up + ------------------------------------------------------------------- Wed May 27 09:23:41 UTC 2015 - tchvatal@suse.com diff --git a/mpv.spec b/mpv.spec index 38eb965..f9da1b1 100644 --- a/mpv.spec +++ b/mpv.spec @@ -89,7 +89,21 @@ BuildRequires: pkgconfig(zlib) Recommends: youtube-dl BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?BUILD_ORIG} +# ffmpeg pkgconfig not possible on factory due to missing preffer in prjconfigs +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavdevice) >= 55.0.0 +BuildRequires: pkgconfig(libavfilter) >= 5.0.0 +BuildRequires: pkgconfig(libavformat) +BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libmpg123) +BuildRequires: pkgconfig(libswresample) >= 1.1.100 +%else +BuildRequires: libavcodec-devel +BuildRequires: libavdevice-devel +BuildRequires: libavfilter-devel +BuildRequires: libavformat-devel +BuildRequires: libavutil-devel +BuildRequires: libswscale-devel %endif # PDF manual. # JIT for lua.