buildout.cfg 3.78 KB
Newer Older
1 2
[buildout]
extends = 
Łukasz Nowak's avatar
Łukasz Nowak committed
3 4
  ../bzip2/buildout.cfg
  ../libpng/buildout.cfg
5
  ../patch/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
6 7
  ../pkgconfig/buildout.cfg
  ../zlib/buildout.cfg
8 9 10 11 12

parts = 
  ffmpeg

[ffmpeg]
13
<= ffmpeg-0.8
14 15

[libogg]
16
recipe = slapos.recipe.cmmi
17 18 19 20 21 22
url = http://downloads.xiph.org/releases/ogg/libogg-1.2.2.tar.gz
md5sum = 5a9fcabc9a1b7c6f1cd75ddc78f36c56
configure-options =
  --disable-static

[libvorbis]
23
recipe = slapos.recipe.cmmi
24 25 26 27 28 29 30 31
url = http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.bz2
md5sum = 798a4211221073c1409f26eac4567e8b
configure-options =
  --disable-static
environment = 
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${libogg:location}/lib/pkgconfig

32 33 34 35 36 37 38
[libtheora-png_sizeof.patch]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
filename = libtheora-png_sizeof.patch
md5sum = eaa1454081b50f05b59495a12f52b0d5
download-only = true

39
[libtheora]
40
recipe = slapos.recipe.cmmi
41 42
url = http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2
md5sum = 292ab65cedd5021d6b7ddd117e07cd8e
43 44
depends =
  ${libpng:so_version}
45 46
patches = ${libtheora-png_sizeof.patch:location}/${libtheora-png_sizeof.patch:filename}
patch-options = -p1
47 48 49
configure-options =
  --disable-static
environment = 
50
  PATH=${patch:location}/bin:${pkgconfig:location}/bin:%(PATH)s
51 52 53
  PKG_CONFIG_PATH=${libogg:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig:${libvorbis:location}/lib/pkgconfig

[yasm]
54
recipe = slapos.recipe.cmmi
55 56 57
url = http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz

[libvpx]
58
recipe = slapos.recipe.cmmi
59 60 61 62 63 64 65 66
url = http://webm.googlecode.com/files/libvpx-v0.9.6.tar.bz2
md5sum = 383f3f07a76099682abb43f79b692b72
configure-options = 
 --enable-shared
environment = 
  PATH=${yasm:location}/bin:%(PATH)s

[libx264]
67
recipe = slapos.recipe.cmmi
68 69
url = ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20111005-2245-stable.tar.bz2
md5sum = f86260b2ea6d6cb5186937c9363891d7
70 71 72 73 74 75 76
configure-options =
  --enable-shared
  --enable-pic
environment = 
  PATH=${yasm:location}/bin:%(PATH)s

[lame]
77
recipe = slapos.recipe.cmmi
78 79 80 81 82 83 84
url = http://prdownloads.sourceforge.net/lame/lame-3.98.4.tar.gz
md5sum = 8e9866ad6b570c6c95c8cba48060473f
configure-options =
  --disable-static
  --disable-gtktest

[opencore-amr]
85
recipe = slapos.recipe.cmmi
86 87 88 89 90
url = http://prdownloads.sourceforge.net/opencore-amr/opencore-amr/opencore-amr-0.1.2.tar.gz
md5sum = 8e8b8b253eb046340ff7b6bf7a6ccd3e
configure-options =
  --disable-static

91
[ffmpeg-0.8]
92
recipe = slapos.recipe.cmmi
93 94
url = http://ffmpeg.org/releases/ffmpeg-0.8.5.tar.bz2
md5sum = 726877b19ece7ea64def8b7e6727e182
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
configure-options = 
 --enable-gpl
 --enable-version3
 --enable-postproc
 --enable-bzlib
 --enable-libtheora
 --enable-libvorbis
 --enable-libvpx
 --enable-libx264
 --enable-libmp3lame
 --enable-libopencore-amrnb
 --enable-libopencore-amrwb
 --enable-shared
 --enable-zlib
 --disable-static
110
 --extra-ldflags="-Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib"
111 112
environment = 
  CPPFLAGS=-I${bzip2:location}/include -I${libogg:location}/include -I${libvorbis:location}/include -I${libtheora:location}/include -I${libvpx:location}/include -I${libx264:location}/include -I${lame:location}/include -I${opencore-amr:location}/include -I${zlib:location}/include
113
  LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${libogg:location}/lib -Wl,-rpath=${libogg:location}/lib -L${libvorbis:location}/lib -Wl,-rpath=${libvorbis:location}/lib -L${libtheora:location}/lib -Wl,-rpath=${libtheora:location}/lib -L${libvpx:location}/lib -Wl,-rpath=${libvpx:location}/lib -L${libx264:location}/lib -Wl,-rpath=${libx264:location}/lib -L${lame:location}/lib -Wl,-rpath=${lame:location}/lib -L${opencore-amr:location}/lib -Wl,-rpath=${opencore-amr:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
114
  PATH=${yasm:location}/bin:%(PATH)s