[build] type = "cmake" [build.flags] build_dir = "build" configure = [ "-DLDAC_SOFT_FLOAT=OFF", "-G Ninja", "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ] [dependencies] build = [ "cmake", "ninja", ] runtime = ["glibc"] [package] description = "LDAC Bluetooth encoder library" homepage = "https://github.com/EHfive/ldacBT" license = "Apache-2.0" name = "libldac" version = "2.0.2.3" [[source]] extract_dir = "$name-$version" url = "https://github.com/EHfive/ldacBT.git#v$version" post_extract = [ "cp -rv ../libldac ./" ] [[manual_sources]] url = "https://android.googlesource.com/platform/external/libldac.git"