diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | update-appdata-and-add-missing-meson-build-file.patch | 57 | ||||
-rw-r--r-- | xdg_config_dir_permissions.patch | 28 |
4 files changed, 8 insertions, 111 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Sun Dec 3 16:23:17 UTC 2017 pkgbase = gnome-mpv pkgdesc = A simple GTK+ frontend for mpv. - pkgver = 0.13 - pkgrel = 2 + pkgver = 0.14 + pkgrel = 1 url = https://github.com/gnome-mpv/gnome-mpv arch = i686 arch = x86_64 @@ -12,12 +10,8 @@ pkgbase = gnome-mpv depends = gtk3 depends = mpv optdepends = youtube-dl: Video integration to YouTube and other video sites. - source = https://github.com/gnome-mpv/gnome-mpv/releases/download/v0.13/gnome-mpv-0.13.tar.xz - source = update-appdata-and-add-missing-meson-build-file.patch - source = xdg_config_dir_permissions.patch - sha256sums = c5a288c7095ccbe520b3ba419856e29981f4a2d204e7cfa264ee69edab2724f1 - sha256sums = fdd2f358ceb72430fca464665ede6eb18f26be6b1830c4919ce065225f3518eb - sha256sums = 32cc698e5eb20198b12fa910a8ea9b1a0a4abc323ccaf9afb931e57c66a282dd + source = https://github.com/gnome-mpv/gnome-mpv/releases/download/v0.14/gnome-mpv-0.14.tar.xz + sha256sums = 23c9bde58da8ccf0e36c30b7d94d504aca9502288e4bb8ad5425022c4be3720e pkgname = gnome-mpv @@ -1,8 +1,8 @@ # Maintainer: Ainola pkgname=gnome-mpv -pkgver=0.13 -pkgrel=2 +pkgver=0.14 +pkgrel=1 pkgdesc="A simple GTK+ frontend for mpv." arch=('i686' 'x86_64') url="https://github.com/gnome-mpv/gnome-mpv" @@ -10,20 +10,8 @@ license=('GPL3') depends=('gtk3' 'mpv') makedepends=('meson') optdepends=('youtube-dl: Video integration to YouTube and other video sites.') -source=("https://github.com/gnome-mpv/gnome-mpv/releases/download/v${pkgver}/gnome-mpv-${pkgver}.tar.xz" - "update-appdata-and-add-missing-meson-build-file.patch" - "xdg_config_dir_permissions.patch") -sha256sums=('c5a288c7095ccbe520b3ba419856e29981f4a2d204e7cfa264ee69edab2724f1' - 'fdd2f358ceb72430fca464665ede6eb18f26be6b1830c4919ce065225f3518eb' - '32cc698e5eb20198b12fa910a8ea9b1a0a4abc323ccaf9afb931e57c66a282dd') - -prepare() { - cd "$srcdir" - # $XDG_CONFIG would be created with only 0600. Fixed in git upstream: - # https://github.com/gnome-mpv/gnome-mpv/commit/0f3c23f0d752af1eff7dec7ca95143e4b4f1eb97 - patch -d "$pkgname-$pkgver" -p1 < update-appdata-and-add-missing-meson-build-file.patch - patch -d "$pkgname-$pkgver" -p1 < xdg_config_dir_permissions.patch -} +source=("https://github.com/gnome-mpv/gnome-mpv/releases/download/v${pkgver}/gnome-mpv-${pkgver}.tar.xz") +sha256sums=('23c9bde58da8ccf0e36c30b7d94d504aca9502288e4bb8ad5425022c4be3720e') build() { cd "${pkgname}-${pkgver}" diff --git a/update-appdata-and-add-missing-meson-build-file.patch b/update-appdata-and-add-missing-meson-build-file.patch deleted file mode 100644 index 0866e9c21861..000000000000 --- a/update-appdata-and-add-missing-meson-build-file.patch +++ /dev/null @@ -1,57 +0,0 @@ -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') diff --git a/xdg_config_dir_permissions.patch b/xdg_config_dir_permissions.patch deleted file mode 100644 index a4a67656b737..000000000000 --- a/xdg_config_dir_permissions.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 0f3c23f0d752af1eff7dec7ca95143e4b4f1eb97 Mon Sep 17 00:00:00 2001 -From: gnome-mpv <gnome-mpv@nowhere> -Date: Mon, 23 Oct 2017 09:43:36 -0700 -Subject: [PATCH] application: Change the default permission for config dirs to - 755 - -Fixes #319. ---- - src/gmpv_application.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/gmpv_application.c b/src/gmpv_application.c -index aa90827..d9f425e 100644 ---- a/src/gmpv_application.c -+++ b/src/gmpv_application.c -@@ -156,9 +156,9 @@ static void create_dirs() - gchar *scripts_dir = get_scripts_dir_path(); - gchar *watch_dir = get_watch_dir_path(); - -- g_mkdir_with_parents(config_dir, 0600); -- g_mkdir_with_parents(scripts_dir, 0700); -- g_mkdir_with_parents(watch_dir, 0600); -+ g_mkdir_with_parents(config_dir, 0755); -+ g_mkdir_with_parents(scripts_dir, 0755); -+ g_mkdir_with_parents(watch_dir, 0755); - - g_free(config_dir); - g_free(scripts_dir); |