Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gnome-music/
Date: Tue, 02 Jun 2020 21:52:33
Message-Id: 1591134742.1561d6f0f4f58aa5336bd328f440f5cf624cddab.leio@gentoo
1 commit: 1561d6f0f4f58aa5336bd328f440f5cf624cddab
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 2 21:52:09 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 21:52:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1561d6f0
7
8 media-sound/gnome-music: bump to 3.34.6
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-sound/gnome-music/Manifest | 1 +
14 media-sound/gnome-music/gnome-music-3.34.6.ebuild | 81 +++++++++++++++++++++++
15 2 files changed, 82 insertions(+)
16
17 diff --git a/media-sound/gnome-music/Manifest b/media-sound/gnome-music/Manifest
18 index 349017d8738..0fe574ee6eb 100644
19 --- a/media-sound/gnome-music/Manifest
20 +++ b/media-sound/gnome-music/Manifest
21 @@ -1 +1,2 @@
22 DIST gnome-music-3.34.5.tar.xz 1415240 BLAKE2B 3545541171b023da116ebee5d28a2b69b6b45677cde26c833ea0992ba9bc41d4792375dbf3617105da53f0e98d21576e166980e896527a60d47c92690b343a27 SHA512 c4f3c8cd7e8a6d24d3766672acfe3abc340d0cd305ba0d3d0a87c02b5a5f9e8c47bee9d8284e76ad28c51eeebe56e3163f4e5c34c89e294801d0047b8476f80f
23 +DIST gnome-music-3.34.6.tar.xz 1415360 BLAKE2B 0b8f3a2b17242f41f3a77a9eeb60cf1f10cac57d983de6e7f44ba1a243526e0831ee2ad5baec17b726bbbe9df52e26b79dedc2b2abe4dba87c59cc4fcd4a083f SHA512 76561adf8c6ce4342825eb976de11c98c2aa66cb08075dbe46d8c7787daf7fc77763d55c2fe475dd9c75536adc98f8afbdd90bfb2b64791d05cdf11e3ed00b03
24
25 diff --git a/media-sound/gnome-music/gnome-music-3.34.6.ebuild b/media-sound/gnome-music/gnome-music-3.34.6.ebuild
26 new file mode 100644
27 index 00000000000..fde8cf28852
28 --- /dev/null
29 +++ b/media-sound/gnome-music/gnome-music-3.34.6.ebuild
30 @@ -0,0 +1,81 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{6,7,8} )
36 +
37 +inherit gnome.org gnome2-utils meson python-single-r1 xdg
38 +
39 +DESCRIPTION="Music management for Gnome"
40 +HOMEPAGE="https://wiki.gnome.org/Apps/Music"
41 +
42 +LICENSE="GPL-2+"
43 +SLOT="0"
44 +IUSE=""
45 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
46 +
47 +KEYWORDS="~amd64 ~arm64 ~x86"
48 +
49 +DEPEND="${PYTHON_DEPS}
50 + >=dev-libs/glib-2.50:2
51 + net-libs/gnome-online-accounts[introspection]
52 + >=dev-libs/gobject-introspection-1.54:=
53 + >=x11-libs/gtk+-3.24.7:3[introspection]
54 + >=dev-libs/libdazzle-3.28.0[introspection]
55 + >=media-libs/libmediaart-1.9.1:2.0[introspection]
56 + net-libs/libsoup:2.4[introspection]
57 + >=app-misc/tracker-2.2.0:=[introspection(+)]
58 + $(python_gen_cond_dep '
59 + >=dev-python/pygobject-3.29.1:3[cairo,${PYTHON_MULTI_USEDEP}]
60 + >=dev-python/pycairo-1.14.0[${PYTHON_MULTI_USEDEP}]
61 + ')
62 + >=media-libs/grilo-0.3.9:0.3[introspection]
63 + >=media-plugins/grilo-plugins-0.3.9:0.3
64 +"
65 +# xdg-user-dirs-update needs to be there to create needed dirs
66 +# https://bugzilla.gnome.org/show_bug.cgi?id=731613
67 +RDEPEND="${DEPEND}
68 + || (
69 + >=app-misc/tracker-miners-2.2.0[gstreamer]
70 + >=app-misc/tracker-miners-2.2.0[ffmpeg]
71 + )
72 + x11-libs/libnotify[introspection]
73 + media-libs/gstreamer:1.0[introspection]
74 + media-libs/gst-plugins-base:1.0[introspection]
75 + media-plugins/gst-plugins-meta:1.0
76 + media-plugins/grilo-plugins:0.3[tracker]
77 + x11-misc/xdg-user-dirs
78 +"
79 +BDEPEND="
80 + dev-libs/libxml2:2
81 + dev-util/itstool
82 + >=sys-devel/gettext-0.19.8
83 + virtual/pkgconfig
84 +"
85 +
86 +RESTRICT="test" # only does desktop and appdata validation, and latter needs network to validate screenshot from https
87 +
88 +pkg_setup() {
89 + python_setup
90 +}
91 +
92 +src_prepare() {
93 + sed -e '/sys.path.insert/d' -i "${S}"/gnome-music.in || die "python fixup sed failed"
94 + xdg_src_prepare
95 +}
96 +
97 +src_install() {
98 + meson_src_install
99 + python_fix_shebang "${D}"/usr/bin/gnome-music
100 + python_optimize
101 +}
102 +
103 +pkg_postinst() {
104 + xdg_pkg_postinst
105 + gnome2_schemas_update
106 +}
107 +
108 +pkg_postrm() {
109 + xdg_pkg_postrm
110 + gnome2_schemas_update
111 +}