Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gnome-music/
Date: Wed, 09 Jun 2021 22:44:52
Message-Id: 1623278683.78de16124a8079ca35362f9428bb8f86997b6848.mattst88@gentoo
1 commit: 78de16124a8079ca35362f9428bb8f86997b6848
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 9 22:39:27 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 22:44:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78de1612
7
8 media-sound/gnome-music: Version bump to 40.1.1
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.1.1.ebuild | 79 +++++++++++++++++++++++
14 2 files changed, 80 insertions(+)
15
16 diff --git a/media-sound/gnome-music/Manifest b/media-sound/gnome-music/Manifest
17 index cdb63278bc3..1e13ebf460f 100644
18 --- a/media-sound/gnome-music/Manifest
19 +++ b/media-sound/gnome-music/Manifest
20 @@ -1 +1,2 @@
21 DIST gnome-music-40.0.tar.xz 977412 BLAKE2B acb1823fce3bb7fc8a319a22125deb2c36f4c5cb18f3ea3d21462c1fc71fb52deeb21ffb52ecd5f57aecc975e21dbcec82122f3d4c6fa10f088280efe314a4b7 SHA512 7b1cecd4afe22439e1ee4975c9f6a98690d7abc3a02914483284c258c9bc265d5b3c75cbc9e216603aaeacdc4fdeeff250f2c4e8eff01b84cfe313004266d93f
22 +DIST gnome-music-40.1.1.tar.xz 978092 BLAKE2B cf9e41e1d519431c33edbd03eb72565612d127d7f6fd82ca34d46b1b3ed58073b7435d3b5b80b149a5fc47ea549018756914dbef5e512cb036303b64b4882083 SHA512 3095dfd31dc32f831e776055d5c1f8c32af5958be632050f709f5c3991b272769edac09a339638de2accf6aae4bf6e8dd1f377a0136897eade2c21d2ebce5f5e
23
24 diff --git a/media-sound/gnome-music/gnome-music-40.1.1.ebuild b/media-sound/gnome-music/gnome-music-40.1.1.ebuild
25 new file mode 100644
26 index 00000000000..e4f1fbfad03
27 --- /dev/null
28 +++ b/media-sound/gnome-music/gnome-music-40.1.1.ebuild
29 @@ -0,0 +1,79 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +PYTHON_COMPAT=( python3_{7..9} )
35 +
36 +inherit gnome.org gnome2-utils meson python-single-r1 xdg
37 +
38 +DESCRIPTION="Music management for Gnome"
39 +HOMEPAGE="https://wiki.gnome.org/Apps/Music"
40 +
41 +LICENSE="GPL-2+"
42 +SLOT="0"
43 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
44 +
45 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
46 +
47 +DEPEND="${PYTHON_DEPS}
48 + >=dev-libs/glib-2.50:2
49 + >=net-libs/gnome-online-accounts-3.35.90[introspection]
50 + >=dev-libs/gobject-introspection-1.54:=
51 + >=x11-libs/gtk+-3.24.7:3[introspection]
52 + >=dev-libs/libdazzle-3.28.0[introspection]
53 + >=media-libs/libmediaart-1.9.1:2.0[introspection]
54 + net-libs/libsoup:2.4[introspection]
55 + app-misc/tracker:3=[introspection(+)]
56 + >=x11-libs/pango-1.44:=
57 + $(python_gen_cond_dep '
58 + >=dev-python/pygobject-3.36.1:3[cairo,${PYTHON_MULTI_USEDEP}]
59 + >=dev-python/pycairo-1.14.0[${PYTHON_MULTI_USEDEP}]
60 + ')
61 + >=media-libs/grilo-0.3.13:0.3[introspection]
62 + >=media-plugins/grilo-plugins-0.3.13:0.3
63 +"
64 +# xdg-user-dirs-update needs to be there to create needed dirs
65 +# https://bugzilla.gnome.org/show_bug.cgi?id=731613
66 +RDEPEND="${DEPEND}
67 + || (
68 + app-misc/tracker-miners:3[gstreamer]
69 + app-misc/tracker-miners:3[ffmpeg]
70 + )
71 + x11-libs/libnotify[introspection]
72 + media-libs/gstreamer:1.0[introspection]
73 + media-libs/gst-plugins-base:1.0[introspection]
74 + media-plugins/gst-plugins-meta:1.0
75 + media-plugins/grilo-plugins:0.3[tracker]
76 + x11-misc/xdg-user-dirs
77 +"
78 +BDEPEND="
79 + dev-libs/libxml2:2
80 + dev-util/itstool
81 + >=sys-devel/gettext-0.19.8
82 + virtual/pkgconfig
83 +"
84 +
85 +pkg_setup() {
86 + python_setup
87 +}
88 +
89 +src_prepare() {
90 + sed -e '/sys.path.insert/d' -i "${S}"/gnome-music.in || die "python fixup sed failed"
91 + xdg_src_prepare
92 +}
93 +
94 +src_install() {
95 + meson_src_install
96 + python_fix_shebang "${D}"/usr/bin/gnome-music
97 + python_optimize
98 +}
99 +
100 +pkg_postinst() {
101 + xdg_pkg_postinst
102 + gnome2_schemas_update
103 +}
104 +
105 +pkg_postrm() {
106 + xdg_pkg_postrm
107 + gnome2_schemas_update
108 +}