summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-19 09:58:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-19 09:58:07 +0000
commitb40b72c1d10315c578ee3102994c7e9e949f5233 (patch)
treef2b526b155c524dea10d7c02754a60122f793c33 /media-sound/krecord
parentstable x86, bug 274649 (diff)
downloadgentoo-2-b40b72c1d10315c578ee3102994c7e9e949f5233.tar.gz
gentoo-2-b40b72c1d10315c578ee3102994c7e9e949f5233.tar.bz2
gentoo-2-b40b72c1d10315c578ee3102994c7e9e949f5233.zip
Validate desktop entry and fix prestripping.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/krecord')
-rw-r--r--media-sound/krecord/ChangeLog9
-rw-r--r--media-sound/krecord/files/krecord-1.16-desktop_entry.patch14
-rw-r--r--media-sound/krecord/files/krecord-1.16-prestrip.patch12
-rw-r--r--media-sound/krecord/krecord-1.16.ebuild10
4 files changed, 40 insertions, 5 deletions
diff --git a/media-sound/krecord/ChangeLog b/media-sound/krecord/ChangeLog
index 7e4ca274b3ad..6e3d43e95c85 100644
--- a/media-sound/krecord/ChangeLog
+++ b/media-sound/krecord/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/krecord
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/krecord/ChangeLog,v 1.12 2007/02/22 01:09:10 peper Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/krecord/ChangeLog,v 1.13 2009/06/19 09:58:07 ssuominen Exp $
+
+ 19 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> krecord-1.16.ebuild,
+ +files/krecord-1.16-desktop_entry.patch,
+ +files/krecord-1.16-prestrip.patch:
+ Validate desktop entry and fix prestripping.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-sound/krecord/files/krecord-1.16-desktop_entry.patch b/media-sound/krecord/files/krecord-1.16-desktop_entry.patch
new file mode 100644
index 000000000000..f496f1055b4f
--- /dev/null
+++ b/media-sound/krecord/files/krecord-1.16-desktop_entry.patch
@@ -0,0 +1,14 @@
+diff -ur krecord-1.16.orig/krecord.desktop krecord-1.16/krecord.desktop
+--- krecord-1.16.orig/krecord.desktop 2004-11-03 14:57:55.000000000 +0200
++++ krecord-1.16/krecord.desktop 2009-06-19 12:55:21.000000000 +0300
+@@ -1,9 +1,7 @@
+ [Desktop Entry]
+ Type=Application
+-Encoding=UTF-8
+ Icon=log
+ Exec=krecord
+-DocPath=
+ Comment=KRecord - a Sound Recorder
+ Name=KRecord
+-Categories=AudioVideo;Recorder
++Categories=AudioVideo;Recorder;
diff --git a/media-sound/krecord/files/krecord-1.16-prestrip.patch b/media-sound/krecord/files/krecord-1.16-prestrip.patch
new file mode 100644
index 000000000000..7e96e58a74c6
--- /dev/null
+++ b/media-sound/krecord/files/krecord-1.16-prestrip.patch
@@ -0,0 +1,12 @@
+diff -ur krecord-1.16.orig/mk/Variables.mk krecord-1.16/mk/Variables.mk
+--- krecord-1.16.orig/mk/Variables.mk 2004-11-03 14:53:56.000000000 +0200
++++ krecord-1.16/mk/Variables.mk 2009-06-19 12:58:04.000000000 +0300
+@@ -23,7 +23,7 @@
+ CXX ?= g++
+ MOC ?= $(if $(QTDIR),$(QTDIR)/bin/moc,moc)
+ INSTALL ?= install
+-INSTALL_BINARY := $(INSTALL) -s
++INSTALL_BINARY := $(INSTALL)
+ INSTALL_SCRIPT := $(INSTALL)
+ INSTALL_DATA := $(INSTALL) -m 644
+ INSTALL_DIR := $(INSTALL) -d
diff --git a/media-sound/krecord/krecord-1.16.ebuild b/media-sound/krecord/krecord-1.16.ebuild
index ad112a7c95f5..abeb3698e47e 100644
--- a/media-sound/krecord/krecord-1.16.ebuild
+++ b/media-sound/krecord/krecord-1.16.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2006 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/krecord/krecord-1.16.ebuild,v 1.4 2009/06/19 09:20:45 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/krecord/krecord-1.16.ebuild,v 1.5 2009/06/19 09:58:07 ssuominen Exp $
ARTS_REQUIRED=never
-inherit kde
+inherit kde toolchain-funcs
DESCRIPTION="A KDE sound recorder."
HOMEPAGE="http://bytesex.org/krecord.html"
@@ -21,6 +21,10 @@ DEPEND="${RDEPEND}"
need-kde 3.5
+PATCHES=( "${FILESDIR}/${P}-desktop_entry.patch"
+ "${FILESDIR}/${P}-prestrip.patch" )
+
src_compile() {
+ tc-export CC CXX
emake || die "emake failed"
}