summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-05-09 13:13:24 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-05-09 13:13:24 +0000
commit42c348cccc309f16c6d1c82c4782697f51629d88 (patch)
treeecfc503bbe6083ec0cc0cdb237e238af3bc73308 /media-sound/jtagger
parentx86 stable wrt #177728 (diff)
downloadgentoo-2-42c348cccc309f16c6d1c82c4782697f51629d88.tar.gz
gentoo-2-42c348cccc309f16c6d1c82c4782697f51629d88.tar.bz2
gentoo-2-42c348cccc309f16c6d1c82c4782697f51629d88.zip
Initial addition. Thanks to Serkan Kaba <serkan_kaba@yahoo.com> for the initial ebuild. Fixes bug #173994.
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-sound/jtagger')
-rw-r--r--media-sound/jtagger/ChangeLog11
-rw-r--r--media-sound/jtagger/Manifest16
-rw-r--r--media-sound/jtagger/files/digest-jtagger-2007.023
-rw-r--r--media-sound/jtagger/jtagger-2007.02.ebuild74
-rw-r--r--media-sound/jtagger/metadata.xml11
5 files changed, 115 insertions, 0 deletions
diff --git a/media-sound/jtagger/ChangeLog b/media-sound/jtagger/ChangeLog
new file mode 100644
index 000000000000..a52c77b18341
--- /dev/null
+++ b/media-sound/jtagger/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/jtagger
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/ChangeLog,v 1.1 2007/05/09 13:13:24 betelgeuse Exp $
+
+*jtagger-2007.02 (09 May 2007)
+
+ 09 May 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +jtagger-2007.02.ebuild:
+ Initial addition. Thanks to Serkan Kaba <serkan_kaba@yahoo.com> for the
+ initial ebuild. Fixes bug #173994.
+
diff --git a/media-sound/jtagger/Manifest b/media-sound/jtagger/Manifest
new file mode 100644
index 000000000000..a5bb69172e18
--- /dev/null
+++ b/media-sound/jtagger/Manifest
@@ -0,0 +1,16 @@
+DIST jtagger-2007.02.jar 856800 RMD160 7865237e5ea88b647e4301305acb678a303ceddf SHA1 0e30a76fde45b53f9ec4f75d54b94b469b58731d SHA256 00918d89239d6804c7a04c4c096e007f8ec70b361228a3548b622c68ef82fdf1
+EBUILD jtagger-2007.02.ebuild 2053 RMD160 2efa93075c55e6878c4192a85d5d7a82c7fb6740 SHA1 d649ff70185190fd8a1c8d8a0950e3ab1c538393 SHA256 2ef55530fbd344d0d50853bf19b842c0192f2ebfb31055f5f7269822ce2cecd2
+MD5 9dc9e3309a74a05295818940e14fc9ef jtagger-2007.02.ebuild 2053
+RMD160 2efa93075c55e6878c4192a85d5d7a82c7fb6740 jtagger-2007.02.ebuild 2053
+SHA256 2ef55530fbd344d0d50853bf19b842c0192f2ebfb31055f5f7269822ce2cecd2 jtagger-2007.02.ebuild 2053
+MISC ChangeLog 359 RMD160 0a32e87a57306a1eeca3e29e05b487f2aa6b873f SHA1 d7b4c912b679cd2f19d3aa1ec4bb0f189806c570 SHA256 10e02d6dc0e9397d9b714f11bd5bd8c8e79b3449e3ba29a97234ca03b9a202f3
+MD5 f5bd5bd94ad3e6d7a1f726ba24caffd6 ChangeLog 359
+RMD160 0a32e87a57306a1eeca3e29e05b487f2aa6b873f ChangeLog 359
+SHA256 10e02d6dc0e9397d9b714f11bd5bd8c8e79b3449e3ba29a97234ca03b9a202f3 ChangeLog 359
+MISC metadata.xml 484 RMD160 d9472cb6ed8a6a55359acd9108b24b8d54f55db5 SHA1 82a3b8e9bf67536cb8a459665436fb89b904be87 SHA256 e75acc709e582d5711ddadc0b03eff6a40326d6274fe1094205904a097e2f08a
+MD5 988a0f2dd7f93b0f8fa632904e11a1f6 metadata.xml 484
+RMD160 d9472cb6ed8a6a55359acd9108b24b8d54f55db5 metadata.xml 484
+SHA256 e75acc709e582d5711ddadc0b03eff6a40326d6274fe1094205904a097e2f08a metadata.xml 484
+MD5 812fdca96fdfdf10e85726a9f3e6fffe files/digest-jtagger-2007.02 238
+RMD160 4afb76715f49424b7dece5604e92944f551fefc3 files/digest-jtagger-2007.02 238
+SHA256 345b67d3140d1fbbe74d7a61ddb87ffff52a3a2560689c7e38e561e3b98106fd files/digest-jtagger-2007.02 238
diff --git a/media-sound/jtagger/files/digest-jtagger-2007.02 b/media-sound/jtagger/files/digest-jtagger-2007.02
new file mode 100644
index 000000000000..34259a5bbb49
--- /dev/null
+++ b/media-sound/jtagger/files/digest-jtagger-2007.02
@@ -0,0 +1,3 @@
+MD5 61b920e97c0b57af552d6e4d32d820fa jtagger-2007.02.jar 856800
+RMD160 7865237e5ea88b647e4301305acb678a303ceddf jtagger-2007.02.jar 856800
+SHA256 00918d89239d6804c7a04c4c096e007f8ec70b361228a3548b622c68ef82fdf1 jtagger-2007.02.jar 856800
diff --git a/media-sound/jtagger/jtagger-2007.02.ebuild b/media-sound/jtagger/jtagger-2007.02.ebuild
new file mode 100644
index 000000000000..c4e00422b4d0
--- /dev/null
+++ b/media-sound/jtagger/jtagger-2007.02.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/jtagger-2007.02.ebuild,v 1.1 2007/05/09 13:13:24 betelgeuse Exp $
+
+JAVA_PKG_IUSE="source test"
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Powerful MP3 tag and filename editor"
+HOMEPAGE="http://dronten.googlepages.com/jtagger"
+SRC_URI="http://dronten.googlepages.com/${P}.jar"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+COMMON_DEP="
+ dev-java/jlayer
+ dev-java/jid3"
+RDEPEND=">=virtual/jre-1.5
+ >=dev-java/jgoodies-looks-2.0
+ ${COMMON_DEP}"
+
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5
+ app-arch/unzip
+ test? ( dev-java/junit )"
+
+src_unpack() {
+ mkdir -p "${S}/src"
+ cd "${S}/src"
+ unpack ${A}
+ rm -vr com/jgoodies || die
+ rm -vr javazoom || die
+ rm -vr org || die
+ find . -name '*.class' -delete || die
+ #Move the tests away
+ mkdir -p ../test/com/googlepages/dronten/jtagger || die
+ mv com/googlepages/dronten/jtagger/test \
+ ../test/com/googlepages/dronten/jtagger/test || die
+}
+
+src_compile() {
+ local classpath=$(java-pkg_getjars jid3,jlayer)
+ cd "${S}/src"
+ find . -name '*.java' -print > sources.list
+ ejavac -encoding latin1 -cp ${classpath} @sources.list
+ find . -name '*.class' -print > classes.list
+ find . -name '*.png' -print >> classes.list
+ touch myManifest
+ jar cmf myManifest ${PN}.jar @classes.list || die "jar failed"
+}
+
+src_install() {
+ java-pkg_dojar src/${PN}.jar
+ java-pkg_register-dependency jgoodies-looks-2.0
+ use source && java-pkg_dosrc src/com
+ java-pkg_dolauncher jtagger --main com.googlepages.dronten.jtagger.JTagger
+ newicon src/com/googlepages/dronten/jtagger/resource/jTagger.icon.png ${PN}.png
+ make_desktop_entry jtagger "jTagger MP3 tag editor"
+}
+
+src_test() {
+ cd "${S}/test"
+ local cp=".:../src/${PN}.jar:$(java-pkg_getjars jid3,jlayer)"
+ cp="${cp}:$(java-pkg_getjars --build-only junit)"
+ find . -name '*.java' -print > sources.list
+ ejavac -cp ${cp} @sources.list
+ ejunit -cp ${cp} \
+ com.googlepages.dronten.jtagger.test.TestRenameAlbum \
+ com.googlepages.dronten.jtagger.test.TestRenameFile \
+ com.googlepages.dronten.jtagger.test.TestRenameTitle
+}
diff --git a/media-sound/jtagger/metadata.xml b/media-sound/jtagger/metadata.xml
new file mode 100644
index 000000000000..f467e695da5e
--- /dev/null
+++ b/media-sound/jtagger/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ jTagger is an powerful MP3 tag and filename editor. It can update
+ tags and filenames in different batch editing modes. Basic MP3
+ playback is supported. jTagger can write tags with unicode characters
+ (optional). It is recommended that you dont use that with id3v1 tags.
+ </longdescription>
+</pkgmetadata>