diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-07-12 09:47:13 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-07-12 09:47:13 +0000 |
commit | efebb83923d00ce973876d189e6f46639e607e97 (patch) | |
tree | b94a94b52fb269309b77c195b7c589837d608508 | |
parent | Initial ebuild. Fixes bug #205458. (diff) | |
download | gentoo-2-efebb83923d00ce973876d189e6f46639e607e97.tar.gz gentoo-2-efebb83923d00ce973876d189e6f46639e607e97.tar.bz2 gentoo-2-efebb83923d00ce973876d189e6f46639e607e97.zip |
Initial ebuild. Fixes bug #205460.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
5 files changed, 100 insertions, 0 deletions
diff --git a/media-sound/entagged-tageditor/ChangeLog b/media-sound/entagged-tageditor/ChangeLog new file mode 100644 index 000000000000..0baf8cee81cd --- /dev/null +++ b/media-sound/entagged-tageditor/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-sound/entagged-tageditor +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/entagged-tageditor/ChangeLog,v 1.1 2008/07/12 09:47:13 serkan Exp $ + +*entagged-tageditor-0.35 (12 Jul 2008) + + 12 Jul 2008; Serkan Kaba <serkan@gentoo.org> + +files/entagged-tageditor-0.35-buildfixes.patch, +metadata.xml, + +entagged-tageditor-0.35.ebuild: + Initial ebuild. Fixes bug #205460. + diff --git a/media-sound/entagged-tageditor/Manifest b/media-sound/entagged-tageditor/Manifest new file mode 100644 index 000000000000..03a951be4fdc --- /dev/null +++ b/media-sound/entagged-tageditor/Manifest @@ -0,0 +1,5 @@ +AUX entagged-tageditor-0.35-buildfixes.patch 1861 RMD160 6e683095f469f1c4c6e71b621730596c9e0e2929 SHA1 5b6e50014fc71dc1f6966ad888a7836878963826 SHA256 54e2bbbe1b735a25af09d1da2f990b1b147086a38f3c7a225238b516256c902a +DIST entagged-tageditor-0.35.tar.gz 4606721 RMD160 24dbf8631a128a3ffd1eccaecdc6fe5d148bd281 SHA1 0ed0437bc938f2060d0793723f3ec22b7ee4d0df SHA256 c9e9b69a49bdf6646cc21dc3cc0734e6c54ac91e99774b1d87a6765b365611ac +EBUILD entagged-tageditor-0.35.ebuild 1153 RMD160 1b0077e6acc0b7fd0f4eb71447310211d9f7d16e SHA1 e4c48227a8295276bd97c001d9c84cc13fa97986 SHA256 0376276fa50e3ce105235fb4ca7557e9722007f32ecf55ee1a8dcdafb69f01db +MISC ChangeLog 357 RMD160 1aa5cfbd8560c46f5cbda8d139cae29e28b9cf38 SHA1 097be3b1f3b282158045b52acb709bc9e2cb99a5 SHA256 148c35ff80346fe1ffbed4698d59b6be36331e513bddd60180d1dc80b97dce21 +MISC metadata.xml 216 RMD160 05d4d9c2f1c459ea9309346016001e26bad574ce SHA1 98783559fec44d27f1294db2e9549af2fe38f1b3 SHA256 94b55a2ec67c524728d32249d59a6a1545fd37d61c83259b5f05163ca47e87e1 diff --git a/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild b/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild new file mode 100644 index 000000000000..9642c8395385 --- /dev/null +++ b/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild,v 1.1 2008/07/12 09:47:13 serkan Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Open-source audiofile tagger" +HOMEPAGE="http://entagged.sourceforge.net/" +SRC_URI="http://ebuild.linux-sevenler.org/distfiles/${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +S="${WORKDIR}" + +RDEPEND=">=virtual/jre-1.5 + dev-java/squareness-jlf + dev-db/hsqldb" + +DEPEND=">=virtual/jdk-1.5 + dev-db/hsqldb" + +EANT_BUILD_XML="entagged/build.xml" +EANT_BUILD_TARGET="build" + +src_unpack() { + unpack ${A} + mkdir -p test/entagged/junit || die + mv entagged/entagged/junit test/entagged || die + rm entagged/*.jar || die + java-pkg_jarfrom hsqldb hsqldb.jar entagged/hsqldb.jar + cd entagged || die + epatch "${FILESDIR}"/${P}-buildfixes.patch +} + +src_install() { + cd entagged || die + java-pkg_newjar ${P}.jar ${PN}.jar + java-pkg_register-dependency squareness-jlf + java-pkg_dolauncher ${PN} --main entagged.tageditor.TagEditorFrameSplash + newicon entagged/tageditor/resources/icons/entagged-icon.png ${PN}.png + make_desktop_entry ${PN} "Entagged Tag Editor" ${PN} +} diff --git a/media-sound/entagged-tageditor/files/entagged-tageditor-0.35-buildfixes.patch b/media-sound/entagged-tageditor/files/entagged-tageditor-0.35-buildfixes.patch new file mode 100644 index 000000000000..7b470e2dbeb5 --- /dev/null +++ b/media-sound/entagged-tageditor/files/entagged-tageditor-0.35-buildfixes.patch @@ -0,0 +1,31 @@ +--- build.xml 2007-03-23 16:25:25.000000000 +0200 ++++ build.xml.fixed 2007-09-01 09:20:44.000000000 +0300 +@@ -30,7 +30,7 @@ + <property name="entagged_dir" location="."/>
+ <property name="entagged_base_dir" location=".."/>
+ <property name="tageditor_dir" location="tageditor"/>
+- <property name="tageditor_version" value="0.21"/>
++ <property name="tageditor_version" value="0.35"/>
+ <property name="tageditor_jar" value="entagged-tageditor-${tageditor_version}.jar"/>
+ <property name="tageditor_zip" value="entagged-tageditor-${tageditor_version}.zip"/>
+ <property name="tageditor_tar" value="entagged-tageditor-${tageditor_version}.tar"/>
+@@ -52,7 +52,7 @@ +
+ <!-- Compile the sources -->
+ <target name="compile" depends="clean">
+- <javac srcdir="${entagged_dir}" classpath="${entagged_base_dir}" excludes="entagged/junit/*" source="1.4"/>
++ <javac srcdir="${entagged_dir}" classpath="hsqldb.jar" excludes="entagged/junit/*"/>
+ <echo>
+ Entagged Tag editor is now fully compiled.
+ You can use either:
+@@ -71,9 +71,8 @@ + <!-- Prepares the classes to be packaged -->
+ <target name="build" depends="compile">
+ <!-- Jar the classes files -->
+- <jar destfile="${tageditor_jar}" basedir="${entagged_base_dir}" includes="entagged/**/*.class entagged/**/*.xsl entagged/**/*.dtd entagged/**/*.properties entagged/**/*.html entagged/tageditor/resources/**/*" excludes="**/*.java" >
++ <jar destfile="${tageditor_jar}" basedir="${entagged_base_dir}/entagged" includes="entagged/**/*.class entagged/**/*.xsl entagged/**/*.dtd entagged/**/*.properties entagged/**/*.html entagged/tageditor/resources/**/* miage/**/*.class" excludes="**/*.java" >
+ <manifest>
+- <attribute name="Class-Path" value="${tageditor_jar_classpath}"/>
+ <attribute name="Main-Class" value="${tageditor_jar_mainclass}"/>
+ </manifest>
+ </jar>
diff --git a/media-sound/entagged-tageditor/metadata.xml b/media-sound/entagged-tageditor/metadata.xml new file mode 100644 index 000000000000..a2ac2e03bfbd --- /dev/null +++ b/media-sound/entagged-tageditor/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<maintainer> + <email>java@gentoo.org</email> +</maintainer> +</pkgmetadata> |