diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-08-27 09:03:52 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-08-27 09:04:09 +0200 |
commit | 814a45077ab9d508b2c1920a3339e4e8bf6ba869 (patch) | |
tree | da108860a1e5f2f0b302953fa2d4cdbafe7650ae /media-sound | |
parent | profiles/package.mask: drop obsolete ffi-compiler mask (diff) | |
download | gentoo-814a45077ab9d508b2c1920a3339e4e8bf6ba869.tar.gz gentoo-814a45077ab9d508b2c1920a3339e4e8bf6ba869.tar.bz2 gentoo-814a45077ab9d508b2c1920a3339e4e8bf6ba869.zip |
media-sound/quodlibet: bump to 4.6.0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/quodlibet/Manifest | 1 | ||||
-rw-r--r-- | media-sound/quodlibet/quodlibet-4.6.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/media-sound/quodlibet/Manifest b/media-sound/quodlibet/Manifest index fe51da6b9398..751e234aac32 100644 --- a/media-sound/quodlibet/Manifest +++ b/media-sound/quodlibet/Manifest @@ -1 +1,2 @@ DIST quodlibet-4.5.0.tar.gz 5585193 BLAKE2B e0b5ac89cc9fc8cab9beec3e32fe781b70d2704ae1f0304d0dd0250fb0d43ec0601a84c3940d143363e7294e68c5b5aa1bcf483ee0cd196fe0d61deb5da52b5a SHA512 4adc96b036bead26e8a0039bc0ecfa5e0a7a660647dd757afcb68887922fbb8c79f4ba3ae70f6870c17efc43da91a57f2050c15f7181317a1bfa1f841ddb91fe +DIST quodlibet-4.6.0.tar.gz 5719390 BLAKE2B 3b5d43c2fc1e5c3dabdf17c1d35f42762f9db4849a2e99e69a261bc72d5af6f0edac56a1f0e888989a839a4fa905209384b1e37a624676e1c52ca7a5d33ce53c SHA512 eb3bae6eaa2b976bce11ded1a521dc3f2a0a83358ae53215d3f5bce82447f721e7fef2e05b5d1ba87ac984c176e52d7915c4d40b529394d8616d846b78a2af8c diff --git a/media-sound/quodlibet/quodlibet-4.6.0.ebuild b/media-sound/quodlibet/quodlibet-4.6.0.ebuild new file mode 100644 index 000000000000..85a89db7176f --- /dev/null +++ b/media-sound/quodlibet/quodlibet-4.6.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022-2023 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:2.4[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" +} |