37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
15 lines
869 B
Bash
Executable File
15 lines
869 B
Bash
Executable File
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"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=1.5.0
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=https://github.com/acoustid/chromaprint/releases/download/v${TERMUX_PKG_VERSION}/chromaprint-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=573a5400e635b3823fc2394cfa7a217fbb46e8e50ecebd4a61991451a8af766a
|
|
TERMUX_PKG_DEPENDS=ffmpeg
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_BUILD_TYPE=Release -DBUILD_TOOLS=ON -DBUILD_SHARED_LIBS=ON"
|
|
termux_step_post_make_install() {
|
|
ln -sf "${TERMUX_PREFIX}/lib/libchromaprint.so" "${TERMUX_PREFIX}/lib/libchromaprint.so.${TERMUX_PKG_VERSION:0:1}"
|
|
ln -sf "${TERMUX_PREFIX}/lib/libchromaprint.so" "${TERMUX_PREFIX}/lib/libchromaprint.so.${TERMUX_PKG_VERSION}"
|
|
}
|