diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-28 15:44:55 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-28 15:44:55 +0000 |
commit | b3d1abc9f1415539946ade1a6b1f3e6f1660b762 (patch) | |
tree | 9d4819ff8b63e558cec133f916d6eb4825dba544 /media-sound | |
parent | version bump, install perl modules into correct location by tove in bug #294590 (diff) | |
download | gentoo-2-b3d1abc9f1415539946ade1a6b1f3e6f1660b762.tar.gz gentoo-2-b3d1abc9f1415539946ade1a6b1f3e6f1660b762.tar.bz2 gentoo-2-b3d1abc9f1415539946ade1a6b1f3e6f1660b762.zip |
Stop using deprecated kde-functions.eclass.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/kmp/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/kmp/kmp-0.5.ebuild | 26 |
2 files changed, 15 insertions, 18 deletions
diff --git a/media-sound/kmp/ChangeLog b/media-sound/kmp/ChangeLog index c1f8d5e0e772..d6f66f2177b5 100644 --- a/media-sound/kmp/ChangeLog +++ b/media-sound/kmp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/kmp -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/ChangeLog,v 1.13 2008/05/30 07:03:59 phreak Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/ChangeLog,v 1.14 2009/12/28 15:44:55 ssuominen Exp $ + + 28 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> kmp-0.5.ebuild: + Stop using deprecated kde-functions.eclass. 30 May 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Removing Andrej Kacian (Ticho) from metadata.xml (as per #59986). diff --git a/media-sound/kmp/kmp-0.5.ebuild b/media-sound/kmp/kmp-0.5.ebuild index b7571766f215..48fc2760afe8 100644 --- a/media-sound/kmp/kmp-0.5.ebuild +++ b/media-sound/kmp/kmp-0.5.ebuild @@ -1,10 +1,9 @@ # 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.5 2009/08/03 13:00:23 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/kmp/kmp-0.5.ebuild,v 1.6 2009/12/28 15:44:55 ssuominen Exp $ -inherit eutils kde-functions - -need-qt 3 +EAPI=2 +inherit eutils qt3 DESCRIPTION="An MPD client that uses Qt" HOMEPAGE="http://www.threadbox.net/pages/kmp" @@ -15,24 +14,19 @@ SLOT="0" KEYWORDS="amd64 ~ppc sparc x86" IUSE="" +DEPEND="x11-libs/qt:3" + S=${WORKDIR}/${PN} -src_compile() { +src_configure() { echo QMAKE_CFLAGS_RELEASE=${CFLAGS} >> kmp.pro echo QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} >> kmp.pro - - ac_moc=${QTDIR}/bin/moc ac_uic=${QTDIR}/bin/uic ac_qmake=${QTDIR}/bin/qmake econf || die "configure failed" - emake || die "make failed" + ac_moc=${QTDIR}/bin/moc ac_uic=${QTDIR}/bin/uic ac_qmake=${QTDIR}/bin/qmake econf } src_install() { - dobin kmp || die "dobin failed" + dobin kmp || die 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 + newicon pics/icon.png kmp.png + make_desktop_entry kmp KMP kmp "KDE;Qt;AudioVideo" } |