commit 8fb3bf868711a2d541e066034a44cf3cc7cf94d2
Author: Vascom <vascom2(a)gmail.com>
Date: Tue Oct 17 10:46:37 2017 +0300
Update to 0.13.
.gitignore | 1 +
gnome-mpv.spec | 12 +++--
sources | 2 +-
...-appdata-and-add-missing-meson-build-file.patch | 57 ++++++++++++++++++++++
4 files changed, 68 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5d4093f..ff10c10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/gnome-mpv-0.10.tar.xz
/gnome-mpv-0.11.tar.xz
/gnome-mpv-0.12.tar.xz
+/gnome-mpv-0.13.tar.xz
diff --git a/gnome-mpv.spec b/gnome-mpv.spec
index c61ecd2..fba607e 100644
--- a/gnome-mpv.spec
+++ b/gnome-mpv.spec
@@ -1,11 +1,12 @@
Name: gnome-mpv
-Version: 0.12
-Release: 3%{?dist}
+Version: 0.13
+Release: 1%{?dist}
Summary: A simple GTK+ frontend for mpv
License: GPLv3+
URL:
https://github.com/gnome-mpv/gnome-mpv
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
+Patch0: update-appdata-and-add-missing-meson-build-file.patch
BuildRequires: gcc
BuildRequires: desktop-file-utils
@@ -24,7 +25,7 @@ GNOME MPV interacts with mpv via the client API exported by libmpv,
allowing access to mpv's powerful playback capabilities.
%prep
-%autosetup
+%autosetup -p1
%build
%configure
@@ -61,12 +62,17 @@ fi
%{_bindir}/%{name}
%{_datadir}/appdata/io.github.GnomeMpv.appdata.xml
%{_datadir}/applications/io.github.GnomeMpv.desktop
+%{_datadir}/dbus-1/services/io.github.GnomeMpv.service
%{_datadir}/glib-2.0/schemas/io.github.GnomeMpv.gschema.xml
# The old GSchema is left installed for settings migration.
%{_datadir}/glib-2.0/schemas/org.gnome-mpv.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{name}*.svg
+ %{_mandir}/man1/%{name}.1.gz
%changelog
+* Tue Oct 17 2017 Vasiliy N. Glazov <vascom2(a)gmail.com> - 0.13-1
+- Update to 0.13
+
* Fri Sep 01 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 0.12-3
- Add build requires mesa-libEGL-devel
diff --git a/sources b/sources
index c1d3fc8..95848f9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f922a465a61ccc2fecc839a053376325 gnome-mpv-0.12.tar.xz
+175d1eb9496fdd5e32cf24275879e380 gnome-mpv-0.13.tar.xz
diff --git a/update-appdata-and-add-missing-meson-build-file.patch
b/update-appdata-and-add-missing-meson-build-file.patch
new file mode 100644
index 0000000..0866e9c
--- /dev/null
+++ b/update-appdata-and-add-missing-meson-build-file.patch
@@ -0,0 +1,57 @@
+diff --git a/Makefile.am b/Makefile.am
+index ecb94bd..609a125 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign
+
+ SUBDIRS = src data docs po
+
+-EXTRA_DIST = README.md AUTHORS meson.build meson_post_install.py po/meson.build
++EXTRA_DIST = README.md AUTHORS meson.build docs/meson.build meson_post_install.py
po/meson.build
+
+ UPDATE_DESKTOP = update-desktop-database -q || :
+ UPDATE_ICON = gtk-update-icon-cache -q $(datadir)/icons/hicolor/ || :
+diff --git a/Makefile.in b/Makefile.in
+index f0067a6..69f3287 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -168,8 +168,8 @@ CTAGS = ctags
+ CSCOPE = cscope
+ DIST_SUBDIRS = $(SUBDIRS)
+ am__DIST_COMMON = $(srcdir)/Makefile.in ABOUT-NLS AUTHORS COPYING \
+- compile config.guess config.rpath config.sub install-sh \
+- missing
++ compile config.guess config.rpath config.sub depcomp \
++ install-sh missing
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -341,7 +341,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign
+ SUBDIRS = src data docs po
+-EXTRA_DIST = README.md AUTHORS meson.build meson_post_install.py po/meson.build
++EXTRA_DIST = README.md AUTHORS meson.build docs/meson.build meson_post_install.py
po/meson.build
+ UPDATE_DESKTOP = update-desktop-database -q || :
+ UPDATE_ICON = gtk-update-icon-cache -q $(datadir)/icons/hicolor/ || :
+
+diff --git a/data/io.github.GnomeMpv.appdata.xml.in
b/data/io.github.GnomeMpv.appdata.xml.in
+index c3f5d86..5712047 100644
+--- a/data/io.github.GnomeMpv.appdata.xml.in
++++ b/data/io.github.GnomeMpv.appdata.xml.in
+@@ -24,7 +24,7 @@
+ </ul>
+ </description>
+ <releases>
+- <release date="2017-06-12" version="0.12"/>
++ <release date="2017-10-13" version="0.13"/>
+ </releases>
+ <screenshots>
+ <screenshot type="default">
+diff --git a/docs/meson.build b/docs/meson.build
+new file mode 100644
+index 0000000..c7aa8ab
+--- /dev/null
++++ b/docs/meson.build
+@@ -0,0 +1 @@
++install_man('gnome-mpv.1')