* Wed Jan 01 2014 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-1

- New version 0.3.0
- Switch to waf
- Add some tricks from openSUSE
- Removed already included patch
el8
churchyard 11 years ago
parent 678570d0ab
commit afbb234acc

2
.gitignore vendored

@ -1 +1 @@
v0.2.4.tar.gz v0.3.0.tar.gz

@ -1,13 +0,0 @@
diff --git a/stream/stream_radio.c b/stream/stream_radio.c
index d233739..19c536d 100644
--- a/stream/stream_radio.c
+++ b/stream/stream_radio.c
@@ -858,7 +858,7 @@ static int open_s(stream_t *stream,int mode)
mp_msg(MSGT_RADIO,MSGL_V,"\n");
if(priv->driver)
- mp_msg(MSGT_RADIO, MSGL_INFO, priv->driver->info);
+ mp_msg(MSGT_RADIO, MSGL_INFO, "%s",priv->driver->info);
else{
mp_tmsg(MSGT_RADIO, MSGL_INFO, "[radio] Unknown driver name: %s\n",priv->radio_param->driver);
close_s(stream);

@ -1,6 +1,6 @@
Name: mpv Name: mpv
Version: 0.2.4 Version: 0.3.0
Release: 8%{?dist} Release: 1%{?dist}
Summary: Movie player playing most video formats and DVDs Summary: Movie player playing most video formats and DVDs
License: GPLv2+ License: GPLv2+
URL: http://%{name}.io/ URL: http://%{name}.io/
@ -10,15 +10,14 @@ Source1: %{name}.desktop
# set defaults for Fedora # set defaults for Fedora
Patch0: %{name}-config.patch Patch0: %{name}-config.patch
# https://github.com/mpv-player/mpv/pull/422
Patch1: %{name}-format-security.patch
BuildRequires: aalib-devel BuildRequires: aalib-devel
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: ffmpeg-devel BuildRequires: ffmpeg-devel
BuildRequires: ffmpeg-libs BuildRequires: ffmpeg-libs
BuildRequires: libcdio-devel
BuildRequires: libcdio-paranoia-devel
BuildRequires: libGL-devel BuildRequires: libGL-devel
BuildRequires: libXScrnSaver-devel BuildRequires: libXScrnSaver-devel
BuildRequires: libXinerama-devel BuildRequires: libXinerama-devel
@ -39,6 +38,7 @@ BuildRequires: lirc-devel
BuildRequires: lua-devel BuildRequires: lua-devel
BuildRequires: pulseaudio-libs-devel BuildRequires: pulseaudio-libs-devel
BuildRequires: python-docutils BuildRequires: python-docutils
BuildRequires: waf
BuildRequires: wayland-devel BuildRequires: wayland-devel
Requires: hicolor-icon-theme Requires: hicolor-icon-theme
@ -53,27 +53,27 @@ output methods are supported.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
%build %build
./configure \ CCFLAGS="%{optflags}" \
--prefix=%{_prefix} \ waf configure \
--bindir=%{_bindir} \ --prefix="%{_prefix}" \
--mandir=%{_mandir} \ --bindir="%{_bindir}" \
--confdir=%{_sysconfdir}/%{name} \ --mandir="%{_mandir}" \
--extra-cflags="$RPM_OPT_FLAGS" \ --docdir="%{_docdir}/%{name}" \
--confdir="%{_sysconfdir}/%{name}" \
--enable-joystick \ --enable-joystick \
--enable-lirc \ --enable-lirc \
--enable-radio \ --enable-radio \
--enable-radio-capture \ --enable-radio-capture \
--enable-smb \ --disable-sdl --disable-sdl2 \
--disable-termcap \ --disable-build-date \
--extra-cflags='-I/usr/include/samba-4.0/' --disable-debug
make %{?_smp_mflags} waf build --verbose %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} waf --destdir=%{buildroot} install %{?_smp_mflags}
# Default config files # Default config files
install -Dpm 644 etc/example.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf install -Dpm 644 etc/example.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
@ -107,11 +107,18 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_mandir}/man1/%{name}.* %{_mandir}/man1/%{name}.*
%{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf
%config(noreplace) %{_sysconfdir}/%{name}/input.conf %config(noreplace) %{_sysconfdir}/%{name}/input.conf
%changelog %changelog
* Wed Jan 01 2014 Miro Hrončok <mhroncok@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@redhat.com> - 0.2.4-8 * Sun Dec 22 2013 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-8
- Added patch for https://fedoraproject.org/wiki/Changes/FormatSecurity - Added patch for https://fedoraproject.org/wiki/Changes/FormatSecurity

@ -1 +1 @@
465e99ed24478f3a2afe5ae1c4fdd7f4 v0.2.4.tar.gz 47c9ea5fc8cf0c15cc6a15631bfbc770 v0.3.0.tar.gz

Loading…
Cancel
Save