Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/quodlibet/
Date: Wed, 07 Feb 2018 00:54:55
Message-Id: 1517964862.23aee2301e7dd18a448d81e0d0e76e9847e356ef.tamiko@gentoo
1 commit: 23aee2301e7dd18a448d81e0d0e76e9847e356ef
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 00:33:38 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 00:54:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23aee230
7
8 media-sound/quodlibet: version bump to 4.0.2
9
10 Notable changes:
11 - switch from python 2 to python 3 (only)
12
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 media-sound/quodlibet/quodlibet-4.0.2.ebuild | 69 ++++++++++++++++++++++++++++
16 1 file changed, 69 insertions(+)
17
18 diff --git a/media-sound/quodlibet/quodlibet-4.0.2.ebuild b/media-sound/quodlibet/quodlibet-4.0.2.ebuild
19 new file mode 100644
20 index 00000000000..a6d06fe5a03
21 --- /dev/null
22 +++ b/media-sound/quodlibet/quodlibet-4.0.2.ebuild
23 @@ -0,0 +1,69 @@
24 +# Copyright 1999-2018 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=6
28 +PYTHON_COMPAT=( python3_{4,5,6} )
29 +inherit distutils-r1 gnome2-utils xdg-utils
30 +
31 +DESCRIPTION="audio library tagger, manager, and player for GTK+"
32 +HOMEPAGE="http://quodlibet.readthedocs.org"
33 +SRC_URI="https://github.com/${PN}/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
38 +IUSE="+dbus gstreamer +udev"
39 +
40 +RDEPEND="dev-libs/keybinder:3[introspection]
41 + dev-python/feedparser[${PYTHON_USEDEP}]
42 + dev-python/pygobject:3[${PYTHON_USEDEP}]
43 + >=media-libs/mutagen-1.32[${PYTHON_USEDEP}]
44 + net-libs/libsoup[introspection]
45 + x11-libs/gtk+[introspection]
46 + gstreamer? (
47 + media-libs/gstreamer:1.0
48 + media-libs/gst-plugins-base:1.0
49 + media-libs/gst-plugins-good:1.0
50 + media-plugins/gst-plugins-meta:1.0
51 + )
52 + !gstreamer? ( media-libs/xine-lib )
53 + dbus? (
54 + app-misc/media-player-info
55 + dev-python/dbus-python[${PYTHON_USEDEP}]
56 + )
57 + udev? ( virtual/udev )
58 + !media-plugins/quodlibet-plugins"
59 +DEPEND="dev-util/intltool"
60 +
61 +S="${WORKDIR}/${PN}-release-${PV}/${PN}"
62 +
63 +src_prepare() {
64 + local qlconfig=${PN}/config.py
65 +
66 + if ! use gstreamer; then
67 + sed -i -e '/backend/s:gstbe:xinebe:' ${qlconfig} || die
68 + fi
69 +
70 + sed -i -e '/gst_pipeline/s:"":"alsasink":' ${qlconfig} || die
71 +
72 + distutils-r1_src_prepare
73 +}
74 +
75 +src_install() {
76 + distutils-r1_src_install
77 + dodoc NEWS README
78 +}
79 +
80 +pkg_preinst() {
81 + gnome2_icon_savelist
82 +}
83 +
84 +pkg_postinst() {
85 + xdg-utils_desktop_database_update
86 + gnome2_icon_cache_update
87 +}
88 +
89 +pkg_postrm() {
90 + xdg-utils_desktop_database_update
91 + gnome2_icon_cache_update
92 +}