Changes between Version 1 and Version 4 of Ticket #103
- Timestamp:
- 04/03/12 14:44:45 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #103
- Property Owner changed from Antoine Martin to ahuillet
-
Property
Status
changed from
new
toassigned
-
Ticket #103 – Description
v1 v4 13 13 git clone git://git.videolan.org/ffmpeg.git ffmpeg 14 14 git clone git://git.videolan.org/x264.git 15 wget http://webm.googlecode.com/files/libvpx-v1.0.0.tar.bz2 15 16 16 17 cd x264 … … 23 24 make && make install 24 25 cd .. 26 27 tar jxvf libvpx-v1.0.0.tar.bz2 28 cd libvpx-v1.0.0 29 ./configure --enable-pic --disable-install-docs --enable-shared --enable-static --disable-vp8-decoder 30 make && make install 31 cd .. 25 32 }}} 26 33 27 34 The libs are now present in /usr/local. 28 35 29 Apply the following changes to setup.py :36 Apply the following changes to setup.py to change x264 to static: 30 37 {{{ 31 38 x264_ENABLED = True … … 40 47 **pkgconfig("x264", "libswscale", "libavcodec") 41 48 )) 42 -vpx_ENABLED = True 43 +vpx_ENABLED = False 49 }}} 50 51 Apply the following changes to setup.py to change vpx to static: 52 {{{ 53 vpx_ENABLED = True 54 if vpx_ENABLED: 55 + def pkgconfig(*args): 56 + return {'include_dirs': ["/usr/local/include"], 57 + 'library_dirs': ["/usr/local/lib"], 58 + 'extra_link_args': ["-Wl,-soname,vpxlib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", "-lvpx", "-lswscale", "-lavcodec", "-lavutil", "-Wl,-Bdynamic"] } 59 44 60 }}} 45 61