2019-12-04 14:27:37 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://acoustid.org/chromaprint
|
|
|
|
TERMUX_PKG_DESCRIPTION="C library for generating audio fingerprints used by AcoustID"
|
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.1, MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-02-28 00:38:47 +01:00
|
|
|
TERMUX_PKG_VERSION=1.5.1
|
2019-12-04 14:27:37 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/acoustid/chromaprint/releases/download/v${TERMUX_PKG_VERSION}/chromaprint-${TERMUX_PKG_VERSION}.tar.gz
|
2022-02-28 00:38:47 +01:00
|
|
|
TERMUX_PKG_SHA256=a1aad8fa3b8b18b78d3755b3767faff9abb67242e01b478ec9a64e190f335e1c
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2019-12-04 14:27:37 +01:00
|
|
|
TERMUX_PKG_DEPENDS=ffmpeg
|
2022-01-17 11:19:50 +01:00
|
|
|
# `-DBUILD_TOOLS=ON` is not speficied as `fpcalc` does not build with ffmpeg 5.0.
|
2022-02-28 00:38:47 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
-DBUILD_SHARED_LIBS=ON
|
|
|
|
-DBUILD_TOOLS=OFF
|
|
|
|
-DBUILD_TESTS=OFF
|
|
|
|
"
|
|
|
|
|
2019-12-04 14:27:37 +01:00
|
|
|
termux_step_post_make_install() {
|
2022-02-28 00:38:47 +01:00
|
|
|
ln -sf libchromaprint.so \
|
|
|
|
"${TERMUX_PREFIX}/lib/libchromaprint.so.${TERMUX_PKG_VERSION:0:1}"
|
|
|
|
ln -sf libchromaprint.so \
|
|
|
|
"${TERMUX_PREFIX}/lib/libchromaprint.so.${TERMUX_PKG_VERSION}"
|
2019-12-04 14:27:37 +01:00
|
|
|
}
|