wok-current view chromaprint/receipt @ rev 23456

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
parents 2fdd74522103
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="chromaprint"
4 VERSION="1.4.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library that implements a custom algorithm for extracting fingerprints from any audio source."
7 MAINTAINER="developer@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="libav gcc83-lib-base"
15 BUILD_DEPENDS="cmake ffmpeg-dev libgnutls gcc83"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 #lavc 55.28.1 (2013-12-11)
21 sed -i -e 's|avcodec_alloc_frame|av_frame_alloc|' \
22 -e 's|avcodec_free_frame|av_frame_free|' \
23 src/audio/ffmpeg_audio_reader.h
24 export CC=gcc-83
25 export CXX=g++-83
27 cmake . \
28 -DCMAKE_BUILD_TYPE=Release \
29 -DBUILD_TOOLS=ON \
30 -DCMAKE_INSTALL_PREFIX=/usr &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }