From e32e81276b260d93087dd1f79e46a45dab88adca6d2f8ec10a125fb282a83b2a Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 15 Oct 2016 21:41:33 +0000 Subject: [PATCH] - Enable libarchive support OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=60 --- mpv.changes | 5 +++++ mpv.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mpv.changes b/mpv.changes index f5e1b1c..fa028a2 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 15 21:40:14 UTC 2016 - mpluskal@suse.com + +- Enable libarchive support + ------------------------------------------------------------------- Fri Sep 2 07:45:36 UTC 2016 - idonmez@suse.com diff --git a/mpv.spec b/mpv.spec index 521e783..5551652 100644 --- a/mpv.spec +++ b/mpv.spec @@ -25,9 +25,9 @@ Name: mpv Version: 0.20.0 Release: 0 Summary: Advanced general-purpose multimedia player +# waf is licensed with BSD-3-Clause License: GPL-2.0+ and BSD-3-Clause Group: Productivity/Multimedia/Video/Players -# waf is licensed with BSD-3-Clause Url: http://mpv.io/ Source: http://github.com/mpv-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # Can't use system one as it breaks quite often with updates @@ -48,7 +48,6 @@ BuildRequires: ncurses-devel BuildRequires: perl BuildRequires: pkg-config BuildRequires: python-docutils -BuildRequires: python3 BuildRequires: update-desktop-files BuildRequires: yasm BuildRequires: pkgconfig(alsa) @@ -60,6 +59,7 @@ BuildRequires: pkgconfig(enca) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(lcms2) >= 2.6 +BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libass) >= 0.12.1 BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) >= 55.0.0 @@ -82,6 +82,7 @@ BuildRequires: pkgconfig(libva-x11) BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(openal) >= 1.13 BuildRequires: pkgconfig(portaudio-2.0) +BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(xext) @@ -187,6 +188,7 @@ export CCFLAGS="%{optflags}" --enable-libmpv-shared \ --enable-zsh-comp \ --enable-manpage-build \ + --enable-libarchive \ %if 0%{?suse_version} > 1320 --enable-pdf-build \ %endif