mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
New port tovid version 0.24: A collection of video disc authoring
tools
This commit is contained in:
parent
80443d2bdd
commit
7d107f0558
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152209
@ -168,6 +168,7 @@
|
||||
SUBDIR += tosvcd
|
||||
SUBDIR += totem
|
||||
SUBDIR += totem-gstreamer
|
||||
SUBDIR += tovid
|
||||
SUBDIR += toxine
|
||||
SUBDIR += transcode
|
||||
SUBDIR += vcdgear
|
||||
|
90
multimedia/tovid/Makefile
Normal file
90
multimedia/tovid/Makefile
Normal file
@ -0,0 +1,90 @@
|
||||
# New ports collection makefile for: tovid
|
||||
# Date created: Mon Dec 26 20:00:42 UTC 2005
|
||||
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tovid
|
||||
PORTVERSION= 0.24
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://download.berlios.de/tovid/
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
COMMENT= A collection of video disc authoring tools
|
||||
|
||||
BUILD_DEPENDS= \
|
||||
sox:${PORTSDIR}/audio/sox \
|
||||
composite:${PORTSDIR}/graphics/ImageMagick \
|
||||
convert:${PORTSDIR}/graphics/ImageMagick \
|
||||
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
||||
spumux:${PORTSDIR}/multimedia/dvdauthor \
|
||||
ffmpeg:${PORTSDIR}/multimedia/ffmpeg \
|
||||
mp2enc:${PORTSDIR}/multimedia/mjpegtools \
|
||||
mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \
|
||||
mplex:${PORTSDIR}/multimedia/mjpegtools \
|
||||
ppmtoy4m:${PORTSDIR}/multimedia/mjpegtools \
|
||||
yuvdenoise:${PORTSDIR}/multimedia/mjpegtools \
|
||||
yuvfps:${PORTSDIR}/multimedia/mjpegtools \
|
||||
mencoder:${PORTSDIR}/multimedia/mplayer \
|
||||
mplayer:${PORTSDIR}/multimedia/mplayer \
|
||||
tcprobe:${PORTSDIR}/multimedia/transcode \
|
||||
tcrequant:${PORTSDIR}/multimedia/transcode \
|
||||
vcdxbuild:${PORTSDIR}/multimedia/vcdimager \
|
||||
cdrdao:${PORTSDIR}/sysutils/cdrdao \
|
||||
mkisofs:${PORTSDIR}/sysutils/cdrtools \
|
||||
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
|
||||
RUN_DEPENDS= \
|
||||
${BUILD_DEPENDS} \
|
||||
${PYTHON_SITELIBDIR}/wx-2.6-gtk2-ansi/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython26
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= idvid.1 makedvd.1 makemenu.1 makeslides.1 makexml.1 postproc.1 \
|
||||
tovid-suite.1 tovid.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|gawk|${AWK}|' \
|
||||
-e 's|md5sum|md5|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
|
||||
# md5sum -> md5
|
||||
# gnu sed -> sed
|
||||
# linux du -> du
|
||||
# faster mplayer -dumpaudio
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|md5sum|md5|' \
|
||||
-e 's|sed[[:space:]]+-r|sed -E|' \
|
||||
-e "s,du[[:space:]]+-b([^\|]+),ls -ALln \1 | ${AWK} '{print \$$5}'," \
|
||||
-e 's|(-dumpaudio)|-vc dummy -vo null \1|' \
|
||||
${WRKSRC}/src/*
|
||||
# bash to sh fixes
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|\[\[|\[|' \
|
||||
-e 's|\]\]|\]|' \
|
||||
-e 's|(\[[^]]+=)=|\1|g' \
|
||||
-e 's|(\[[^]]+=)=|\1|g' \
|
||||
-e 's,(\[[^]]+)\|\|,\1 -o,g' \
|
||||
-e 's|(\[[^]]+)&&|\1 -a|g' \
|
||||
${WRKSRC}/src/*
|
||||
# python interpreter safeness
|
||||
.for dir in libtovid src
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|/usr/bin/env[[:space:]]+python|${PYTHON_CMD}|' \
|
||||
${WRKSRC}/${dir}/*
|
||||
.endfor
|
||||
# sh interpreter safeness
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|`which env`[[:space:]]+sh|${SH}|' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${MAKE}
|
||||
|
||||
post-install:
|
||||
@cd ${WRKSRC} && ${MAKE} install
|
||||
|
||||
.include <bsd.port.mk>
|
3
multimedia/tovid/distinfo
Normal file
3
multimedia/tovid/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (tovid-0.24.tar.gz) = e12bd1d8d034534f6808b3f45f9f54a5
|
||||
SHA256 (tovid-0.24.tar.gz) = 0643993a98a22baed3de01d2ee15d0fcbe54d38523d61e4a7beb06e88f656b2f
|
||||
SIZE (tovid-0.24.tar.gz) = 167673
|
22
multimedia/tovid/files/patch-src__tovid.sh
Normal file
22
multimedia/tovid/files/patch-src__tovid.sh
Normal file
@ -0,0 +1,22 @@
|
||||
--- src/tovid.sh.orig Tue Dec 27 03:29:42 2005
|
||||
+++ src/tovid.sh Tue Dec 27 03:43:52 2005
|
||||
@@ -1327,7 +1327,7 @@
|
||||
AUDIO_CMD="cat /dev/zero | $PRIORITY sox -t raw -c 2 -r $SAMPRATE -w -s - -t wav $AUDIO_WAV trim 0 $V_DURATION"
|
||||
# Extract audio normally
|
||||
else
|
||||
- AUDIO_CMD="$PRIORITY mplayer $MPLAYER_OPTS -quiet -vc null -vo null -ao pcm:waveheader:file=$AUDIO_WAV \"$IN_FILE\""
|
||||
+ AUDIO_CMD="$PRIORITY mplayer $MPLAYER_OPTS -quiet -vc dummy -vo null -ao pcm:waveheader:file=$AUDIO_WAV \"$IN_FILE\""
|
||||
# Normalize, if requested
|
||||
if $DO_NORM; then
|
||||
AUDIO_CMD="$AUDIO_CMD -af volnorm"
|
||||
@@ -1512,8 +1512,8 @@
|
||||
# ******************************************************************************
|
||||
# ******************************************************************************
|
||||
|
||||
-AUDIO_SIZE=`du -c -b "$OUT_PREFIX.$AUD_SUF" | awk 'END{print $1}'`
|
||||
-VIDEO_SIZE=`du -c -b "$OUT_PREFIX.$VID_SUF" | awk 'END{print $1}'`
|
||||
+AUDIO_SIZE=`ls -ALln "$OUT_PREFIX.$AUD_SUF" | awk '{ sum += $5 } END { print sum }'`
|
||||
+VIDEO_SIZE=`ls -ALln "$OUT_PREFIX.$VID_SUF" | awk '{ sum += $5 } END { print sum }'`
|
||||
# Total size of streams so far (in MBytes)
|
||||
TOTAL_SIZE=`expr \( $AUDIO_SIZE \+ $VIDEO_SIZE \) \/ 1000000`
|
||||
# If it will exceed disc size, add '%d' field to allow mplex to split the output
|
18
multimedia/tovid/pkg-descr
Normal file
18
multimedia/tovid/pkg-descr
Normal file
@ -0,0 +1,18 @@
|
||||
[ excerpt from developer's www site with modifications ]
|
||||
|
||||
tovid is a collection of video disc authoring tools; it can help
|
||||
you create your own DVDs, VCDs, and SVCDs for playback on your home
|
||||
DVD player. It has a command-line interface as well as a graphical
|
||||
frontend.
|
||||
|
||||
You may find tovid useful if:
|
||||
- you have a digital camcorder, and want to share home movies with
|
||||
family and friends
|
||||
- you are a 3D artist or animator, and want to put your portfolio
|
||||
on DVD for easy distribution
|
||||
- your video files are eating up too much hard drive space, and you
|
||||
want to back them up onto a portable medium
|
||||
|
||||
WWW: http://tovid.berlios.de/
|
||||
|
||||
-- lioux@FreeBSD.org
|
39
multimedia/tovid/pkg-plist
Normal file
39
multimedia/tovid/pkg-plist
Normal file
@ -0,0 +1,39 @@
|
||||
bin/dvrequant
|
||||
bin/idvid
|
||||
bin/makedvd
|
||||
bin/makemenu
|
||||
bin/makeslides
|
||||
bin/makevcd
|
||||
bin/makexml
|
||||
bin/postproc
|
||||
bin/previd
|
||||
bin/tovid
|
||||
bin/tovid-batch
|
||||
bin/tovid-init
|
||||
bin/tovid-interactive
|
||||
bin/tovid-test
|
||||
bin/tovidgui
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Globals.py
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Globals.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Globals.pyo
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Parser.py
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Parser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Parser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Project.py
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Project.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Project.pyo
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/TDL.py
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/TDL.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/TDL.pyo
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Target.py
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Target.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/Target.pyo
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/tools.py
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/tools.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libtovid/tools.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/libtovid
|
||||
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
|
||||
@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user