From d5c3e658dfe855d3b35ee9ac24191daf91ce56ec Mon Sep 17 00:00:00 2001
From: Carsten Lohrke <carlo@gentoo.org>
Date: Fri, 13 Feb 2009 20:35:06 +0000
Subject:  Get rid of invalid aRts dependency. Fix desktop file. (Portage
 version: 2.2_rc23/cvs/Linux i686)

---
 media-sound/scret/ChangeLog                        | 10 +++++--
 .../scret/files/score-0.1.3-desktop-file.diff      | 32 ++++++++++++++++++++++
 media-sound/scret/scret-0.1.3-r1.ebuild            | 30 ++++++++++++++++++++
 3 files changed, 70 insertions(+), 2 deletions(-)
 create mode 100644 media-sound/scret/files/score-0.1.3-desktop-file.diff
 create mode 100644 media-sound/scret/scret-0.1.3-r1.ebuild

(limited to 'media-sound')

diff --git a/media-sound/scret/ChangeLog b/media-sound/scret/ChangeLog
index 33ff8550e863..94f996601d78 100644
--- a/media-sound/scret/ChangeLog
+++ b/media-sound/scret/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for media-sound/scret
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/scret/ChangeLog,v 1.7 2007/02/03 20:21:07 flameeyes Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/scret/ChangeLog,v 1.8 2009/02/13 20:35:06 carlo Exp $
+
+*scret-0.1.3-r1 (13 Feb 2009)
+
+  13 Feb 2009; Carsten Lohrke <carlo@gentoo.org>
+  +files/score-0.1.3-desktop-file.diff, +scret-0.1.3-r1.ebuild:
+  Get rid of invalid aRts dependency. Fix desktop file.
 
   03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
   Regenerate digest in Manifest2 format.
diff --git a/media-sound/scret/files/score-0.1.3-desktop-file.diff b/media-sound/scret/files/score-0.1.3-desktop-file.diff
new file mode 100644
index 000000000000..3f7cf66c3fca
--- /dev/null
+++ b/media-sound/scret/files/score-0.1.3-desktop-file.diff
@@ -0,0 +1,32 @@
+--- src/Makefile.am.orig	2009-02-13 18:54:32.000000000 +0100
++++ src/Makefile.am	2009-02-13 18:54:52.000000000 +0100
+@@ -28,7 +28,7 @@
+ KDE_ICON = ScoreReadingTrainer
+ 
+ # this is where the kdelnk file will go 
+-kdelnkdir   = $(kde_appsdir)/Edutainment/Miscellaneous
++kdelnkdir   = $(xdg_appsdir)/
+ kdelnk_DATA = ScoreReadingTrainer.desktop
+ 
+ # this is where the XML-GUI resource file goes
+--- src/ScoreReadingTrainer.desktop.orig	2009-02-13 18:21:48.000000000 +0100
++++ src/ScoreReadingTrainer.desktop	2009-02-13 18:54:17.000000000 +0100
+@@ -1,11 +1,13 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Score Reading Trainer
++Name[de]=Partitur-Lese-Trainer
+ Name[es]=Entrenador de Lectura de Partituras
+-Exec=ScoreReadingTrainer %i %m -caption "%c"
++Exec=ScoreReadingTrainer %i -caption "%c"
+ Icon=ScoreReadingTrainer
+ Type=Application
+-DocPath=ScoreReadingTrainer/ScoreReadingTrainer.html
++X-DocPath=ScoreReadingTrainer/ScoreReadingTrainer.html
+ Comment=Improve scoring reading skills.
+-Comment[es]=Mejor� tu habilidad para leer partituras.
+-Terminal=0
++Comment[de]=Verbessern sie ihre Fähigkeit, Partituren zu lesen.
++Comment[es]=Mejoré tu habilidad para leer partituras.
++Terminal=false
++Categories=Qt;KDE;Education;Music;
diff --git a/media-sound/scret/scret-0.1.3-r1.ebuild b/media-sound/scret/scret-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..e4cc3c026ff6
--- /dev/null
+++ b/media-sound/scret/scret-0.1.3-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/scret/scret-0.1.3-r1.ebuild,v 1.1 2009/02/13 20:35:06 carlo Exp $
+
+ARTS_REQUIRED="never"
+
+WANT_AUTOMAKE="1.6"
+
+inherit kde
+
+S="${WORKDIR}/ScoreReadingTrainer-${PV}"
+
+DESCRIPTION="A musical score reading trainer."
+HOMEPAGE="http://scret.sourceforge.net"
+SRC_URI="mirror://sourceforge/scret/ScoreReadingTrainer-${PV}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+need-kde 3.5
+
+PATCHES=( "${FILESDIR}/score-0.1.3-desktop-file.diff" )
+
+
+src_unpack(){
+	kde_src_unpack
+	rm -f "${S}"/configure
+}
-- 
cgit v1.2.3-65-gdbad