diff options
Diffstat (limited to 'media-sound/kmp/kmp-0.5.ebuild')
-rw-r--r-- | media-sound/kmp/kmp-0.5.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-sound/kmp/kmp-0.5.ebuild b/media-sound/kmp/kmp-0.5.ebuild new file mode 100644 index 000000000000..e46ed5cc4b3a --- /dev/null +++ b/media-sound/kmp/kmp-0.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/kmp-0.5.ebuild,v 1.1 2005/05/04 16:04:18 luckyduck Exp $ + +inherit eutils kde-functions + +need-qt 3 + +DESCRIPTION="An MPD client that uses Qt" +HOMEPAGE="http://www.threadbox.net/kmp.php" +SRC_URI="http://www.threadbox.net/code/files/kmp/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="" + +S=${WORKDIR}/${PN} + +src_compile() { + echo QMAKE_CFLAGS_RELEASE=${CFLAGS} >> kmp.pro + echo QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} >> kmp.pro + + econf || die "configure failed" + emake || die "make failed" +} + +src_install() { + dobin kmp + dodoc README + + insinto /usr/share/pixmaps + newins pics/icon.png kmp.png + make_desktop_entry kmp "KMP" kmp.png "KDE;Qt;AudioVideo" "" "Multimedia" + + # KDE doesn't like two of the same .desktop entries + rm -rf ${D}/usr/share/applnk +} |