wok-current rev 24404
updated chromaprint and chromaprint-dev (1.4.3 -> 1.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 09 07:43:00 2022 +0100 (2022-02-09) |
parents | 932cd974e081 |
children | c9fa368eb94f |
files | chromaprint-dev/receipt chromaprint/receipt |
line diff
1.1 --- a/chromaprint-dev/receipt Tue Feb 08 18:20:23 2022 +0000 1.2 +++ b/chromaprint-dev/receipt Wed Feb 09 07:43:00 2022 +0100 1.3 @@ -1,10 +1,10 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="chromaprint-dev" 1.7 -VERSION="1.4.3" 1.8 +VERSION="1.5.1" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="Library that implements a custom algorithm for extracting fingerprints from any audio source - development files." 1.11 -MAINTAINER="developer@slitaz.org" 1.12 +MAINTAINER="maintainer@slitaz.org" 1.13 LICENSE="LGPLv2+" 1.14 WEB_SITE="https://acoustid.org/chromaprint" 1.15 1.16 @@ -14,9 +14,6 @@ 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules() 1.19 { 1.20 - mkdir -p $fs/usr/lib 1.21 - mkdir -p $fs/usr/include 1.22 - 1.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.24 - cp -a $install/usr/include $fs/usr 1.25 + cook_copy_folders include 1.26 + cook_copy_folders pkgconfig 1.27 }
2.1 --- a/chromaprint/receipt Tue Feb 08 18:20:23 2022 +0000 2.2 +++ b/chromaprint/receipt Wed Feb 09 07:43:00 2022 +0100 2.3 @@ -1,18 +1,18 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="chromaprint" 2.7 -VERSION="1.4.3" 2.8 +VERSION="1.5.1" 2.9 CATEGORY="multimedia" 2.10 SHORT_DESC="Library that implements a custom algorithm for extracting fingerprints from any audio source." 2.11 -MAINTAINER="developer@slitaz.org" 2.12 +MAINTAINER="maintainer@slitaz.org" 2.13 LICENSE="LGPLv2+" 2.14 WEB_SITE="https://acoustid.org/chromaprint" 2.15 2.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.17 WGET_URL="https://github.com/acoustid/$PACKAGE/releases/download/v$VERSION/$TARBALL" 2.18 2.19 -DEPENDS="libav gcc83-lib-base" 2.20 -BUILD_DEPENDS="cmake ffmpeg-dev libgnutls gcc83" 2.21 +DEPENDS="ffmpeg gcc83-lib-base libav libvpx" 2.22 +BUILD_DEPENDS="cmake ffmpeg-dev gcc83 libav-dev libvpx-dev libgnutls" 2.23 2.24 current_version() 2.25 { 2.26 @@ -24,25 +24,27 @@ 2.27 compile_rules() 2.28 { 2.29 #lavc 55.28.1 (2013-12-11) 2.30 - sed -i -e 's|avcodec_alloc_frame|av_frame_alloc|' \ 2.31 - -e 's|avcodec_free_frame|av_frame_free|' \ 2.32 - src/audio/ffmpeg_audio_reader.h 2.33 + sed -i -e 's|avcodec_alloc_frame|av_frame_alloc|' \ 2.34 + -e 's|avcodec_free_frame|av_frame_free|' \ 2.35 + src/audio/ffmpeg_audio_reader.h 2.36 + 2.37 export CC=gcc-83 2.38 export CXX=g++-83 2.39 + export LDFLAGS="$LDFLAGS -lvpx" 2.40 2.41 - cmake . \ 2.42 - -DCMAKE_BUILD_TYPE=Release \ 2.43 - -DBUILD_TOOLS=ON \ 2.44 - -DCMAKE_INSTALL_PREFIX=/usr && 2.45 + mkdir _build && 2.46 + cd _build && 2.47 + cmake .. \ 2.48 + -D CMAKE_BUILD_TYPE=Release \ 2.49 + -D BUILD_TOOLS=ON \ 2.50 + -D CMAKE_INSTALL_PREFIX=/usr && 2.51 make && 2.52 - make DESTDIR=$DESTDIR install 2.53 + make install DESTDIR=$DESTDIR 2.54 } 2.55 2.56 # Rules to gen a SliTaz package suitable for Tazpkg. 2.57 genpkg_rules() 2.58 { 2.59 - mkdir -p $fs/usr/lib 2.60 - 2.61 - cp -a $install/usr/bin $fs/usr 2.62 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.63 + cook_copy_folders bin 2.64 + cook_copy_files *.so* 2.65 }