aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
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
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')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/transkode/Makefile109
-rw-r--r--multimedia/transkode/distinfo3
-rw-r--r--multimedia/transkode/pkg-descr15
-rw-r--r--multimedia/transkode/pkg-plist19
5 files changed, 147 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 64675cf0ee7c..fb4e55dd6007 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -215,6 +215,7 @@
SUBDIR += tovid
SUBDIR += toxine
SUBDIR += transcode
+ SUBDIR += transkode
SUBDIR += tunapie
SUBDIR += tv_grab_au
SUBDIR += umr
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>
diff --git a/multimedia/transkode/distinfo b/multimedia/transkode/distinfo
new file mode 100644
index 000000000000..7e5b96f3feca
--- /dev/null
+++ b/multimedia/transkode/distinfo
@@ -0,0 +1,3 @@
+MD5 (transkode-0.7beta.tar.bz2) = 4ac4d15feb770f5aad324fd26ad29a91
+SHA256 (transkode-0.7beta.tar.bz2) = 125212d99ee373965d2faeca0fb03ecea7dce0d666f4dc043a833f230cef650a
+SIZE (transkode-0.7beta.tar.bz2) = 1005678
diff --git a/multimedia/transkode/pkg-descr b/multimedia/transkode/pkg-descr
new file mode 100644
index 000000000000..c36a05536cb3
--- /dev/null
+++ b/multimedia/transkode/pkg-descr
@@ -0,0 +1,15 @@
+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/
diff --git a/multimedia/transkode/pkg-plist b/multimedia/transkode/pkg-plist
new file mode 100644
index 000000000000..063be6053df1
--- /dev/null
+++ b/multimedia/transkode/pkg-plist
@@ -0,0 +1,19 @@
+bin/transkode
+share/applications/transkode.desktop
+share/apps/amarok/scripts/transkode/COPYING
+share/apps/amarok/scripts/transkode/README
+share/apps/amarok/scripts/transkode/defaultsrc
+share/apps/amarok/scripts/transkode/transkode
+share/apps/amarok/scripts/transkode/transkode.spec
+share/apps/transkode/defaultsrc
+share/apps/transkode/transkodeui.rc
+share/config/transkoderc
+share/icons/hicolor/128x128/apps/transkode.png
+share/icons/hicolor/16x16/apps/transkode.png
+share/icons/hicolor/32x32/apps/transkode.png
+share/icons/hicolor/64x64/apps/transkode.png
+share/locale/es/LC_MESSAGES/transkode.mo
+@dirrmtry share/config
+@dirrm share/apps/transkode
+@dirrm share/apps/amarok/scripts/transkode
+@dirrmtry share/applications