summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2004-12-31 08:36:03 +0000
committerOlivier Crête <tester@gentoo.org>2004-12-31 08:36:03 +0000
commit4028f5702768826839abfa403ac7b7c9e0778ce3 (patch)
tree5fdb92013e35610af72d1a89829d464f5aa9f547 /media-video/mpeg4ip/files
parentAdded ~sparc keyword. (Manifest recommit) (diff)
downloadgentoo-2-4028f5702768826839abfa403ac7b7c9e0778ce3.tar.gz
gentoo-2-4028f5702768826839abfa403ac7b7c9e0778ce3.tar.bz2
gentoo-2-4028f5702768826839abfa403ac7b7c9e0778ce3.zip
Fix little bugs to mpeg4ip 1.2 ebuild
Diffstat (limited to 'media-video/mpeg4ip/files')
-rw-r--r--media-video/mpeg4ip/files/mpeg4ip-1.2-mp4encode-template-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-video/mpeg4ip/files/mpeg4ip-1.2-mp4encode-template-path.patch b/media-video/mpeg4ip/files/mpeg4ip-1.2-mp4encode-template-path.patch
new file mode 100644
index 000000000000..090ee8a71822
--- /dev/null
+++ b/media-video/mpeg4ip/files/mpeg4ip-1.2-mp4encode-template-path.patch
@@ -0,0 +1,11 @@
+--- mpeg4ip-1.1/server/util/mp4encode/mp4encode.old 2004-12-15 13:29:01.387023936 +0100
++++ mpeg4ip-1.1/server/util/mp4encode/mp4encode 2004-12-15 13:33:44.264020096 +0100
+@@ -138,7 +138,7 @@
+ else
+ # Create video encoder parameters file from template
+ isoBitRate=`expr ${vbitRate} \* 100000`
+- sed -e "s?BASEDIR?${here}?" -e "s/FILEPREFIX/${prefix}/" -e "s/LASTFRAME/${lastframe}/" -e "s/FRAMEWIDTH/${videoWidth}/" -e "s/FRAMEHEIGHT/${videoHeight}/" -e "s/FRAMERATE/${fps}/" -e "s/BFREQUENCY/${bfrequency}/" -e "s/PFREQUENCY/${pfrequency}/" -e "s/BITRATE/${isoBitRate}/" /usr/local/share/mp4venc_template.par > ${prefix}.par
++ sed -e "s?BASEDIR?${here}?" -e "s/FILEPREFIX/${prefix}/" -e "s/LASTFRAME/${lastframe}/" -e "s/FRAMEWIDTH/${videoWidth}/" -e "s/FRAMEHEIGHT/${videoHeight}/" -e "s/FRAMERATE/${fps}/" -e "s/BFREQUENCY/${bfrequency}/" -e "s/PFREQUENCY/${pfrequency}/" -e "s/BITRATE/${isoBitRate}/" /usr/share/mpeg4ip/mp4venc_template.par > ${prefix}.par
+
+ mp4venc ${prefix}.par
+ vfile=${prefix}.cmp