summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-05-16 13:29:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-05-16 13:29:56 +0000
commitd3cbcc7b6db08350be4db05f5dd82ea82a00f891 (patch)
treebb48fa4f46663ba917c057ea5e88bab8a6c3a3e8 /media-sound/kstreamripper/kstreamripper-0.3.4.ebuild
parentFix typing error and link to gentoo.org realtime-lsm guide instead. (diff)
downloadhistorical-d3cbcc7b6db08350be4db05f5dd82ea82a00f891.tar.gz
historical-d3cbcc7b6db08350be4db05f5dd82ea82a00f891.tar.bz2
historical-d3cbcc7b6db08350be4db05f5dd82ea82a00f891.zip
Install icon and move desktop entry to correct Category.
Package-Manager: portage-2.1.5_rc10
Diffstat (limited to 'media-sound/kstreamripper/kstreamripper-0.3.4.ebuild')
-rw-r--r--media-sound/kstreamripper/kstreamripper-0.3.4.ebuild17
1 files changed, 12 insertions, 5 deletions
diff --git a/media-sound/kstreamripper/kstreamripper-0.3.4.ebuild b/media-sound/kstreamripper/kstreamripper-0.3.4.ebuild
index db4f833031a5..c44384b02d60 100644
--- a/media-sound/kstreamripper/kstreamripper-0.3.4.ebuild
+++ b/media-sound/kstreamripper/kstreamripper-0.3.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kstreamripper/kstreamripper-0.3.4.ebuild,v 1.4 2008/05/13 06:41:44 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kstreamripper/kstreamripper-0.3.4.ebuild,v 1.5 2008/05/16 13:29:56 drac Exp $
-inherit kde
+inherit eutils kde
DESCRIPTION="KStreamripper - a nice KDE3 frontend to media-sound/streamripper"
HOMEPAGE="http://kstreamripper.tuxipuxi.org/"
@@ -20,15 +20,22 @@ DEPEND="${RDEPEND}
>=dev-util/scons-0.96.1"
need-kde 3.2
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-desktop-entry.patch
+}
+
src_compile() {
local myconf="kdeincludes=$(kde-config --prefix)/include prefix=/usr"
use amd64 && myconf="${myconf} libsuffix=64"
unset CFLAGS # freaking scons is passing CFLAGS into g++
- scons configure ${myconf} || die "configure failed"
- scons || die "scons failed"
+ scons configure ${myconf} || die "scons configure failed."
+ scons || die "scons failed."
}
src_install() {
- DESTDIR="${D}" scons install
+ DESTDIR="${D}" scons install || die "scons install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
+ newicon src/hi32-app-kstreamripper.png ${PN}.png
}