summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:00:23 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:00:23 +0000
commite0940c1b00404574678b5e4235b8516398156ea3 (patch)
tree7a8c8ed1914bece2646c72833865052464cbeac8 /media-sound/kmp
parentQuoting (diff)
downloadgentoo-2-e0940c1b00404574678b5e4235b8516398156ea3.tar.gz
gentoo-2-e0940c1b00404574678b5e4235b8516398156ea3.tar.bz2
gentoo-2-e0940c1b00404574678b5e4235b8516398156ea3.zip
Quoting
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/kmp')
-rw-r--r--media-sound/kmp/kmp-0.01.ebuild41
-rw-r--r--media-sound/kmp/kmp-0.5.ebuild8
2 files changed, 4 insertions, 45 deletions
diff --git a/media-sound/kmp/kmp-0.01.ebuild b/media-sound/kmp/kmp-0.01.ebuild
deleted file mode 100644
index 7a6b4b9ba1bb..000000000000
--- a/media-sound/kmp/kmp-0.01.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/kmp-0.01.ebuild,v 1.9 2008/02/29 19:57:16 carlo Exp $
-
-inherit eutils kde-functions
-
-need-qt 3
-
-DESCRIPTION="An MPD client that uses Qt"
-HOMEPAGE="http://www.threadbox.net/pages/kmp"
-SRC_URI="http://www.threadbox.net/code/files/kmp/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc sparc x86"
-IUSE=""
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/kmp-0.01-gcc34.patch
-}
-
-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 "KDE;Qt;AudioVideo" "" "Multimedia"
-
- # KDE doesn't like two of the same .desktop entries
- rm -rf ${D}/usr/share/applnk
-}
diff --git a/media-sound/kmp/kmp-0.5.ebuild b/media-sound/kmp/kmp-0.5.ebuild
index 9b42b52a4c1f..b7571766f215 100644
--- a/media-sound/kmp/kmp-0.5.ebuild
+++ b/media-sound/kmp/kmp-0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 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.4 2008/02/29 19:57:16 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/kmp-0.5.ebuild,v 1.5 2009/08/03 13:00:23 ssuominen Exp $
inherit eutils kde-functions
@@ -26,7 +26,7 @@ src_compile() {
}
src_install() {
- dobin kmp
+ dobin kmp || die "dobin failed"
dodoc README
insinto /usr/share/pixmaps
@@ -34,5 +34,5 @@ src_install() {
make_desktop_entry kmp "KMP" kmp "KDE;Qt;AudioVideo" "" "Multimedia"
# KDE doesn't like two of the same .desktop entries
- rm -rf ${D}/usr/share/applnk
+ rm -rf "${D}"/usr/share/applnk
}