aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2013-03-01 04:26:57 +0000
committerDavid Naylor <dbn@FreeBSD.org>2013-03-01 04:26:57 +0000
commiteed0b966947d85098e53f403ecf3620ab8ea3580 (patch)
tree5856158aa98ab84c53f3a808c3b96e51d5804e9e /audio
parente128a08d708c253ebb3d52855e40c402ed752607 (diff)
downloadports-eed0b966947d85098e53f403ecf3620ab8ea3580.tar.gz
ports-eed0b966947d85098e53f403ecf3620ab8ea3580.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/soundkonverter/Makefile12
-rw-r--r--audio/soundkonverter/pkg-plist18
2 files changed, 19 insertions, 11 deletions
diff --git a/audio/soundkonverter/Makefile b/audio/soundkonverter/Makefile
index fcee3ed0e98b..a97ecd2f35c0 100644
--- a/audio/soundkonverter/Makefile
+++ b/audio/soundkonverter/Makefile
@@ -21,7 +21,7 @@ MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
OPTIONS_MULTI= CODEC FILTER REPLAYGAIN
-OPTIONS_MULTI_CODEC= AFTEN FAAC FFMPEG FLAC FLUIDSYNTH LAME MAC MPLAYER \
+OPTIONS_MULTI_CODEC= AFTEN FAAC FFMPEG FLAC FLAKE FLUIDSYNTH LAME MAC MPLAYER \
MUSEPACK NEROAAC OPUSTOOLS SHORTEN SPEEX TIMIDITY TTA \
TWOLAME VORBIS WAVPACK
OPTIONS_MULTI_FILTER+= NORMALIZE SOX
@@ -30,7 +30,7 @@ OPTIONS_MULTI_REPLAYGAIN+= AACGAIN FLAC MP3GAIN MUSEPACK NORMALIZE \
OPTIONS_DEFAULT= VORBISTOOLS FLAC NORMALIZE VORBISGAIN
AFTEN_DESC= ATSC A/52 audio encoder
AACGAIN_DESC= AAC audio replaygain
-#FLAKE_DESC=
+FLAKE_DESC= FLAC audio codec
FLUIDSYNTH_DESC= SoundFont 2 audio codec
MAC_DESC= Monkey's Audio lossless codec
MP3GAIN_DESC= MP3 audio replaygain
@@ -239,6 +239,14 @@ SK_CMAKE_RM+= codec_wavpack replaygain_wvgain
PLIST_SUB+= WAVPACK="@comment "
.endif
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+CMAKE_ARGS+= -DBUILD_po=FALSE
+.endif
+
post-patch:
${MKDIR} ${WRKSRC}/plugins_nobuild
.for plugin in ${SK_CMAKE_RM}
diff --git a/audio/soundkonverter/pkg-plist b/audio/soundkonverter/pkg-plist
index 9a8e4d745dd3..2bb59fbf6b25 100644
--- a/audio/soundkonverter/pkg-plist
+++ b/audio/soundkonverter/pkg-plist
@@ -42,13 +42,15 @@ 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
-share/locale/es/LC_MESSAGES/soundkonverter.mo
-share/locale/et/LC_MESSAGES/soundkonverter.mo
-share/locale/fr/LC_MESSAGES/soundkonverter.mo
-share/locale/hu/LC_MESSAGES/soundkonverter.mo
-share/locale/pt/LC_MESSAGES/soundkonverter.mo
-share/locale/pt_BR/LC_MESSAGES/soundkonverter.mo
-share/locale/ru/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/de/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/es/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/et/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/soundkonverter.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/soundkonverter.mo
%%AFTEN%%share/kde4/services/soundkonverter_codec_aften.desktop
%%FAAC%%share/kde4/services/soundkonverter_codec_faac.desktop
%%FFMPEG%%share/kde4/services/soundkonverter_codec_ffmpeg.desktop
@@ -81,7 +83,5 @@ share/kde4/servicetypes/soundkonverter_codecplugin.desktop
share/kde4/servicetypes/soundkonverter_filterplugin.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