wok view chromaprint/receipt @ rev 24888
grub2: avoid grub-mkimage error: decompressor is too big
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:25:58 2022 +0100 (2022-04-02) |
parents | 03ffd6e0af81 |
children | fe1b5660fdd1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="chromaprint"
4 VERSION="1.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library that implements a custom algorithm for extracting fingerprints from any audio source."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPLv2+"
9 WEB_SITE="https://acoustid.org/chromaprint"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/acoustid/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="ffmpeg gcc83-lib-base libav libvpx"
15 BUILD_DEPENDS="cmake ffmpeg-dev gcc83 libav-dev libvpx-dev libgnutls"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed 's|AV_ERROR_MAX_STRING_SIZE|64|' -i src/audio/ffmpeg_audio_reader.h
28 export CC=gcc-83
29 export CXX=g++-83
30 export LDFLAGS="$LDFLAGS -lvpx"
32 mkdir _build &&
33 cd _build &&
34 cmake .. \
35 -D CMAKE_BUILD_TYPE=Release \
36 -D BUILD_TOOLS=ON \
37 -D CMAKE_INSTALL_PREFIX=/usr &&
38 make &&
39 make install DESTDIR=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_files *.so*
47 }