summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Brasseur <nielzsen@protonmail.com>2022-12-28 13:46:02 +0100
committerViorel Munteanu <ceamac@gentoo.org>2023-01-11 19:54:28 +0200
commit2d466174fa0c3f45aa838a83f6c40fb232107419 (patch)
treec27c7e695970e8fa72cb34a2c3fb92357e64f691 /media-sound/lollypop
parentdev-lang/go: add 1.18.10, 1.19.5 (diff)
downloadgentoo-2d466174fa0c3f45aa838a83f6c40fb232107419.tar.gz
gentoo-2d466174fa0c3f45aa838a83f6c40fb232107419.tar.bz2
gentoo-2d466174fa0c3f45aa838a83f6c40fb232107419.zip
media-sound/lollypop: add 1.4.35
Signed-off-by: Roman Brasseur <nielzsen@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/28871 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'media-sound/lollypop')
-rw-r--r--media-sound/lollypop/Manifest1
-rw-r--r--media-sound/lollypop/lollypop-1.4.35.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/media-sound/lollypop/Manifest b/media-sound/lollypop/Manifest
index 4cf9c2a1f388..adb20131fb22 100644
--- a/media-sound/lollypop/Manifest
+++ b/media-sound/lollypop/Manifest
@@ -1 +1,2 @@
DIST lollypop-1.4.29.tar.xz 593980 BLAKE2B 8a3a985cb18c196665377c7c29670b98f352a86284ee8bb5af13b1017346b0b2b938dee6e53d56d0b8d98b191a64e5efd1c7126879c7017c3f10d5aa96570a39 SHA512 f81315a94cbcc726cd453d58faffe5c33ebcbdaef55a5a36d2a9dc20dec9340c2d263d935b5115148b049fca52e57c88eac36386e56f0965f22674eba26ae813
+DIST lollypop-1.4.35.tar.xz 596016 BLAKE2B 6776d98d8d0da18dade3ac022ea7980e9762834ebaadae453abb0dd0f0d98298f2457d2cb18f21159e2d12d4735d3c87740b0449a090f7778b7d77ba82634e40 SHA512 8cde0db23dd011370fbcf2a32389f801d7586598bb653b921f4525af17e2eb4771a306e34a340bb8c4a1666727c4b1c3a84490f362ca3c473fb7c5b3982a644d
diff --git a/media-sound/lollypop/lollypop-1.4.35.ebuild b/media-sound/lollypop/lollypop-1.4.35.ebuild
new file mode 100644
index 000000000000..e8b553c2953e
--- /dev/null
+++ b/media-sound/lollypop/lollypop-1.4.35.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="sqlite"
+inherit python-single-r1 gnome2-utils meson xdg
+
+DESCRIPTION="Modern music player for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop"
+SRC_URI="https://adishatz.org/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+# Dependencies being checked by Meson
+COMMON_DEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ net-libs/libsoup:2.4[introspection]
+ x11-libs/gtk+:3[introspection]
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+ ')
+"
+
+BDEPEND="
+ ${COMMON_DEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+ test? (
+ dev-libs/appstream-glib
+ dev-util/desktop-file-utils
+ )
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ media-plugins/gst-plugins-pulse
+ app-crypt/libsecret[introspection]
+ dev-libs/totem-pl-parser[introspection]
+ gui-libs/libhandy:1[introspection]
+ $(python_gen_cond_dep '
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/gst-python[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ ')
+"
+
+src_install() {
+ meson_src_install
+ python_optimize
+ python_fix_shebang "${ED}/usr/bin"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+ elog "Remember to install the necessary gst-plugins packages to read your audio files"
+ elog "You can also use the gst-plugins-meta pakcage and its USE flags."
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}