summaryrefslogtreecommitdiff
path: root/libraries/chromaprint
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/chromaprint')
-rw-r--r--libraries/chromaprint/README2
-rw-r--r--libraries/chromaprint/chromaprint.SlackBuild25
-rw-r--r--libraries/chromaprint/chromaprint.info6
3 files changed, 10 insertions, 23 deletions
diff --git a/libraries/chromaprint/README b/libraries/chromaprint/README
index 631df5a90d..42467dda76 100644
--- a/libraries/chromaprint/README
+++ b/libraries/chromaprint/README
@@ -1,5 +1,3 @@
-chromaprint (audio fingerprint library)
-
Chromaprint is the core component of the Acoustid project.
It's a client-side library that implements a custom algorithm for
extracting fingerprints from any audio source.
diff --git a/libraries/chromaprint/chromaprint.SlackBuild b/libraries/chromaprint/chromaprint.SlackBuild
index 3e9269f9c8..9a462b2a38 100644
--- a/libraries/chromaprint/chromaprint.SlackBuild
+++ b/libraries/chromaprint/chromaprint.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
# Slackware build script for chromaprint
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, 2012-2014
+
+# Copyright 2012-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromaprint
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -53,14 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-# Check for ffmpeg: use it for calculations and build some tools
-if pkg-config --exists libavcodec libavformat libavutil ; then
- avfft="ON" ; fftw3="OFF" ; examples="ON"
-else
- avfft="OFF" ; fftw3="ON" ; examples="OFF"
-fi
-
-DOCS="COPYING.txt NEWS.txt README.md"
+DOCS="LICENSE.md NEWS.txt README.md"
set -e
@@ -84,11 +78,6 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DWITH_AVFFT="$avfft" \
- -DWITH_FFTW3="$fftw3" \
- -DBUILD_EXAMPLES="$examples" \
- -DWITH_KISSFFT="OFF" \
- -DWITH_VDSP="OFF" \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/libraries/chromaprint/chromaprint.info b/libraries/chromaprint/chromaprint.info
index fe8d89cdd6..9c19c7e822 100644
--- a/libraries/chromaprint/chromaprint.info
+++ b/libraries/chromaprint/chromaprint.info
@@ -1,8 +1,8 @@
PRGNAM="chromaprint"
-VERSION="1.2"
+VERSION="1.4"
HOMEPAGE="http://acoustid.org/chromaprint"
-DOWNLOAD="https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.2.tar.gz"
-MD5SUM="748da044a8f0ee5f31edec8b67045b3e"
+DOWNLOAD="https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.4.tar.gz"
+MD5SUM="e2b2c6ac294900c1d71819cce836ebd6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""