specify patch and hook files directly in parts using slapos.recipe.cmmi.
[slapos.git] / component / ffmpeg / buildout.cfg
1 [buildout]
2 extends =
3   ../bzip2/buildout.cfg
4   ../libpng/buildout.cfg
5   ../patch/buildout.cfg
6   ../pkgconfig/buildout.cfg
7   ../zlib/buildout.cfg
8
9 parts =
10   ffmpeg
11
12 [ffmpeg]
13 <= ffmpeg-0.8
14
15 [libogg]
16 recipe = slapos.recipe.cmmi
17 url = http://downloads.xiph.org/releases/ogg/libogg-1.2.2.tar.gz
18 md5sum = 5a9fcabc9a1b7c6f1cd75ddc78f36c56
19 configure-options =
20   --disable-static
21
22 [libvorbis]
23 recipe = slapos.recipe.cmmi
24 url = http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.bz2
25 md5sum = 798a4211221073c1409f26eac4567e8b
26 configure-options =
27   --disable-static
28 environment =
29   PATH=${pkgconfig:location}/bin:%(PATH)s
30   PKG_CONFIG_PATH=${libogg:location}/lib/pkgconfig
31
32 [libtheora]
33 recipe = slapos.recipe.cmmi
34 url = http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2
35 md5sum = 292ab65cedd5021d6b7ddd117e07cd8e
36 depends =
37   ${libpng:so_version}
38 patches =
39   ${:_profile_base_location_}/libtheora-png_sizeof.patch#eaa1454081b50f05b59495a12f52b0d5
40
41 patch-options = -p1
42 configure-options =
43   --disable-static
44 environment =
45   PATH=${patch:location}/bin:${pkgconfig:location}/bin:%(PATH)s
46   PKG_CONFIG_PATH=${libogg:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig:${libvorbis:location}/lib/pkgconfig
47
48 [yasm]
49 recipe = slapos.recipe.cmmi
50 url = http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz
51
52 [libvpx]
53 recipe = slapos.recipe.cmmi
54 url = http://webm.googlecode.com/files/libvpx-v0.9.6.tar.bz2
55 md5sum = 383f3f07a76099682abb43f79b692b72
56 configure-options =
57  --enable-shared
58 environment =
59   PATH=${yasm:location}/bin:%(PATH)s
60
61 [libx264]
62 recipe = slapos.recipe.cmmi
63 url = ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20111005-2245-stable.tar.bz2
64 md5sum = f86260b2ea6d6cb5186937c9363891d7
65 configure-options =
66   --enable-shared
67   --enable-pic
68 environment =
69   PATH=${yasm:location}/bin:%(PATH)s
70
71 [lame]
72 recipe = slapos.recipe.cmmi
73 url = http://prdownloads.sourceforge.net/lame/lame-3.98.4.tar.gz
74 md5sum = 8e9866ad6b570c6c95c8cba48060473f
75 configure-options =
76   --disable-static
77   --disable-gtktest
78
79 [opencore-amr]
80 recipe = slapos.recipe.cmmi
81 url = http://prdownloads.sourceforge.net/opencore-amr/opencore-amr/opencore-amr-0.1.2.tar.gz
82 md5sum = 8e8b8b253eb046340ff7b6bf7a6ccd3e
83 configure-options =
84   --disable-static
85
86 [ffmpeg-0.8]
87 recipe = slapos.recipe.cmmi
88 url = http://ffmpeg.org/releases/ffmpeg-0.8.5.tar.bz2
89 md5sum = 726877b19ece7ea64def8b7e6727e182
90 configure-options =
91  --enable-gpl
92  --enable-version3
93  --enable-postproc
94  --enable-bzlib
95  --enable-libtheora
96  --enable-libvorbis
97  --enable-libvpx
98  --enable-libx264
99  --enable-libmp3lame
100  --enable-libopencore-amrnb
101  --enable-libopencore-amrwb
102  --enable-shared
103  --enable-zlib
104  --disable-static
105  --extra-ldflags="-Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib"
106 environment =
107   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
108   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
109   PATH=${yasm:location}/bin:%(PATH)s