diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2021-03-20 14:25:08 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2021-03-20 14:25:24 +0100 |
commit | 9107f506b84c2f2f4347c5ce228c37cb925e62cf (patch) | |
tree | eb4049ea018a4c1ac16bf1becaee84066b82a3fd /media-sound/quodlibet/quodlibet-4.3.0-r1.ebuild | |
parent | app-admin/serf: Bump to version 0.9.5 (diff) | |
download | gentoo-9107f506b84c2f2f4347c5ce228c37cb925e62cf.tar.gz gentoo-9107f506b84c2f2f4347c5ce228c37cb925e62cf.tar.bz2 gentoo-9107f506b84c2f2f4347c5ce228c37cb925e62cf.zip |
media-sound/quodlibet: add pyton3_9 support and 4.4.0
This adds 4.3.0-r1 with Python 3.9 support. Also add 4.4.0 (with
Python3_9 support of course). Since this also contains subtle other
changes and is a relatively new release, we add both variants, to
unblock progress onthe Py39 issue (in case 4.4.0 needs to be rolled
back). The 4.4.0 package still has the appdata issue mentioned in
https://bugs.gentoo.org/723780
Bug: https://bugs.gentoo.org/776952
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
Diffstat (limited to 'media-sound/quodlibet/quodlibet-4.3.0-r1.ebuild')
-rw-r--r-- | media-sound/quodlibet/quodlibet-4.3.0-r1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/media-sound/quodlibet/quodlibet-4.3.0-r1.ebuild b/media-sound/quodlibet/quodlibet-4.3.0-r1.ebuild new file mode 100644 index 000000000000..d95533f3a8d3 --- /dev/null +++ b/media-sound/quodlibet/quodlibet-4.3.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_7 python3_8 python3_9 ) +inherit distutils-r1 xdg-utils + +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-1.32[${PYTHON_USEDEP}] + net-libs/libsoup[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}/${PN}" + +src_prepare() { + local qlconfig=${PN}/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 NEWS README +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |