diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-04-22 06:48:43 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-04-22 06:48:43 -0300 |
commit | 87a47855a84098853241d8ae2344118dc2970a9f (patch) | |
tree | 1dc35710b18ec0c539b2d26fabdb64c9e24f9fd7 /libre/icecat/PKGBUILD | |
parent | 301061951d578c29fd64e493211423632883b9b3 (diff) | |
download | abslibre-87a47855a84098853241d8ae2344118dc2970a9f.tar.gz abslibre-87a47855a84098853241d8ae2344118dc2970a9f.tar.bz2 abslibre-87a47855a84098853241d8ae2344118dc2970a9f.zip |
icecat: replace IMG_FMT_I420, PLANE_{U,V,Y} to VPX_IMG_FMT_I420, VPX_PLANE_{U,V,Y} variables for libvpx >= 1.4.0 support
Diffstat (limited to 'libre/icecat/PKGBUILD')
-rw-r--r-- | libre/icecat/PKGBUILD | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD index 38d2d9ef6..78fc58fa1 100644 --- a/libre/icecat/PKGBUILD +++ b/libre/icecat/PKGBUILD @@ -130,6 +130,15 @@ prepare() { echo 'ac_add_options --disable-jemalloc' >> .mozconfig fi + # Fixing for libvpx >= 1.4.0 + sed -i 's|IMG_FMT_I420|VPX_IMG_FMT_I420|; + s|PLANE_U|VPX_PLANE_U|; + s|PLANE_V|VPX_PLANE_V|; + s|PLANE_Y|VPX_PLANE_Y|; + s|VPX_VPX_PLANE_|VPX_PLANE_|; + ' content/media/encoder/VP8TrackEncoder.cpp \ + media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc + mkdir "$srcdir/path" # WebRTC build tries to execute "python" and expects Python 2 |