libraries/chromaprint: Updated for version 1.4.2.

Thanks to Dominik Drobek for the -DBUILD_TOOLS=ON tip

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-01-15 21:07:30 +01:00 committed by Willy Sudiarto Raharjo
parent 108094b1a3
commit c167683041
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for chromaprint
# Copyright 2012-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright 2012-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromaprint
VERSION=${VERSION:-1.4}
VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -54,6 +54,8 @@ else
LIBDIRSUFFIX=""
fi
if pkg-config --exists libavcodec; then tools="-DBUILD_TOOLS=ON"; else tools=""; fi
DOCS="LICENSE.md NEWS.txt README.md"
set -e
@ -78,6 +80,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
$tools \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="chromaprint"
VERSION="1.4"
VERSION="1.4.2"
HOMEPAGE="http://acoustid.org/chromaprint"
DOWNLOAD="https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.4.tar.gz"
MD5SUM="e2b2c6ac294900c1d71819cce836ebd6"
DOWNLOAD="https://github.com/acoustid/chromaprint/releases/download/v1.4.2/chromaprint-1.4.2.tar.gz"
MD5SUM="895c42ba6d769840a2e10e507ad9f14d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""