commit: 06dfc67c005ed305d7f572ad940da3a75167c3eb Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Jul 1 18:47:11 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Jul 1 19:08:16 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06dfc67c
media-sound/qmpdclient: Fix DEPENDs Gentoo-bug: 620714 Package-Manager: Portage-2.3.6, Repoman-2.3.1 media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild b/media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild new file mode 100644 index 00000000000..014cca271ad --- /dev/null +++ b/media-sound/qmpdclient/qmpdclient-1.2.2-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit fdo-mime cmake-utils + +DESCRIPTION="QMPDClient with NBL additions, such as lyrics' display" +HOMEPAGE="http://bitcheese.net/wiki/QMPDClient" +SRC_URI="http://dump.bitcheese.net/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="debug" + +DEPEND=" + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qtxmlpatterns:4 + x11-libs/libX11 +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +DOCS=( AUTHORS README THANKSTO ) + +PATCHES=( "${FILESDIR}"/${P}-qt48.patch ) + +src_prepare() { + sed -i -e "/^Categories/s/Network/AudioVideo/" ${PN}.desktop || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( "-DVERSION=${PV}" ) + cmake-utils_src_configure +} + +pkg_postinst() { fdo-mime_desktop_database_update; } +pkg_postrm() { fdo-mime_desktop_database_update; }
