File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ --- a/libvmaf/src/meson.build
2
+ +++ b/libvmaf/src/meson.build
3
+ @@ -13,6 +13,13 @@ if cc.get_id() != 'msvc'
4
+ '-pedantic',
5
+ '-DOC_NEW_STYLE_INCLUDES',
6
+ ]
7
+ + # If the target is Android, define _LIBCPP_HAS_NO_OFF_T_FUNCTIONS unconditionally
8
+ + # to work around the fact that meson always defines _FILE_OFFSET_BITS=64, which
9
+ + # causes issues for API levels below 24 in 32-bit architectures.
10
+ + # See https://github.com/mesonbuild/meson/issues/3049 for more details.
11
+ + if target_machine.system() == 'android'
12
+ + vmaf_cflags_common += '-D_LIBCPP_HAS_NO_OFF_T_FUNCTIONS'
13
+ + endif
14
+ else
15
+ vmaf_cflags_common = [
16
+ '-wd4028', # parameter different from declaration
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ vcpkg_from_github(
6
6
HEAD_REF master
7
7
PATCHES
8
8
no -tools.patch
9
+ android-off_t.patch
9
10
)
10
11
11
12
vcpkg_find_acquire_program (NASM )
Original file line number Diff line number Diff line change 4
4
"description" : " libvmaf is a library developed by Netflix to compute the VMAF (Video Multi-Method Assessment Fusion) metric." ,
5
5
"homepage" : " https://github.com/Netflix/vmaf" ,
6
6
"license" : " BSD-2-Clause-Patent" ,
7
- "supports" : " !windows & !android & !ios " ,
7
+ "supports" : " !windows" ,
8
8
"dependencies" : [
9
9
{
10
10
"name" : " vcpkg-tool-meson" ,
You can’t perform that action at this time.
0 commit comments