[mpv] Update to 0.19.0

Leigh Scott leigh123linux at rpmfusion.org
Tue Aug 16 15:40:56 CEST 2016


commit 8be4c42fbd1ddb65326abafb21c26016700232af
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Tue Aug 16 14:40:52 2016 +0100

    Update to 0.19.0

 .gitignore |  1 +
 mpv.spec   | 20 ++++++++++++++------
 sources    |  2 +-
 3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0348db5..95804f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 v0.14.0.tar.gz
 /v0.18.0.tar.gz
 /v0.18.1.tar.gz
+/mpv-0.19.0.tar.gz
diff --git a/mpv.spec b/mpv.spec
index 557cda9..b4f0907 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,10 +1,10 @@
 Name:           mpv
-Version:        0.18.1
-Release:        2%{?dist}
+Version:        0.19.0
+Release:        1%{?dist}
 Summary:        Movie player playing most video formats and DVDs
 License:        GPLv2+
 URL:            http://%{name}.io/
-Source0:        https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz
+Source0:        https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 
 # set defaults for Fedora
 Patch0:         %{name}-config.patch
@@ -79,7 +79,6 @@ Summary: Development package for libmpv
 Requires: mpv-libs%{_isa} = %{version}-%{release}
 Provides: libmpv-devel = %{version}-%{release}
 Obsoletes: libmpv-devel < %{version}-%{release}
-Requires: pkgconfig
 
 %description libs-devel
 Libmpv development header files and libraries.
@@ -90,7 +89,8 @@ Libmpv development header files and libraries.
 
 
 %build
-CCFLAGS="%{optflags}" \
+CFLAGS="${RPM_OPT_FLAGS}" \
+LDFLAGS="${RPM_LD_FLAGS}" \
 waf configure \
     --prefix=%{_prefix} \
     --bindir=%{_bindir} \
@@ -103,7 +103,7 @@ waf configure \
     --enable-sdl2 \
     --enable-encoding
 
-waf build %{?_smp_mflags}
+waf -v build %{?_smp_mflags}
 
 %install
 waf install --destdir=%{buildroot}
@@ -150,6 +150,14 @@ fi
 %{_libdir}/pkgconfig/mpv.pc
 
 %changelog
+* Tue Aug 16 2016 Leigh Scott <leigh123linux at googlemail.com> - 0.19.0-3
+- Update to 0.19.0
+- Add LDFLAGS so build is hardened
+- Fix CFLAGS
+- Make build verbose
+- Remove Requires pkgconfig from devel sub-package
+- Fix source tag
+
 * Sat Jul 30 2016 Julian Sikorski <belegdol at fedoraproject.org> - 0.18.1-2
 - Rebuilt for ffmpeg-3.1.1
 
diff --git a/sources b/sources
index 5f2d4e5..6d0e7f8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-708ef2f30825128b3eb9dd35a47ee7e4  v0.18.1.tar.gz
+fa91789d030b93388543a8afef4352b1  mpv-0.19.0.tar.gz


More information about the rpmfusion-commits mailing list