Accepting request 390467 from home:olh:branches:KDE:Frameworks5

- Use pkgconfig instead of libffmpeg-devel
  ffmpeg-buildrequires.patch

OBS-URL: https://build.opensuse.org/request/show/390467
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kfilemetadata5?expand=0&rev=99
This commit is contained in:
Hrvoje Senjan
2016-04-17 20:59:17 +00:00
committed by Git OBS Bridge
parent 088dc009c1
commit 316ca6942b
3 changed files with 51 additions and 1 deletions

View File

@@ -29,9 +29,12 @@ Url: http://www.kde.org/
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/kfilemetadata-%{version}.tar.xz
Source1: baselibs.conf
Source99: kfilemetadata5-rpmlintrc
Patch0: ffmpeg-buildrequires.patch
BuildRequires: extra-cmake-modules >= %{_tar_path}
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
BuildRequires: ffmpeg-devel
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
%endif
BuildRequires: karchive-devel >= %{_tar_path}
BuildRequires: kf5-filesystem
@@ -65,6 +68,7 @@ A library for extracting file metadata. Development files
%lang_package
%prep
%setup -q -n kfilemetadata-%{version}
%patch0 -p1
%build
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5