summaryrefslogtreecommitdiff
path: root/media-sound/jtagger
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/jtagger
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/jtagger')
-rw-r--r--media-sound/jtagger/Manifest5
-rw-r--r--media-sound/jtagger/jtagger-1.0-r1.ebuild59
-rw-r--r--media-sound/jtagger/metadata.xml14
3 files changed, 78 insertions, 0 deletions
diff --git a/media-sound/jtagger/Manifest b/media-sound/jtagger/Manifest
new file mode 100644
index 000000000000..101a800f0863
--- /dev/null
+++ b/media-sound/jtagger/Manifest
@@ -0,0 +1,5 @@
+DIST jtagger-1.0.zip 458575 SHA256 9cce80aeb2129cc04900c30f66558400aacb4c107376ef3b99dc8652e2457933 SHA512 abd6a6b2025b292520c302ca82d3e26ebf1243421749bf62406880d5566390c3dda8ec878b21dce1c5bf697c409a0b213b5243d32a5d040fe7f4d83f03a9ebcd WHIRLPOOL b059f4543944e05cfc015586a5ece2881f86a2a1d5bcd6b34ba71d7f9a9ec2fb2a2d6c3d7c8e2a6a843d5f3209ba7eb12e9f6ea491725e7e327a94ae7a3e3341
+EBUILD jtagger-1.0-r1.ebuild 1468 SHA256 57ab59b67300095e52468c7f1f28b42ae90012dcfd0228df0119fa8c43bb5bbd SHA512 18573ecce782b5a8052146bfb1fd9b26eeb3c48a89db427bdbd37cc8998ed6c4e9d50db7a5b766ee1a2decd6b271673d2312eeb0ddcf5d912d34889e42bcc37b WHIRLPOOL eb8a45d9ea95b4bd805e36340843621ad0a5ec43b3f6a458e05e69d5f3ab763d992a2a5436a4f2b3bf259c98db383297380cc903eb734c32af318e1ce2da3141
+MISC ChangeLog 2432 SHA256 46f3566baf5a0b82ff6b5ce803cefe97953cb8340d0ff75e025f7150b148f6b2 SHA512 4b057cb262d2cd9e6b4c2ca557c967af9e417ad3523ee4b798e3e007e4294ebf116858c204afad16c27f2cfcbcb5ddcf9cb6301fc9de80ac40f0c59abd587d76 WHIRLPOOL f9cfce46e97884d6a6a301ee164afb021fdf301615622f38b7b1a5f30e819e09aa11218eded108648579ce2e7ab0bac9e230d37e3781cc11d69215e83451e0b7
+MISC ChangeLog-2015 3024 SHA256 d65d6445c8d819491bcec66fc315f684d48749b6bbf557e20fc089f2f00e6d42 SHA512 14e4225f0267d6edbb987a5842b5f60903d48ebc75a7f906f21782417b094273d6d550432be757e44bf28243ad0690a2cb2b69a47a9c4a9d7427c76c4e7bfdec WHIRLPOOL 4bc77a71940ed89cabed5d476599f4d855827e5cd335919b59e47c2f92c2b7f2921d4b5e403c5d3fca2079d2b0eab3f88ed809934b4ad64f2ec8236f034831d9
+MISC metadata.xml 562 SHA256 eaeb7f4449efb4c3987c5b928057282031c892b44aeabb31de6204d395b5594b SHA512 fdec62b1f5798efb3d644d57d3d785ec97f3fba1ac54a4e9633f7b751bf3b33b80fb133ab19d63dc799907c1cc9b585c20a3fc0b8d289908999b6a8fbc18cd03 WHIRLPOOL dbc7dc218472d2486e27b879778d3228d094096d600ab482db25fb20a625b90a94f396c40fbbe5981f05ab1fc64b3e1dfe0d16122f9d1ff576aedf552844131e
diff --git a/media-sound/jtagger/jtagger-1.0-r1.ebuild b/media-sound/jtagger/jtagger-1.0-r1.ebuild
new file mode 100644
index 000000000000..9f5583040cad
--- /dev/null
+++ b/media-sound/jtagger/jtagger-1.0-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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/${PN}.zip -> ${P}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+COMMON_DEP="dev-java/jlayer:0
+ >=dev-java/jid3-0.46-r1:0"
+
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
+
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5
+ app-arch/unzip:0"
+
+S="${WORKDIR}"
+
+java_prepare() {
+ unzip -q ${PN}.jar || die
+
+ # 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."
+
+ rm -vr ${PN}.jar javazoom org META-INF || die
+ find . -name '*.class' -delete || die
+}
+
+src_compile() {
+ local classpath="$(java-pkg_getjars jid3,jlayer)"
+
+ find . -name '*.java' > sources.list
+ ejavac -encoding latin1 -cp "${classpath}" @sources.list
+
+ find . -name '*.class' -o -name '*.png' > classes.list
+ touch myManifest
+ jar cmf myManifest ${PN}.jar @classes.list || die "jar failed"
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ java-pkg_dolauncher jtagger --main com.googlepages.dronten.jtagger.JTagger
+
+ use source && java-pkg_dosrc com
+
+ newicon com/googlepages/dronten/jtagger/resource/jTagger.icon.png ${PN}.png
+ make_desktop_entry jtagger "jTagger MP3 tag editor"
+}
diff --git a/media-sound/jtagger/metadata.xml b/media-sound/jtagger/metadata.xml
new file mode 100644
index 000000000000..e5f1fb3bb547
--- /dev/null
+++ b/media-sound/jtagger/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <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>