Permalink
Browse files

add yasm build to buildout

  • Loading branch information...
1 parent f54ef9f commit 441f76870fc4024998807a2d9cf48e73f6876943 @d-mo d-mo committed Apr 5, 2012
Showing with 22 additions and 5 deletions.
  1. +3 −0 base.cfg
  2. +15 −2 build.cfg
  3. +1 −0 devel.cfg
  4. +3 −3 docs/INSTALL.txt
View
@@ -41,6 +41,7 @@ parts =
transcodedaemon
pcre-source
+ yasm-build
x264-build
ogg-build
vorbis-build
@@ -96,6 +97,7 @@ varnish = http://downloads.sourceforge.net/varnish/varnish-2.1.3.tar.gz
nginx = http://sysoev.ru/nginx/nginx-0.7.43.tar.gz
haproxy = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.18.tar.gz
ffmpeg = http://www.ffmpeg.org/releases/ffmpeg-0.8.7.tar.bz2
+yasm = http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz
x264 = http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20111120-2245-stable.tar.bz2
libogg = http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz
libvorbis = http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.bz2
@@ -106,6 +108,7 @@ liblame = http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.tar.
mp4v2 = http://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2
libvpx = http://webm.googlecode.com/files/libvpx-v0.9.7.tar.bz2
+
# TODO: this should be actually in kgs
[versions]
plumi.app = 4.3
View
@@ -112,12 +112,20 @@ tmp_dir = ${buildout:directory}/var/ploneftp
# Build ffmpeg, nginx, varnish and haxproxy for later configuration
##############################################################################
+[yasm-build]
+recipe = hexagonit.recipe.cmmi
+url = ${downloads:yasm}
+
[x264-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:x264}
configure-options =
--enable-shared
-
+environment-section =
+ asmenv
+
+[asmenv]
+PATH = %(PATH)s:${buildout:directory}/parts/yasm-build/bin
[ogg-build]
recipe = hexagonit.recipe.cmmi
@@ -159,7 +167,9 @@ recipe = hexagonit.recipe.cmmi
url = ${downloads:libvpx}
configure-options =
--enable-pic
-
+environment-section =
+ asmenv
+
[lame-build]
recipe = hexagonit.recipe.cmmi
url = ${downloads:liblame}
@@ -180,6 +190,9 @@ configure-options =
--enable-libvpx
# --enable-libxvid --enable-x11grab --enable-libopencore-amrwb --enable-libopencore-amrnb
+environment-section =
+ asmenv
+
[ffmpeg]
recipe = collective.recipe.scriptgen
cmd = ${buildout:directory}/parts/ffmpeg-build/bin/ffmpeg
View
@@ -28,6 +28,7 @@ parts =
ploneftp
transcodedaemon
+ yasm-build
x264-build
ogg-build
vorbis-build
View
@@ -4,9 +4,9 @@ http://en.flossmanuals.net/Plumi/Introduction
Before you start
================
- * install gcc/g++ dev tools and yasm
- e.g. sudo apt-get install build-essential yasm pkg-config
- * install subversion
+ * install gcc/g++ dev tools
+ e.g. sudo apt-get install build-essential pkg-config
+ * install git
e.g. sudo apt-get install git-core
* install python2.6 and header files
e.g. sudo apt-get install python2.6-dev

0 comments on commit 441f768

Please sign in to comment.