diff options
Diffstat (limited to 'media-sound/qmpdclient/qmpdclient-1.0.9.ebuild')
-rw-r--r-- | media-sound/qmpdclient/qmpdclient-1.0.9.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-sound/qmpdclient/qmpdclient-1.0.9.ebuild b/media-sound/qmpdclient/qmpdclient-1.0.9.ebuild new file mode 100644 index 000000000000..7378a60a2fe3 --- /dev/null +++ b/media-sound/qmpdclient/qmpdclient-1.0.9.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.0.9.ebuild,v 1.1 2008/04/21 11:24:21 yngwin Exp $ + +EAPI=1 + +inherit eutils multilib qt4 toolchain-funcs + +DESCRIPTION="An easy to use MPD client written in Qt4" +HOMEPAGE="http://havtknut.tihlde.org/qmpdclient" +SRC_URI="http://havtknut.tihlde.org/${PN}/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="|| ( >=x11-libs/qt-4.2:4 x11-libs/qt-gui:4 )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix the install path + sed -i -e "s:PREFIX = /usr/local:PREFIX = /usr:" qmpdclient.pro \ + || die "sed failed" +} + +src_compile() { + eqmake4 || die "qmake failed" + emake || die "make failed" +} + +src_install() { + dodoc README AUTHORS THANKSTO Changelog + for res in 16 22 32 64 128 ; do + insinto /usr/share/icons/hicolor/${res}x${res}/apps/ + newins icons/qmpdclient${res}.png ${PN}.png + done + + dobin qmpdclient || die "dobin failed" + make_desktop_entry qmpdclient "QMPDClient" ${PN} "Qt;AudioVideo;Audio" +} |