Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, media-sound/gnome-music/
Date: Thu, 15 Apr 2021 23:06:47
Message-Id: 1618527887.51e29474e5da7445b372a97fb9193e4ea3d55ace.mattst88@gentoo
1 commit: 51e29474e5da7445b372a97fb9193e4ea3d55ace
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 15 01:20:06 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 15 23:04:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e29474
7
8 media-sound/gnome-music: Version bump to 40.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-sound/gnome-music/Manifest | 1 +
13 media-sound/gnome-music/gnome-music-40.0.ebuild | 79 +++++++++++++++++++++++++
14 profiles/package.mask | 2 +
15 3 files changed, 82 insertions(+)
16
17 diff --git a/media-sound/gnome-music/Manifest b/media-sound/gnome-music/Manifest
18 index 1b8de5ac624..739817a057a 100644
19 --- a/media-sound/gnome-music/Manifest
20 +++ b/media-sound/gnome-music/Manifest
21 @@ -1 +1,2 @@
22 DIST gnome-music-3.36.7.tar.xz 971980 BLAKE2B f27d0eb49a1728873ef6d439eead83cc34fb6802afdba3b4e0ef8d15c88d2012634ec0a18a4df4ba18079915d4227f526a93ac7989ce6ea4a807b620722fad1e SHA512 3470563621c17004d0b92451950ebfca203e830cb9ffe481fef7fe4d5187afa36ccb33130695226d4db95a89af9fac592910d2a19e715af4dd0c0ffba081c3a4
23 +DIST gnome-music-40.0.tar.xz 977412 BLAKE2B acb1823fce3bb7fc8a319a22125deb2c36f4c5cb18f3ea3d21462c1fc71fb52deeb21ffb52ecd5f57aecc975e21dbcec82122f3d4c6fa10f088280efe314a4b7 SHA512 7b1cecd4afe22439e1ee4975c9f6a98690d7abc3a02914483284c258c9bc265d5b3c75cbc9e216603aaeacdc4fdeeff250f2c4e8eff01b84cfe313004266d93f
24
25 diff --git a/media-sound/gnome-music/gnome-music-40.0.ebuild b/media-sound/gnome-music/gnome-music-40.0.ebuild
26 new file mode 100644
27 index 00000000000..2a208528839
28 --- /dev/null
29 +++ b/media-sound/gnome-music/gnome-music-40.0.ebuild
30 @@ -0,0 +1,79 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{7..9} )
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 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
45 +
46 +KEYWORDS="~amd64 ~arm64 ~x86"
47 +
48 +DEPEND="${PYTHON_DEPS}
49 + >=dev-libs/glib-2.50:2
50 + >=net-libs/gnome-online-accounts-3.35.90[introspection]
51 + >=dev-libs/gobject-introspection-1.54:=
52 + >=x11-libs/gtk+-3.24.7:3[introspection]
53 + >=dev-libs/libdazzle-3.28.0[introspection]
54 + >=media-libs/libmediaart-1.9.1:2.0[introspection]
55 + net-libs/libsoup:2.4[introspection]
56 + app-misc/tracker:3=[introspection(+)]
57 + >=x11-libs/pango-1.44:=
58 + $(python_gen_cond_dep '
59 + >=dev-python/pygobject-3.36.1:3[cairo,${PYTHON_MULTI_USEDEP}]
60 + >=dev-python/pycairo-1.14.0[${PYTHON_MULTI_USEDEP}]
61 + ')
62 + >=media-libs/grilo-0.3.13:0.3[introspection]
63 + >=media-plugins/grilo-plugins-0.3.13: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:3[gstreamer]
70 + app-misc/tracker-miners:3[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 +pkg_setup() {
87 + python_setup
88 +}
89 +
90 +src_prepare() {
91 + sed -e '/sys.path.insert/d' -i "${S}"/gnome-music.in || die "python fixup sed failed"
92 + xdg_src_prepare
93 +}
94 +
95 +src_install() {
96 + meson_src_install
97 + python_fix_shebang "${D}"/usr/bin/gnome-music
98 + python_optimize
99 +}
100 +
101 +pkg_postinst() {
102 + xdg_pkg_postinst
103 + gnome2_schemas_update
104 +}
105 +
106 +pkg_postrm() {
107 + xdg_pkg_postrm
108 + gnome2_schemas_update
109 +}
110
111 diff --git a/profiles/package.mask b/profiles/package.mask
112 index 71da1262b3f..65121941205 100644
113 --- a/profiles/package.mask
114 +++ b/profiles/package.mask
115 @@ -76,6 +76,7 @@ x11-misc/xstroke
116 >=gnome-base/nautilus-40
117 >=sys-process/gnome-usage-3.38
118 >=media-plugins/grilo-plugins-0.3.13
119 +>=media-sound/gnome-music-40
120
121 # Michał Górny <mgorny@g.o> (2021-04-10)
122 # Obsolete backport to Python < 3.4. No reverse dependencies left.
123 @@ -120,6 +121,7 @@ gui-libs/gtk
124 >=gnome-base/gnome-shell-40
125 >=gnome-extra/gnome-shell-extensions-40
126 >=x11-wm/mutter-40
127 +>=media-sound/gnome-music-40
128
129 # David Seifert <soap@g.o> (2021-04-05)
130 # Completely broken, unmaintained, does not build. Newer version