aTunes is a full-featured audio player and manager, developed in Java.

Currently plays mp3, ogg, wma, wav, flac, mp4 and radio streaming,
allowing users to easily edit tags, organize music and rip Audio CDs.

WWW: http://www.atunes.org/

Approved by:	miwi (mentor)
This commit is contained in:
Lars Engels 2007-12-30 01:36:02 +00:00
parent b48f683ee3
commit 41664caef9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204686
6 changed files with 154 additions and 0 deletions

View File

@ -38,6 +38,7 @@
SUBDIR += asmix
SUBDIR += asmixer
SUBDIR += asunder
SUBDIR += atunes
SUBDIR += aube
SUBDIR += audacious-crossfade
SUBDIR += audacious-dumb

73
audio/atunes/Makefile Normal file
View File

@ -0,0 +1,73 @@
# New ports collection makefile for: atunes
# Date Created: 29 Dec 2007
# Whom: Lars Engels <lme@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= atunes
PORTVERSION= 1.8.1
CATEGORIES= audio java
MASTER_SITES= SF
DISTNAME= aTunes_${PORTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= A full-featured audio player and manager developed in Java
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
SUB_FILES= atunes
WRKSRC= ${WRKDIR}/aTunes
OPTIONS= CDDA2WAV "Ripper: Enable cdrtools support" on \
LAME "Encoder: Enable lame MP3 encoder" on \
VORBIS "Encoder: Enable vorbis OGG encoder" on \
FLAC "Encoder: Enable FLAC encoder" off
.include <bsd.port.pre.mk>
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
.if defined(WITH_CDDA2WAV)
USE_CDRTOOLS= yes
.endif
.if !defined(WITHOUT_LAME)
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
.endif
.if defined(WITH_VORBIS)
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
.endif
.if defined(WITH_FLAC)
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
.endif
DESKTOP_ENTRIES="aTunes" \
"Audio player and manager" \
"${DATADIR}/aTunes.ico" \
"aTunes" \
"Application;Audio;Player;" \
false
INSTALL_FILES= aTunes.ico aTunes.jar build.properties changelog.txt \
extendedLog.properties license.txt log4j.properties \
lyricsEngines.properties shortcutSpec.xml
do-install:
@${MKDIR} ${DATADIR}
@${MKDIR} ${DATADIR}/translations
@${MKDIR} ${DATADIR}/lib
${INSTALL_SCRIPT} ${WRKDIR}/atunes ${PREFIX}/bin
.for file in ${INSTALL_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}/${file}
.endfor
cd ${WRKSRC} && ${FIND} translations -type f -exec ${INSTALL_DATA} {} \
${DATADIR}/{} \;
cd ${WRKSRC} && ${FIND} lib -type f -name "*.jar" -exec ${INSTALL_DATA} {} \
${DATADIR}/{} \;
.include <bsd.port.post.mk>

3
audio/atunes/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (aTunes_1.8.1.tar.gz) = 725161bb8d9ae3ff7a58cad8fed8dc76
SHA256 (aTunes_1.8.1.tar.gz) = 79cf08631b2aa4d84f071cbc5625828307600a8f1cc3232edf164ef4f066bd79
SIZE (aTunes_1.8.1.tar.gz) = 15855569

View File

@ -0,0 +1,5 @@
#!/bin/sh
cd %%DATADIR%%
JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -Xms18m -Xmx48m -cp aTunes.jar:lib/commons-io-1.3.2.jar:lib/jcommon-1.0.0.jar:lib/jfreechart-1.0.1.jar:lib/jaudiotagger.jar:lib/log4j-1.2.13.jar:lib/commons-logging-1.1.jar:lib/jdic.jar:lib/jdic_stub_linux.jar:lib/antBuildNumber.jar:lib/substance.jar:lib/oro.jar:lib/swingx.jar:lib/jhlabs.jar:lib/htmlparser.jar:lib/substance-swingx.jar net.sourceforge.atunes.Main "$@"

6
audio/atunes/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
aTunes is a full-featured audio player and manager, developed in Java.
Currently plays mp3, ogg, wma, wav, flac, mp4 and radio streaming,
allowing users to easily edit tags, organize music and rip Audio CDs.
WWW: http://www.atunes.org/

66
audio/atunes/pkg-plist Normal file
View File

@ -0,0 +1,66 @@
bin/atunes
%%DATADIR%%/aTunes.ico
%%DATADIR%%/aTunes.jar
%%DATADIR%%/build.properties
%%DATADIR%%/changelog.txt
%%DATADIR%%/extendedLog.properties
%%DATADIR%%/lib/antBuildNumber.jar
%%DATADIR%%/lib/antCommenter.jar
%%DATADIR%%/lib/commons-io-1.3.2.jar
%%DATADIR%%/lib/commons-logging-1.1.jar
%%DATADIR%%/lib/htmlparser.jar
%%DATADIR%%/lib/jaudiotagger.jar
%%DATADIR%%/lib/jcommon-1.0.0.jar
%%DATADIR%%/lib/jdic.jar
%%DATADIR%%/lib/jdic_stub_linux.jar
%%DATADIR%%/lib/jdic_stub_win.jar
%%DATADIR%%/lib/jfreechart-1.0.1.jar
%%DATADIR%%/lib/jhlabs.jar
%%DATADIR%%/lib/log4j-1.2.13.jar
%%DATADIR%%/lib/oro.jar
%%DATADIR%%/lib/substance-swingx.jar
%%DATADIR%%/lib/substance.jar
%%DATADIR%%/lib/swingx.jar
%%DATADIR%%/license.txt
%%DATADIR%%/log4j.properties
%%DATADIR%%/lyricsEngines.properties
%%DATADIR%%/shortcutSpec.xml
%%DATADIR%%/translations/MainBundle.properties
%%DATADIR%%/translations/MainBundle_ar.properties
%%DATADIR%%/translations/MainBundle_cs.properties
%%DATADIR%%/translations/MainBundle_de.properties
%%DATADIR%%/translations/MainBundle_el.properties
%%DATADIR%%/translations/MainBundle_en.properties
%%DATADIR%%/translations/MainBundle_es.properties
%%DATADIR%%/translations/MainBundle_fr.properties
%%DATADIR%%/translations/MainBundle_hu.properties
%%DATADIR%%/translations/MainBundle_it.properties
%%DATADIR%%/translations/MainBundle_ja.properties
%%DATADIR%%/translations/MainBundle_no.properties
%%DATADIR%%/translations/MainBundle_pt.properties
%%DATADIR%%/translations/MainBundle_pt_BR.properties
%%DATADIR%%/translations/MainBundle_sk.properties
%%DATADIR%%/translations/MainBundle_tr.properties
%%DATADIR%%/translations/MainBundle_zh.properties
%%DATADIR%%/translations/MainBundle_zh_TW.properties
%%DATADIR%%/translations/flag_ar.png
%%DATADIR%%/translations/flag_cs.png
%%DATADIR%%/translations/flag_de.png
%%DATADIR%%/translations/flag_el.png
%%DATADIR%%/translations/flag_en.png
%%DATADIR%%/translations/flag_es.png
%%DATADIR%%/translations/flag_fr.png
%%DATADIR%%/translations/flag_hu.png
%%DATADIR%%/translations/flag_it.png
%%DATADIR%%/translations/flag_ja.png
%%DATADIR%%/translations/flag_no.png
%%DATADIR%%/translations/flag_pt.png
%%DATADIR%%/translations/flag_pt_BR.png
%%DATADIR%%/translations/flag_sk.png
%%DATADIR%%/translations/flag_tr.png
%%DATADIR%%/translations/flag_zh.png
%%DATADIR%%/translations/flag_zh_TW.png
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%/lib
@dirrm %%DATADIR%%
@dirrmtry share/applications