diff options
author | Cristian Othón Martínez Vera <cfuga@cfuga.mx> | 2024-01-16 17:16:21 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-17 06:33:42 +0000 |
commit | 40584e779a9a95ff57bcdad1f23b3854818945e0 (patch) | |
tree | 0fe972cbead1728f472807ed94c058e35ceff256 /media-sound | |
parent | x11-libs/libXaw: remove runtime dependency on xorg-proto (diff) | |
download | gentoo-40584e779a9a95ff57bcdad1f23b3854818945e0.tar.gz gentoo-40584e779a9a95ff57bcdad1f23b3854818945e0.tar.bz2 gentoo-40584e779a9a95ff57bcdad1f23b3854818945e0.zip |
media-sound/quodlibet: fix dependency on correct net-libs/libsoup slot
Since version 4.6.0, Quod Libet depends on net-libs/libsoup slot 3
https://github.com/quodlibet/quodlibet/blob/quodlibet-4.6/NEWS.rst
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Closes: https://bugs.gentoo.org/915616
Closes: https://github.com/gentoo/gentoo/pull/34847
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/quodlibet/quodlibet-4.6.0-r1.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/quodlibet/quodlibet-4.6.0-r1.ebuild b/media-sound/quodlibet/quodlibet-4.6.0-r1.ebuild new file mode 100644 index 000000000000..f61de114b911 --- /dev/null +++ b/media-sound/quodlibet/quodlibet-4.6.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_SETUPTOOLS=no +inherit distutils-r1 xdg + +DESCRIPTION="audio library tagger, manager, and player for GTK+" +HOMEPAGE="https://quodlibet.readthedocs.io/" +SRC_URI="https://github.com/${PN}/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="+dbus gstreamer +udev" + +RDEPEND="dev-libs/keybinder:3[introspection] + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + net-libs/libsoup:3.0[introspection] + x11-libs/gtk+[introspection] + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/gst-plugins-good:1.0 + media-plugins/gst-plugins-meta:1.0 + ) + !gstreamer? ( media-libs/xine-lib ) + dbus? ( + app-misc/media-player-info + dev-python/dbus-python[${PYTHON_USEDEP}] + ) + udev? ( virtual/udev )" +DEPEND="dev-util/intltool" + +S="${WORKDIR}/${PN}-release-${PV}" + +src_prepare() { + local qlconfig=quodlibet/config.py + + if ! use gstreamer; then + sed -i -e '/backend/s:gstbe:xinebe:' ${qlconfig} || die + fi + + sed -i -e '/gst_pipeline/s:"":"alsasink":' ${qlconfig} || die + + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + dodoc README.rst + + # fix location of desktop file + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die "Failed to fix desktop file location" +} |