commit:     d4d4e8d328e67cdf6d7d8b3c2f426e836f70f49f
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 17:09:47 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 19:28:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d4e8d3

media-sound/gnome-music: bump to 3.28.2.1

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-sound/gnome-music/Manifest                   |  1 +
 .../files/3.28.2.1-appdata-test-fix.patch          | 29 ++++++++
 .../gnome-music/files/3.28.2.1-icon-fix.patch      | 30 +++++++++
 .../gnome-music/gnome-music-3.28.2.1.ebuild        | 78 ++++++++++++++++++++++
 4 files changed, 138 insertions(+)

diff --git a/media-sound/gnome-music/Manifest b/media-sound/gnome-music/Manifest
index 32d7bcd264b..ae1fec33ad2 100644
--- a/media-sound/gnome-music/Manifest
+++ b/media-sound/gnome-music/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-music-3.24.2.tar.xz 1557848 BLAKE2B 
329d60da4c2c601524e01bddf086ea699bc10ea311d440ae24af0a83829d7ad4c351963e1b08bd30a8538c9b9987d9f2a41f95690ae31e75c06aac0cc9db2dcf
 SHA512 
a922c80f922b9231e9bbe0cbd1fd33c059c719350c250dbb24316224e3306de7576303119fc9ec303f569559c36d6b076b5ec1076b4f9221a8fb133dcd9f040e
 DIST gnome-music-3.26.2.tar.xz 1563244 BLAKE2B 
5a5d27b34470a49a752cb67a1040e227595fd15c6ca4f7656818636d614dfef8ec082dc014ea05c271f512f7c362dc2f81a38359ef04e0663467f62ff3ac2423
 SHA512 
e8efe31003a54b6cfea151c5402c4d06e48928be7b79332f7f9fb8a567ff7d0d42a43e943398ad6cb7e391d0162322c7fde74922a4b16e52ec24691cc1bfc5b0
+DIST gnome-music-3.28.2.1.tar.xz 2990404 BLAKE2B 
e91f0bb569eb7d61b0b3136a2f5c22e35dab10f9a3a0412e387ee9f23b8be811eafdde0394ec66df7915ae9c6eb899d479d1462bc9e70d678842ebe3f8417fb5
 SHA512 
d50dc84ccee7c65391bbc3a5fa48e75be82f633bbfeb4082f7d76ea21fb53c03af00c79088f12ce43a677737265485b20a3736415f1592acfa185140d4142c59

diff --git a/media-sound/gnome-music/files/3.28.2.1-appdata-test-fix.patch 
b/media-sound/gnome-music/files/3.28.2.1-appdata-test-fix.patch
new file mode 100644
index 00000000000..edc06b2cf2b
--- /dev/null
+++ b/media-sound/gnome-music/files/3.28.2.1-appdata-test-fix.patch
@@ -0,0 +1,29 @@
+From 0fc9bee85ab994043e1c5365d665fe51c95cb047 Mon Sep 17 00:00:00 2001
+From: Nick Richards <n...@endlessm.com>
+Date: Tue, 31 Jul 2018 18:09:09 +0100
+Subject: [PATCH] appdata: Reword description
+
+Use the appdata description to list the available features and try to make the 
copy more inviting
+---
+ data/org.gnome.Music.appdata.xml.in | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/data/org.gnome.Music.appdata.xml.in.in 
b/data/org.gnome.Music.appdata.xml.in.in
+index 999236e0..6e8295c5 100644
+--- a/data/org.gnome.Music.appdata.xml.in
++++ b/data/org.gnome.Music.appdata.xml.in
+@@ -7,7 +7,10 @@
+   <summary>Play and organize your music collection</summary>
+   <description>
+     <p>
+-      Music is the new GNOME music playing application.
++      An easy way to play your music. Automatically discover music on your 
computer, the local network and internet services.
++    </p>
++    <p>
++      Find tracks in your local collection, get music from DLNA servers or 
try something new with the Jamendo and Magnatune services.
+     </p>
+   </description>
+   <screenshots>
+-- 
+2.17.0
+

diff --git a/media-sound/gnome-music/files/3.28.2.1-icon-fix.patch 
b/media-sound/gnome-music/files/3.28.2.1-icon-fix.patch
new file mode 100644
index 00000000000..5a69a86d3d8
--- /dev/null
+++ b/media-sound/gnome-music/files/3.28.2.1-icon-fix.patch
@@ -0,0 +1,30 @@
+From 39e03f574c34e89b8ee9aa07ea5a2f7a595ecc20 Mon Sep 17 00:00:00 2001
+From: Marinus Schraal <mschr...@gnome.org>
+Date: Tue, 8 May 2018 11:51:36 +0200
+Subject: [PATCH] window: Set correct default icon name
+
+With the switch to Meson the default icon name is now org.gnome.Music.
+Fixes the icon not showing in gnome-control-center.
+
+
+(cherry picked from commit eeea5f41b9a9f7e716f9b95dddfe2d151a06f06d)
+---
+ gnomemusic/window.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gnomemusic/window.py b/gnomemusic/window.py
+index 956d7ab4..66131d72 100644
+--- a/gnomemusic/window.py
++++ b/gnomemusic/window.py
+@@ -77,7 +77,7 @@ class Window(Gtk.ApplicationWindow):
+         self.add_action(select_none)
+ 
+         self.set_size_request(200, 100)
+-        self.set_default_icon_name('gnome-music')
++        self.set_default_icon_name('org.gnome.Music')
+ 
+         self.prev_view = None
+         self.curr_view = None
+-- 
+2.17.0
+

diff --git a/media-sound/gnome-music/gnome-music-3.28.2.1.ebuild 
b/media-sound/gnome-music/gnome-music-3.28.2.1.ebuild
new file mode 100644
index 00000000000..a9035d163c4
--- /dev/null
+++ b/media-sound/gnome-music/gnome-music-3.28.2.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit gnome.org gnome2-utils meson python-single-r1 xdg
+
+DESCRIPTION="Music management for Gnome"
+HOMEPAGE="https://wiki.gnome.org/Apps/Music";
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+       >=dev-libs/gobject-introspection-1.54:=
+       >=x11-libs/gtk+-3.19.3:3[introspection]
+       >=media-libs/libmediaart-1.9.1:2.0[introspection]
+       >=app-misc/tracker-1.99.1:=[introspection(+)]
+       >=dev-python/pygobject-3.21.1:3[cairo,${PYTHON_USEDEP}]
+       >=dev-python/pycairo-1.14.0[${PYTHON_USEDEP}]
+       >=media-libs/grilo-0.3.4:0.3[introspection]
+"
+# xdg-user-dirs-update needs to be there to create needed dirs
+# https://bugzilla.gnome.org/show_bug.cgi?id=731613
+RDEPEND="${COMMON_DEPEND}
+       || (
+               >=app-misc/tracker-miners-1.99.1[gstreamer]
+               >=app-misc/tracker-miners-1.99.1[ffmpeg]
+       )
+       x11-libs/libnotify[introspection]
+       dev-python/requests[${PYTHON_USEDEP}]
+       media-libs/gstreamer:1.0[introspection]
+       media-libs/gst-plugins-base:1.0[introspection]
+       media-plugins/gst-plugins-meta:1.0
+       media-plugins/grilo-plugins:0.3[tracker]
+       x11-misc/xdg-user-dirs
+"
+DEPEND="${COMMON_DEPEND}
+       dev-libs/libxml2:2
+       dev-util/itstool
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PV}-appdata-test-fix.patch
+       "${FILESDIR}"/${PV}-icon-fix.patch
+)
+
+pkg_setup() {
+       python_setup
+}
+
+src_prepare() {
+       sed -e '/sys.path.insert/d' -i "${S}"/gnome-music.in || die "python 
fixup sed failed"
+       xdg_src_prepare
+}
+
+src_install() {
+       meson_src_install
+       python_fix_shebang "${D}"usr/bin/gnome-music
+       python_optimize
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to