Author: churchyard
Update of /cvs/free/rpms/mpv/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv21599
Modified Files:
.cvsignore mpv.spec sources
Removed Files:
mpv-format-security.patch
Log Message:
* Wed Jan 01 2014 Miro Hrončok <mhroncok(a)redhat.com> - 0.3.0-1
- New version 0.3.0
- Switch to waf
- Add some tricks from openSUSE
- Removed already included patch
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mpv/F-19/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 1 Sep 2013 11:43:17 -0000 1.2
+++ .cvsignore 1 Jan 2014 17:04:06 -0000 1.3
@@ -1 +1 @@
-v0.1.2.tar.gz
+v0.3.0.tar.gz
Index: mpv.spec
===================================================================
RCS file: /cvs/free/rpms/mpv/F-19/mpv.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- mpv.spec 22 Dec 2013 21:14:26 -0000 1.15
+++ mpv.spec 1 Jan 2014 17:04:06 -0000 1.16
@@ -1,6 +1,6 @@
Name: mpv
-Version: 0.2.4
-Release: 8%{?dist}
+Version: 0.3.0
+Release: 1%{?dist}
Summary: Movie player playing most video formats and DVDs
License: GPLv2+
URL: http://%{name}.io/
@@ -10,15 +10,14 @@
# set defaults for Fedora
Patch0: %{name}-config.patch
-#
https://github.com/mpv-player/mpv/pull/422
-Patch1: %{name}-format-security.patch
-
BuildRequires: aalib-devel
BuildRequires: alsa-lib-devel
BuildRequires: bzip2-devel
BuildRequires: desktop-file-utils
BuildRequires: ffmpeg-devel
BuildRequires: ffmpeg-libs
+BuildRequires: libcdio-devel
+BuildRequires: libcdio-paranoia-devel
BuildRequires: libGL-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXinerama-devel
@@ -39,6 +38,7 @@
BuildRequires: lua-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: python-docutils
+BuildRequires: waf
BuildRequires: wayland-devel
Requires: hicolor-icon-theme
@@ -53,27 +53,27 @@
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
-./configure \
- --prefix=%{_prefix} \
- --bindir=%{_bindir} \
- --mandir=%{_mandir} \
- --confdir=%{_sysconfdir}/%{name} \
- --extra-cflags="$RPM_OPT_FLAGS" \
+CCFLAGS="%{optflags}" \
+waf configure \
+ --prefix="%{_prefix}" \
+ --bindir="%{_bindir}" \
+ --mandir="%{_mandir}" \
+ --docdir="%{_docdir}/%{name}" \
+ --confdir="%{_sysconfdir}/%{name}" \
--enable-joystick \
--enable-lirc \
--enable-radio \
--enable-radio-capture \
- --enable-smb \
- --disable-termcap \
- --extra-cflags='-I/usr/include/samba-4.0/'
+ --disable-sdl --disable-sdl2 \
+ --disable-build-date \
+ --disable-debug
-make %{?_smp_mflags}
+waf build --verbose %{?_smp_mflags}
%install
-make install DESTDIR=%{buildroot}
+waf --destdir=%{buildroot} install %{?_smp_mflags}
# Default config files
install -Dpm 644 etc/example.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
@@ -107,11 +107,18 @@
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_mandir}/man1/%{name}.*
-%{_sysconfdir}/%{name}
+%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
+%config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf
%config(noreplace) %{_sysconfdir}/%{name}/input.conf
%changelog
+* Wed Jan 01 2014 Miro Hrončok <mhroncok(a)redhat.com> - 0.3.0-1
+- New version 0.3.0
+- Switch to waf
+- Add some tricks from openSUSE
+- Removed already included patch
+
* Sun Dec 22 2013 Miro Hrončok <mhroncok(a)redhat.com> - 0.2.4-8
- Added patch for
https://fedoraproject.org/wiki/Changes/FormatSecurity
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mpv/F-19/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 15 Dec 2013 18:43:39 -0000 1.5
+++ sources 1 Jan 2014 17:04:06 -0000 1.6
@@ -1 +1 @@
-465e99ed24478f3a2afe5ae1c4fdd7f4 v0.2.4.tar.gz
+47c9ea5fc8cf0c15cc6a15631bfbc770 v0.3.0.tar.gz
--- mpv-format-security.patch DELETED ---