aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/transkode/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-08-22 20:11:06 +0800
committermiwi <miwi@FreeBSD.org>2007-08-22 20:11:06 +0800
commit1549ecaa0699e591470102a6b56fa0099cb90b3d (patch)
treef80cb2d670da4ae19a0bb558f7f40806c395d242 /multimedia/transkode/Makefile
parentcda6e10f2b8a00427a42c4da590ce69afe56b6f2 (diff)
downloadfreebsd-ports-gnome-1549ecaa0699e591470102a6b56fa0099cb90b3d.tar.gz
freebsd-ports-gnome-1549ecaa0699e591470102a6b56fa0099cb90b3d.tar.zst
freebsd-ports-gnome-1549ecaa0699e591470102a6b56fa0099cb90b3d.zip
TransKode is a KDE/Qt based frontend for varios audio transcoding tools.
Supported input formats: * aac, ape/mac, bonk, flac, la, mp2, mp3, mp4/m4a/m4b, mpc/mpp/mp+, ofr, ogg, pac, shn, spx, tta, wav, wv * other media formats decodable by ffmpeg, mplayer, xine or gstreamer (mp1, wma, ra/ram, ac3, dts, mka, asf, avi, mpg/mpeg, wmv, qt/mov, rv/rm/rmvb, flv, 3gp, vob...) Supported output formats: * aac, ape/mac, bonk, flac, la, mp2, mp3, mp4/m4a/m4b, mpc/mpp/mp+, ofr, ogg, pac, shn, spx, tta, wav, wv * other audio formats encodable by ffmpeg or gstreamer (ac3, wma, asf...) WWW: http://sourceforge.net/projects/transkode/ PR: ports/115247 Submitted by: Yinghong.Liu <relaxbsd at gmail.com>
Diffstat (limited to 'multimedia/transkode/Makefile')
-rw-r--r--multimedia/transkode/Makefile109
1 files changed, 109 insertions, 0 deletions
diff --git a/multimedia/transkode/Makefile b/multimedia/transkode/Makefile
new file mode 100644
index 000000000000..648315158f8c
--- /dev/null
+++ b/multimedia/transkode/Makefile
@@ -0,0 +1,109 @@
+# New ports collection makefile for: transkode
+# Date created: 6 August 2007
+# Whom: Yinghong.Liu <relaxbsd@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= transkode
+PORTVERSION= 0.7b
+CATEGORIES= multimedia audio
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/g}
+
+MAINTAINER= relaxbsd@gmail.com
+COMMENT= A KDE/Qt based frontend for various audio transcoding tools
+
+LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib
+RUN_DEPENDS= amarok:${PORTSDIR}/audio/amarok
+
+USE_BZIP2= yes
+USE_KDELIBS_VER=3
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_PERL5= yes
+USE_GETTEXT= yes
+USE_AUTOTOOLS= libtool:15
+INSTALLS_ICONS= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+OPTIONS+= FAAD "Enable MPEG-2 and MPEG-4 AAC audio decoder" on
+OPTIONS+= FFMPEG "Enable ffmpeg audio/video encoder" on
+OPTIONS+= FLAC "Enable Free lossless audio codec" on
+OPTIONS+= FLAME "Enable fast MP3 encoder" on
+OPTIONS+= SPEEX "Enable patent-free voice codec" on
+OPTIONS+= FAAC "Enable PEG-2 and MPEG-4 AAC audio encoder" on
+OPTIONS+= MUSEPACK "Enable musepack (mpc) encoder" on
+OPTIONS+= LPAC "Enable Lossless audio codec" on
+OPTIONS+= OGG "Enable Ogg Vorbis encode" on
+OPTIONS+= WAVPACK "Enable both 16 and 24bit wav format" on
+OPTIONS+= TWOLAME "Enable MPEG Audio Layer 2 encoder" on
+OPTIONS+= TTA "Enable lossless (de)compressor" on
+OPTIONS+= SHORTEN "Enable lossless compression for waveform files" off
+OPTIONS+= OPTIMFROG "Enable Lossless audio codec" on
+OPTIONS+= BONK "Enable Lossy/lossless audio compressor" on
+OPTIONS+= MAC "Enable Monkey's Audio lossless codec" on
+OPTIONS+= MPLAYER "Enable mplayer support" off
+OPTIONS+= GSTREAMER "Enable gstreamer support" off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_FAAD)
+RUN_DEPENDS+=faad:${PORTSDIR}/audio/faad
+.endif
+.if !defined(WITHOUT_FFMPEG)
+RUN_DEPENDS+=ffmpeg:${PORTSDIR}/multimedia/ffmpeg
+.endif
+.if !defined(WITHOUT_FLAC)
+RUN_DEPENDS+=flac:${PORTSDIR}/audio/flac
+.endif
+.if !defined(WITHOUT_FLAME)
+RUN_DEPENDS+=lame:${PORTSDIR}/audio/lame
+.endif
+.if !defined(WITHOUT_SPEEX)
+RUN_DEPENDS+=speexenc:${PORTSDIR}/audio/speex
+.endif
+.if !defined(WITHOUT_FAAC)
+RUN_DEPENDS+=faac:${PORTSDIR}/audio/faac
+.endif
+.if !defined(WITHOUT_MUSEPACK)
+RUN_DEPENDS+=mppenc:${PORTSDIR}/audio/musepack
+.endif
+.if !defined(WITHOUT_LPAC)
+RUN_DEPENDS+=lpac:${PORTSDIR}/audio/lpac
+.endif
+.if !defined(WITHOUT_OGG)
+RUN_DEPENDS+=oggenc:${PORTSDIR}/audio/vorbis-tools
+.endif
+.if !defined(WITHOUT_WAVPACK)
+RUN_DEPENDS+=wavpack:${PORTSDIR}/audio/wavpack
+.endif
+.if !defined(WITHOUT_TWOLAME)
+RUN_DEPENDS+=twolame:${PORTSDIR}/audio/twolame
+.endif
+.if !defined(WITHOUT_TTA)
+RUN_DEPENDS+=ttaenc:${PORTSDIR}/audio/tta
+.endif
+.if defined(WITH_SHORTEN)
+RUN_DEPENDS+=shorten:${PORTSDIR}/audio/shorten
+.endif
+.if !defined(WITHOUT_OPTIMFROG)
+RUN_DEPENDS+=ofr:${PORTSDIR}/audio/optimfrog
+.endif
+.if !defined(WITHOUT_BONK)
+RUN_DEPENDS+=bonk:${PORTSDIR}/audio/bonk
+.endif
+.if !defined(WITHOUT_MAC)
+RUN_DEPENDS+=mac:${PORTSDIR}/audio/mac
+.endif
+.if defined(WITH_MPLAYER)
+RUN_DEPENDS+=mplayer:${PORTSDIR}/multimedia/mplayer
+.endif
+.if defined(WITH_GSTREAMER)
+RUN_DEPENDS+=gst-launch-0.10:${PORTSDIR}/multimedia/gstreamer
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} 's/applnk/applications/g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>