replace wavpack with dav1d

This commit is contained in:
Taner Sener
2021-01-30 12:10:06 +00:00
parent 0cc4e89a9d
commit 2fceb5f5ed
17 changed files with 184 additions and 120 deletions
+25
View File
@@ -447,6 +447,31 @@ get_ldflags() {
echo "${ARCH_FLAGS} ${OPTIMIZATION_FLAGS} ${COMMON_LINKED_LIBS} -Wl,--hash-style=both -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libunwind.a"
}
create_mason_cross_file() {
cat >"$1" <<EOF
[binaries]
c = '$CC'
cpp = '$CXX'
ar = '$AR'
strip = '$STRIP'
pkgconfig = 'pkg-config'
[properties]
sys_root = '$ANDROID_SYSROOT'
has_function_printf = true
[host_machine]
system = '$(get_meson_target_host_family)'
cpu_family = '$(get_meson_target_cpu_family)'
cpu = '$(get_cmake_system_processor)'
endian = 'little'
[built-in options]
default_library = 'static'
prefix = '${LIB_INSTALL_PREFIX}'
EOF
}
create_chromaprint_package_config() {
local CHROMAPRINT_VERSION="$1"