Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/qmpdclient/
Date: Sat, 01 Jul 2017 19:08:32
Message-Id: 1498936096.06dfc67c005ed305d7f572ad940da3a75167c3eb.asturm@gentoo
1 commit: 06dfc67c005ed305d7f572ad940da3a75167c3eb
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 1 18:47:11 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 1 19:08:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06dfc67c
7
8 media-sound/qmpdclient: Fix DEPENDs
9
10 Gentoo-bug: 620714
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13
14 media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild | 42 +++++++++++++++++++++++
15 1 file changed, 42 insertions(+)
16
17 diff --git a/media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild b/media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild
18 new file mode 100644
19 index 00000000000..014cca271ad
20 --- /dev/null
21 +++ b/media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild
22 @@ -0,0 +1,42 @@
23 +# Copyright 1999-2017 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +inherit fdo-mime cmake-utils
29 +
30 +DESCRIPTION="QMPDClient with NBL additions, such as lyrics' display"
31 +HOMEPAGE="http://bitcheese.net/wiki/QMPDClient"
32 +SRC_URI="http://dump.bitcheese.net/files/${P}.tar.bz2"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0"
36 +KEYWORDS="amd64 ppc x86"
37 +IUSE="debug"
38 +
39 +DEPEND="
40 + dev-qt/qtdbus:4
41 + dev-qt/qtgui:4
42 + dev-qt/qtxmlpatterns:4
43 + x11-libs/libX11
44 +"
45 +RDEPEND="${DEPEND}"
46 +
47 +S=${WORKDIR}/${PN}
48 +
49 +DOCS=( AUTHORS README THANKSTO )
50 +
51 +PATCHES=( "${FILESDIR}"/${P}-qt48.patch )
52 +
53 +src_prepare() {
54 + sed -i -e "/^Categories/s/Network/AudioVideo/" ${PN}.desktop || die
55 + cmake-utils_src_prepare
56 +}
57 +
58 +src_configure() {
59 + local mycmakeargs=( "-DVERSION=${PV}" )
60 + cmake-utils_src_configure
61 +}
62 +
63 +pkg_postinst() { fdo-mime_desktop_database_update; }
64 +pkg_postrm() { fdo-mime_desktop_database_update; }