summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:06:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:06:56 +0000
commit4a37a30d78e9b2c0369a606a34413e35a8dc74a5 (patch)
tree7f85ee1e2c50beaa6de945c2cc51112da9733cc5 /media-sound/jtagger
parentQuoting (diff)
downloadgentoo-2-4a37a30d78e9b2c0369a606a34413e35a8dc74a5.tar.gz
gentoo-2-4a37a30d78e9b2c0369a606a34413e35a8dc74a5.tar.bz2
gentoo-2-4a37a30d78e9b2c0369a606a34413e35a8dc74a5.zip
Move sed to src_prepare
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/jtagger')
-rw-r--r--media-sound/jtagger/jtagger-1.0.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/media-sound/jtagger/jtagger-1.0.ebuild b/media-sound/jtagger/jtagger-1.0.ebuild
index 224be00aeea0..2125c63b2b06 100644
--- a/media-sound/jtagger/jtagger-1.0.ebuild
+++ b/media-sound/jtagger/jtagger-1.0.ebuild
@@ -1,9 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/jtagger-1.0.ebuild,v 1.1 2009/05/16 23:06:11 serkan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/jtagger-1.0.ebuild,v 1.2 2009/08/03 13:06:56 ssuominen Exp $
EAPI="2"
-
JAVA_PKG_IUSE="source test"
inherit eutils java-pkg-2
@@ -13,16 +12,14 @@ HOMEPAGE="http://dronten.googlepages.com/jtagger"
SRC_URI="http://dronten.googlepages.com/${PN}.zip -> ${P}.zip"
LICENSE="GPL-3"
+SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-SLOT="0"
-COMMON_DEP="
- dev-java/jlayer
+COMMON_DEP="dev-java/jlayer
>=dev-java/jid3-0.46-r1"
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEP}"
-
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
DEPEND="${COMMON_DEP}
>=virtual/jdk-1.5
app-arch/unzip"
@@ -33,7 +30,9 @@ src_unpack() {
unpack ${A}
unzip -q ${PN}.jar || die
+}
+src_prepare() {
# Fix for bug #231571 comment #2. This removes real @Override annotations but safer.
sed -i -e "s/@Override//g" $(find . -name "*.java") || die "failed fixing for Java 5."