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 | |
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')
-rw-r--r-- | media-sound/quodlibet/Manifest | 1 | ||||
-rw-r--r-- | media-sound/quodlibet/quodlibet-4.3.0-r1.ebuild | 64 | ||||
-rw-r--r-- | media-sound/quodlibet/quodlibet-4.3.0.ebuild | 4 | ||||
-rw-r--r-- | media-sound/quodlibet/quodlibet-4.4.0.ebuild | 65 |
4 files changed, 132 insertions, 2 deletions
diff --git a/media-sound/quodlibet/Manifest b/media-sound/quodlibet/Manifest index be02153e499a..8a2b1b61a4e4 100644 --- a/media-sound/quodlibet/Manifest +++ b/media-sound/quodlibet/Manifest @@ -1 +1,2 @@ DIST quodlibet-4.3.0.tar.gz 5061542 BLAKE2B 31ec24f43a1750d065e14fe69d90a1646382ead13362633c08c9c44b17cb1dca02da37612bd30e1737212098fd26947cf637501ed79b34f03167b85cc11cbdc8 SHA512 6e3cd8bebb8abeb6acde6effb08a439479e293fed18633240a1508a015c083c814fb98722c36d3970917970259095499efeb27e323ab788252940714cae2fddc +DIST quodlibet-4.4.0.tar.gz 5126584 BLAKE2B b0d69ccacd009709148580619bdbafafb0c76acef791ab0025eda687cab4886b90f2d44fb6c37de80481e976ef4af466d209f7a7c6c53fc6794c26baa25d7bc0 SHA512 3a3c88c9283c3e14ee8b3504a9be9616a7773ce6819e832a76e1f926f9a1f86bbc68ae2dd98a2cf292ebc48216aca6e8a29e32f10d26b176effb62377183d13e 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 +} diff --git a/media-sound/quodlibet/quodlibet-4.3.0.ebuild b/media-sound/quodlibet/quodlibet-4.3.0.ebuild index 868d15250e42..96755846f679 100644 --- a/media-sound/quodlibet/quodlibet-4.3.0.ebuild +++ b/media-sound/quodlibet/quodlibet-4.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="+dbus gstreamer +udev" RDEPEND="dev-libs/keybinder:3[introspection] diff --git a/media-sound/quodlibet/quodlibet-4.4.0.ebuild b/media-sound/quodlibet/quodlibet-4.4.0.ebuild new file mode 100644 index 000000000000..0e19b6bf95dd --- /dev/null +++ b/media-sound/quodlibet/quodlibet-4.4.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_8 python3_9 ) +DISTUTILS_USE_SETUPTOOLS=no +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}" + +src_prepare() { + local qlconfig=quodlibet/config.py +pwd + 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 +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |