File tree Expand file tree Collapse file tree 3 files changed +22
-16
lines changed
pythonforandroid/recipes/ffmpeg Expand file tree Collapse file tree 3 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 6
6
import os
7
7
import shutil
8
8
9
- # TODO
10
- # Recipe doesn't work with NDK r15c+ yet,
11
- # see: https://github.com/android-ndk/ndk/issues/477
12
-
13
9
14
10
class FFMpegRecipe (Recipe ):
15
11
version = '3.4.1'
16
12
url = 'http://ffmpeg.org/releases/ffmpeg-{version}.tar.bz2'
17
13
depends = ['sdl2' ] # Need this to build correct recipe order
18
14
opts_depends = ['openssl' , 'ffpyplayer_codecs' ]
19
- patches = ['patches/fix-libshine- configure.patch' ]
15
+ patches = ['patches/configure.patch' ]
20
16
21
17
def should_build (self , arch ):
22
18
build_dir = self .get_build_dir (arch .arch )
Original file line number Diff line number Diff line change
1
+ --- ./configure.orig 2017-12-11 00:35:18.000000000 +0300
2
+ +++ ./configure 2017-12-19 09:47:54.104914600 +0300
3
+ @@ -4841,9 +4841,6 @@
4
+ add_cflags -std=c11 ||
5
+ check_cflags -std=c99
6
+
7
+ - check_cppflags -D_FILE_OFFSET_BITS=64
8
+ - check_cppflags -D_LARGEFILE_SOURCE
9
+ -
10
+ add_host_cppflags -D_ISOC99_SOURCE
11
+ check_host_cflags -std=c99
12
+ check_host_cflags -Wall
13
+ @@ -5979,7 +5976,7 @@
14
+ enabled librsvg && require_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo
15
+ enabled librtmp && require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
16
+ enabled librubberband && require_pkg_config librubberband "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new
17
+ - enabled libshine && require_pkg_config libshine shine shine/layer3.h shine_encode_buffer
18
+ + enabled libshine && require "shine" shine/layer3.h shine_encode_buffer -lshine
19
+ enabled libsmbclient && { use_pkg_config libsmbclient smbclient libsmbclient.h smbc_init ||
20
+ require smbclient libsmbclient.h smbc_init -lsmbclient; }
21
+ enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments