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