summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-05-16 13:29:56 +0000
committerSamuli Suominen <drac@gentoo.org>2008-05-16 13:29:56 +0000
commit572d06e1460014f68ddebbece06ea89bda13a1ec (patch)
tree87c719206c3e85f044224d4dbf7bb628b5e14951 /media-sound/kstreamripper
parentFix typing error and link to gentoo.org realtime-lsm guide instead. (diff)
downloadgentoo-2-572d06e1460014f68ddebbece06ea89bda13a1ec.tar.gz
gentoo-2-572d06e1460014f68ddebbece06ea89bda13a1ec.tar.bz2
gentoo-2-572d06e1460014f68ddebbece06ea89bda13a1ec.zip
Install icon and move desktop entry to correct Category.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'media-sound/kstreamripper')
-rw-r--r--media-sound/kstreamripper/ChangeLog7
-rw-r--r--media-sound/kstreamripper/files/kstreamripper-0.3.4-desktop-entry.patch14
-rw-r--r--media-sound/kstreamripper/kstreamripper-0.3.4.ebuild17
3 files changed, 32 insertions, 6 deletions
diff --git a/media-sound/kstreamripper/ChangeLog b/media-sound/kstreamripper/ChangeLog
index a5b8677eaa50..f86270060db0 100644
--- a/media-sound/kstreamripper/ChangeLog
+++ b/media-sound/kstreamripper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/kstreamripper
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kstreamripper/ChangeLog,v 1.13 2008/05/13 06:41:44 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kstreamripper/ChangeLog,v 1.14 2008/05/16 13:29:56 drac Exp $
+
+ 16 May 2008; Samuli Suominen <drac@gentoo.org>
+ +files/kstreamripper-0.3.4-desktop-entry.patch,
+ kstreamripper-0.3.4.ebuild:
+ Install icon and move desktop entry to correct Category.
13 May 2008; Samuli Suominen <drac@gentoo.org> kstreamripper-0.3.4.ebuild:
Stop passing CFLAGS for g++ and MAKEOPTS because scons is stupid wrt
diff --git a/media-sound/kstreamripper/files/kstreamripper-0.3.4-desktop-entry.patch b/media-sound/kstreamripper/files/kstreamripper-0.3.4-desktop-entry.patch
new file mode 100644
index 000000000000..51e5b76fab46
--- /dev/null
+++ b/media-sound/kstreamripper/files/kstreamripper-0.3.4-desktop-entry.patch
@@ -0,0 +1,14 @@
+diff -ur kstreamripper-0.3.4.orig/src/kstreamripper.desktop kstreamripper-0.3.4/src/kstreamripper.desktop
+--- kstreamripper-0.3.4.orig/src/kstreamripper.desktop 2005-01-23 21:29:37.000000000 +0200
++++ kstreamripper-0.3.4/src/kstreamripper.desktop 2008-05-16 15:18:38.000000000 +0300
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=KStreamRipper
+ Name[xx]=xxKStreamRipperxx
+ Exec=kstreamripper
+@@ -14,3 +13,4 @@
+ Comment[sl]=Preprost program za KDE
+ Comment[sv]=Ett enkelt KDE-program
+ Comment[xx]=xxA simple KDE Applicationxx
++Categories=AudioVideo;Audio;
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
}