From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 970E31382C5 for ; Wed, 7 Feb 2018 00:54:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BD2BE0AB2; Wed, 7 Feb 2018 00:54:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E277E0AB2 for ; Wed, 7 Feb 2018 00:54:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 980ED335C2F for ; Wed, 7 Feb 2018 00:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C6F31E9 for ; Wed, 7 Feb 2018 00:54:46 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1517964862.23aee2301e7dd18a448d81e0d0e76e9847e356ef.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/quodlibet/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/quodlibet/quodlibet-4.0.2.ebuild X-VCS-Directories: media-sound/quodlibet/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 23aee2301e7dd18a448d81e0d0e76e9847e356ef X-VCS-Branch: master Date: Wed, 7 Feb 2018 00:54:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5a56effc-b914-4999-8e64-de428c589dbb X-Archives-Hash: b03b8e68030c33562db52eac64a48d5c commit: 23aee2301e7dd18a448d81e0d0e76e9847e356ef Author: Matthias Maier gentoo org> AuthorDate: Wed Feb 7 00:33:38 2018 +0000 Commit: Matthias Maier gentoo org> CommitDate: Wed Feb 7 00:54:22 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23aee230 media-sound/quodlibet: version bump to 4.0.2 Notable changes: - switch from python 2 to python 3 (only) Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-sound/quodlibet/quodlibet-4.0.2.ebuild | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/media-sound/quodlibet/quodlibet-4.0.2.ebuild b/media-sound/quodlibet/quodlibet-4.0.2.ebuild new file mode 100644 index 00000000000..a6d06fe5a03 --- /dev/null +++ b/media-sound/quodlibet/quodlibet-4.0.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit distutils-r1 gnome2-utils xdg-utils + +DESCRIPTION="audio library tagger, manager, and player for GTK+" +HOMEPAGE="http://quodlibet.readthedocs.org" +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 ) + !media-plugins/quodlibet-plugins" +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_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + xdg-utils_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg-utils_desktop_database_update + gnome2_icon_cache_update +}