aboutsummaryrefslogtreecommitdiff
path: root/audio/soundkonverter
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-01-30 11:53:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-01-30 11:53:31 +0000
commitea4d41e0e3b149d2f94c3c2ed12427cd70d96de2 (patch)
treec9216a82e43152953405916252dde6fdacb2f18e /audio/soundkonverter
parent82164c53503ce3db0ecdefb6cc99eb019932aa9b (diff)
downloadports-ea4d41e0e3b149d2f94c3c2ed12427cd70d96de2.tar.gz
ports-ea4d41e0e3b149d2f94c3c2ed12427cd70d96de2.zip
Notes
Diffstat (limited to 'audio/soundkonverter')
-rw-r--r--audio/soundkonverter/Makefile189
-rw-r--r--audio/soundkonverter/distinfo2
-rw-r--r--audio/soundkonverter/pkg-descr8
-rw-r--r--audio/soundkonverter/pkg-plist65
4 files changed, 264 insertions, 0 deletions
diff --git a/audio/soundkonverter/Makefile b/audio/soundkonverter/Makefile
new file mode 100644
index 000000000000..53a52554ad8d
--- /dev/null
+++ b/audio/soundkonverter/Makefile
@@ -0,0 +1,189 @@
+# New ports collection makefile for: soundkonverter
+# Date created: 2011/01/01
+# Whom: David Naylor <naylor.b.david@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= soundkonverter
+DISTVERSION= 0.9.94rc2
+CATEGORIES= audio kde
+MASTER_SITES= https://api.opensuse.org/public/source/home:HessiJames/soundkonverter/
+
+MAINTAINER= naylor.b.david@gmail.com
+COMMENT= Frontend to various audio converters (transcoder)
+
+LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
+ cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
+ kcddb:${PORTSDIR}/multimedia/kdemultimedia4
+
+USE_CMAKE= yes
+USE_QT_VER= 4
+QT_COMPONENTS= moc_build qmake_build rcc_build uic_build
+USE_KDE4= automoc4 kdehier kdeprefix kdelibs
+INSTALLS_ICONS= yes
+
+MAKE_JOBS_SAFE= yes
+
+OPTIONS= LAME "Codec: mp3 (audio/lame)" OFF \
+ TWOLAME "Codec: mp2 (audo/twolame)" OFF \
+ VORBIS_TOOLS "Codec: ogg-vorbis (audio/vorbis-tools" ON \
+ FFMPEG "Codec: various (multimedia/ffmpeg)" OFF \
+ MAC "Codec: mac (audio/mac)" OFF \
+ MPLAYER "Codec: various (multimedia/mplayer)" OFF \
+ FAA "Codec: mpeg2 and mpeg4 AAC (audio/faa(cd))" OFF \
+ SHORTEN "Codec: shorten (audio/shorten)" OFF \
+ TIMIDITY "Decoder: midi (audio/timidity)" OFF \
+ \
+ FLAC "Codec/replaygain: flac (audio/flac)" ON \
+ MUSEPACK "Codec/replaygain: musepack (audio/musepack)" OFF \
+ WAVPACK "Codec/replaygain: wavpack (audio/wavpack)" OFF \
+ \
+ VORBISGAIN "Replaygain: ogg-vorbis (audio/vorbisgain)" ON \
+ MP3GAIN "Replaygain: mp3 (audio/mp3gain)" OFF \
+ AACGAIN "Replaygain: mp3 and AAC (audio/aacgain)" OFF
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_LAME)
+RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
+PLIST_SUB+= LAME=""
+.else
+SK_CMAKE_RM+= codec_lame
+PLIST_SUB+= LAME="@comment "
+.endif
+
+.if defined(WITH_TWOLAME)
+RUN_DEPENDS+= twolame:${PORTSDIR}/audio/twolame
+PLIST_SUB+= TWOLAME=""
+.else
+SK_CMAKE_RM+= codec_twolame
+PLIST_SUB+= TWOLAME="@comment "
+.endif
+
+.if defined(WITH_VORBIS_TOOLS)
+RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
+PLIST_SUB+= VORBISTOOLS=""
+.else
+SK_CMAKE_RM+= codec_vorbistools
+PLIST_SUB+= VORBISTOOLS="@comment "
+.endif
+
+# .if defined(WITH_FLAKE)
+# RUN_DEPENDS+= :${PORTSDIR}/
+# PLIST_SUB+= FLAKE=""
+# .else
+SK_CMAKE_RM+= codec_flake
+PLIST_SUB+= FLAKE="@comment "
+# .endif
+
+.if defined(WITH_FFMPEG)
+RUN_DEPENDS+= ffmpeg:${PORTSDIR}/multimedia/ffmpeg
+PLIST_SUB+= FFMPEG=""
+.else
+SK_CMAKE_RM+= codec_ffmpeg
+PLIST_SUB+= FFMPEG="@comment "
+.endif
+
+.if defined(WITH_MAC)
+RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
+PLIST_SUB+= MAC=""
+.else
+SK_CMAKE_RM+= codec_mac
+PLIST_SUB+= MAC="@comment "
+.endif
+
+.if defined(WITH_MPLAYER)
+RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
+PLIST_SUB+= MPLAYER=""
+.else
+SK_CMAKE_RM+= codec_mplayer
+PLIST_SUB+= MPLAYER="@comment "
+.endif
+
+.if defined(WITH_FAA)
+RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac \
+ faad:${PORTSDIR}/audio/faad
+PLIST_SUB+= FAAC=""
+.else
+SK_CMAKE_RM+= codec_faac
+PLIST_SUB+= FAAC="@comment "
+.endif
+
+# .if defined(WITH_NEROAAC)
+# RUN_DEPENDS+= :${PORTSDIR}/
+# PLIST_SUB+= NEROAAC=""
+# .else
+SK_CMAKE_RM+= codec_neroaac
+PLIST_SUB+= NEROAAC="@comment "
+# .endif
+
+.if defined(WITH_TIMIDITY)
+RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity
+PLIST_SUB+= TIMIDITY=""
+.else
+SK_CMAKE_RM+= codec_timidity
+PLIST_SUB+= TIMIDITY="@comment "
+.endif
+
+.if defined(WITH_SHORTEN)
+RUN_DEPENDS+= shorten:${PORTSDIR}/audio/shorten
+PLIST_SUB+= SHORTEN=""
+.else
+SK_CMAKE_RM+= codec_shorten
+PLIST_SUB+= SHORTEN="@comment "
+.endif
+
+.if defined(WITH_FLAC)
+RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
+PLIST_SUB+= FLAC=""
+.else
+SK_CMAKE_RM+= codec_flac replaygain_metaflac
+PLIST_SUB+= FLAC="@comment "
+.endif
+
+.if defined(WITH_MUSEPACK)
+RUN_DEPENDS+= mpcenc:${PORTSDIR}/audio/musepack
+PLIST_SUB+= MUSEPACK=""
+.else
+SK_CMAKE_RM+= codec_musepack replaygain_musepack
+PLIST_SUB+= MUSEPACK="@comment "
+.endif
+
+.if defined(WITH_WAVPACK)
+RUN_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack
+PLIST_SUB+= WAVPACK=""
+.else
+SK_CMAKE_RM+= codec_wavpack replaygain_wvgain
+PLIST_SUB+= WAVPACK="@comment "
+.endif
+
+.if defined(WITH_VORBISGAIN)
+RUN_DEPENDS+= vorbisgain:${PORTSDIR}/audio/vorbisgain
+PLIST_SUB+= VORBISGAIN=""
+.else
+SK_CMAKE_RM+= replaygain_vorbisgain
+PLIST_SUB+= VORBISGAIN="@comment "
+.endif
+
+.if defined(WITH_MP3GAIN)
+RUN_DEPENDS+= mp3gain:${PORTSDIR}/audio/mp3gain
+PLIST_SUB+= MP3GAIN=""
+.else
+SK_CMAKE_RM+= replaygain_mp3gain
+PLIST_SUB+= MP3GAIN="@comment "
+.endif
+
+.if defined(WITH_AACGAIN)
+RUN_DEPENDS+= aacgain:${PORTSDIR}/audio/aacgain
+PLIST_SUB+= AACGAIN=""
+.else
+SK_CMAKE_RM+= replaygain_aacgain
+PLIST_SUB+= AACGAIN="@comment "
+.endif
+
+post-patch:
+.for plugin in ${SK_CMAKE_RM}
+ ${REINPLACE_CMD} -i "" -e "s|\(.*${plugin}.*\)|#\1|g" ${WRKSRC}/CMakeLists.txt
+.endfor
+
+.include <bsd.port.mk>
diff --git a/audio/soundkonverter/distinfo b/audio/soundkonverter/distinfo
new file mode 100644
index 000000000000..d8f62ce8dbf7
--- /dev/null
+++ b/audio/soundkonverter/distinfo
@@ -0,0 +1,2 @@
+SHA256 (soundkonverter-0.9.94rc2.tar.gz) = ca572385134fd6a46a388bb9ca06db5b18c76d549007c2a4fc405a4c6de8a36c
+SIZE (soundkonverter-0.9.94rc2.tar.gz) = 300072
diff --git a/audio/soundkonverter/pkg-descr b/audio/soundkonverter/pkg-descr
new file mode 100644
index 000000000000..7f2b502357fa
--- /dev/null
+++ b/audio/soundkonverter/pkg-descr
@@ -0,0 +1,8 @@
+soundKonverter is a frontend to various audio converters.
+
+The key features are:
+- Audio conversion
+- Replay Gain calculation
+- CD ripping
+
+WWW: http://kde-apps.org/content/show.php?content=29024
diff --git a/audio/soundkonverter/pkg-plist b/audio/soundkonverter/pkg-plist
new file mode 100644
index 000000000000..a9c41dc42de1
--- /dev/null
+++ b/audio/soundkonverter/pkg-plist
@@ -0,0 +1,65 @@
+bin/soundkonverter
+%%FAAC%%lib/kde4/soundkonverter_codec_faac.so
+%%FFMPEG%%lib/kde4/soundkonverter_codec_ffmpeg.so
+%%FLAC%%lib/kde4/soundkonverter_codec_flac.so
+%%FLAKE%%lib/kde4/soundkonverter_codec_flake.so
+%%LAME%%lib/kde4/soundkonverter_codec_lame.so
+%%MAC%%lib/kde4/soundkonverter_codec_mac.so
+%%MPLAYER%%lib/kde4/soundkonverter_codec_mplayer.so
+%%MUSEPACK%%lib/kde4/soundkonverter_codec_musepack.so
+%%NEROAAC%%lib/kde4/soundkonverter_codec_neroaac.so
+%%SHORTEN%%lib/kde4/soundkonverter_codec_shorten.so
+%%TIMIDITY%%lib/kde4/soundkonverter_codec_timidity.so
+%%TWOLAME%%lib/kde4/soundkonverter_codec_twolame.so
+%%VORBISTOOLS%%lib/kde4/soundkonverter_codec_vorbistools.so
+%%WAVPACK%%lib/kde4/soundkonverter_codec_wavpack.so
+%%AACGAIN%%lib/kde4/soundkonverter_replaygain_aacgain.so
+%%FLAC%%lib/kde4/soundkonverter_replaygain_metaflac.so
+%%MP3GAIN%%lib/kde4/soundkonverter_replaygain_mp3gain.so
+%%MUSEPACK%%lib/kde4/soundkonverter_replaygain_musepackgain.so
+%%VORBISGAIN%%lib/kde4/soundkonverter_replaygain_vorbisgain.so
+%%WAVPACK%%lib/kde4/soundkonverter_replaygain_wvgain.so
+lib/kde4/soundkonverter_ripper_cdparanoia.so
+lib/libsoundkonvertercore.so
+share/applications/kde4/soundkonverter.desktop
+share/apps/soundkonverter/images/nocover.png
+share/apps/soundkonverter/soundkonverterui.rc
+share/icons/hicolor/16x16/apps/soundkonverter-replaygain.png
+share/icons/hicolor/16x16/apps/soundkonverter.png
+share/icons/hicolor/22x22/apps/soundkonverter-replaygain.png
+share/icons/hicolor/22x22/apps/soundkonverter.png
+share/icons/hicolor/32x32/apps/soundkonverter-replaygain.png
+share/icons/hicolor/32x32/apps/soundkonverter.png
+share/icons/hicolor/48x48/apps/soundkonverter-replaygain.png
+share/icons/hicolor/48x48/apps/soundkonverter.png
+share/icons/hicolor/64x64/apps/soundkonverter-replaygain.png
+share/icons/hicolor/64x64/apps/soundkonverter.png
+%%FAAC%%share/kde4/services/soundkonverter_codec_faac.desktop
+%%FFMPEG%%share/kde4/services/soundkonverter_codec_ffmpeg.desktop
+%%FLAC%%share/kde4/services/soundkonverter_codec_flac.desktop
+%%FLAKE%%share/kde4/services/soundkonverter_codec_flake.desktop
+%%LAME%%share/kde4/services/soundkonverter_codec_lame.desktop
+%%MAC%%share/kde4/services/soundkonverter_codec_mac.desktop
+%%MPLAYER%%share/kde4/services/soundkonverter_codec_mplayer.desktop
+%%MUSEPACK%%share/kde4/services/soundkonverter_codec_musepack.desktop
+%%NEROAAC%%share/kde4/services/soundkonverter_codec_neroaac.desktop
+%%SHORTEN%%share/kde4/services/soundkonverter_codec_shorten.desktop
+%%TIMIDITY%%share/kde4/services/soundkonverter_codec_timidity.desktop
+%%TWOLAME%%share/kde4/services/soundkonverter_codec_twolame.desktop
+%%VORBISTOOLS%%share/kde4/services/soundkonverter_codec_vorbistools.desktop
+%%WAVPACK%%share/kde4/services/soundkonverter_codec_wavpack.desktop
+%%AACGAIN%%share/kde4/services/soundkonverter_replaygain_aacgain.desktop
+%%FLAC%%share/kde4/services/soundkonverter_replaygain_metaflac.desktop
+%%MP3GAIN%%share/kde4/services/soundkonverter_replaygain_mp3gain.desktop
+%%MUSEPACK%%share/kde4/services/soundkonverter_replaygain_musepackgain.desktop
+%%VORBISGAIN%%share/kde4/services/soundkonverter_replaygain_vorbisgain.desktop
+%%WAVPACK%%share/kde4/services/soundkonverter_replaygain_wvgain.desktop
+share/kde4/services/soundkonverter_ripper_cdparanoia.desktop
+share/kde4/servicetypes/soundkonverter_codecplugin.desktop
+share/kde4/servicetypes/soundkonverter_replaygainplugin.desktop
+share/kde4/servicetypes/soundkonverter_ripperplugin.desktop
+share/locale/cs/LC_MESSAGES/soundkonverter.mo
+share/locale/de/LC_MESSAGES/soundkonverter.mo
+@dirrm share/apps/soundkonverter/images
+@dirrm share/apps/soundkonverter
+