Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lollypop/
Date: Sun, 27 Feb 2022 14:10:37
Message-Id: 1645971030.8aed6972f97e38ddfb718ca8fcaedc8f20a0a4eb.juippis@gentoo
1 commit: 8aed6972f97e38ddfb718ca8fcaedc8f20a0a4eb
2 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 29 06:38:29 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 14:10:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aed6972
7
8 media-sound/lollypop: Add 1.4.29, Python 3.10 and test; clean up deps
9
10 Bug: https://bugs.gentoo.org/750872
11 Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/24008
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 media-sound/lollypop/Manifest | 1 +
16 media-sound/lollypop/lollypop-1.4.29.ebuild | 70 +++++++++++++++++++++++++++++
17 2 files changed, 71 insertions(+)
18
19 diff --git a/media-sound/lollypop/Manifest b/media-sound/lollypop/Manifest
20 index d80dd4dba886..1519f09b3bd6 100644
21 --- a/media-sound/lollypop/Manifest
22 +++ b/media-sound/lollypop/Manifest
23 @@ -1,2 +1,3 @@
24 DIST lollypop-1.2.35.tar.xz 509916 BLAKE2B 8cf9ea74287b6ac7d4942c2312cc4d6e07d4748d505cc9e45a896129f9e4a43ef5c65c0c18764597d7ce3c4d2fc93804c501f68ea3b67625e200497613077af6 SHA512 179fa5e77482db35de9e30e392e6d07bb5c832d5d1decaee06982570bdcbb809dc99375eeb6fe3dce75829af3570953ce517e3b4eaabceac807b9d5c382bd53e
25 DIST lollypop-1.4.18.tar.xz 575120 BLAKE2B 62ff404c0e7c2ac7029ebb45143db35b0b93b30bfc386fb08aa4a2fc10916efb190118f41e40a0f795bef4f8d0b21b0353b9e27bbb75c5471132145028fc8b27 SHA512 17f2db91a56fd140c66c251732eca4b2a6cc1849b5dc72f0a4014c766c64eee475bc9d2305d307e2a54184ab5dd812a5fb27b39acf60a1c468770d1d34307982
26 +DIST lollypop-1.4.29.tar.xz 593980 BLAKE2B 8a3a985cb18c196665377c7c29670b98f352a86284ee8bb5af13b1017346b0b2b938dee6e53d56d0b8d98b191a64e5efd1c7126879c7017c3f10d5aa96570a39 SHA512 f81315a94cbcc726cd453d58faffe5c33ebcbdaef55a5a36d2a9dc20dec9340c2d263d935b5115148b049fca52e57c88eac36386e56f0965f22674eba26ae813
27
28 diff --git a/media-sound/lollypop/lollypop-1.4.29.ebuild b/media-sound/lollypop/lollypop-1.4.29.ebuild
29 new file mode 100644
30 index 000000000000..c123937bb8ea
31 --- /dev/null
32 +++ b/media-sound/lollypop/lollypop-1.4.29.ebuild
33 @@ -0,0 +1,70 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +PYTHON_REQ_USE="sqlite"
41 +inherit python-single-r1 gnome2-utils meson xdg
42 +
43 +DESCRIPTION="Modern music player for GNOME"
44 +HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop"
45 +SRC_URI="https://adishatz.org/${PN}/${P}.tar.xz"
46 +
47 +LICENSE="GPL-3+"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm64"
50 +
51 +IUSE="test"
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +RESTRICT="!test? ( test )"
54 +
55 +# Dependencies being checked by Meson
56 +COMMON_DEPEND="
57 + dev-libs/glib:2
58 + dev-libs/gobject-introspection
59 + net-libs/libsoup:2.4[introspection]
60 + x11-libs/gtk+:3[introspection]
61 + ${PYTHON_DEPS}
62 + $(python_gen_cond_dep '
63 + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
64 + ')
65 +"
66 +
67 +BDEPEND="
68 + ${COMMON_DEPEND}
69 + sys-devel/gettext
70 + virtual/pkgconfig
71 + test? (
72 + dev-libs/appstream-glib
73 + dev-util/desktop-file-utils
74 + )
75 +"
76 +
77 +RDEPEND="
78 + ${COMMON_DEPEND}
79 + app-crypt/libsecret[introspection]
80 + dev-libs/totem-pl-parser[introspection]
81 + gui-libs/libhandy:1[introspection]
82 + $(python_gen_cond_dep '
83 + dev-python/beautifulsoup4[${PYTHON_USEDEP}]
84 + dev-python/gst-python[${PYTHON_USEDEP}]
85 + dev-python/pillow[${PYTHON_USEDEP}]
86 + ')
87 +"
88 +
89 +src_install() {
90 + meson_src_install
91 + python_optimize
92 + python_fix_shebang "${ED}/usr/bin"
93 +}
94 +
95 +pkg_postinst() {
96 + xdg_pkg_postinst
97 + gnome2_schemas_update
98 +}
99 +
100 +pkg_postrm() {
101 + xdg_pkg_postrm
102 + gnome2_schemas_update
103 +}