summaryrefslogtreecommitdiff
path: root/libraries/chromaprint/chromaprint.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-12-23 18:08:56 +0100
committerRobby Workman <rworkman@slackbuilds.org>2014-12-25 02:11:38 -0600
commit824f66f1ae699edc2e7cb563a85652b46b4d75e0 (patch)
tree272c94a630e859fd2bc771f56792e0855a3d5068 /libraries/chromaprint/chromaprint.SlackBuild
parent0b06f43bd0e6dc1e67ffc40a6a9b1f2b3ea4ccc9 (diff)
downloadslackbuilds-824f66f1ae699edc2e7cb563a85652b46b4d75e0.tar.gz
libraries/chromaprint: Updated for version 1.2.
Re-enabled optional ffmpeg support. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/chromaprint/chromaprint.SlackBuild')
-rw-r--r--libraries/chromaprint/chromaprint.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/libraries/chromaprint/chromaprint.SlackBuild b/libraries/chromaprint/chromaprint.SlackBuild
index 9be319aee9..3e9269f9c8 100644
--- a/libraries/chromaprint/chromaprint.SlackBuild
+++ b/libraries/chromaprint/chromaprint.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromaprint
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,14 +55,12 @@ fi
# Check for ffmpeg: use it for calculations and build some tools
if pkg-config --exists libavcodec libavformat libavutil ; then
- # this is disabled until compatible with our ffmpeg
- #tools="ON" ; avfft="ON" ; fftw3="OFF"
- tools="OFF" ; avfft="OFF" ; fftw3="ON"
+ avfft="ON" ; fftw3="OFF" ; examples="ON"
else
- tools="OFF" ; avfft="OFF" ; fftw3="ON"
+ avfft="OFF" ; fftw3="ON" ; examples="OFF"
fi
-DOCS="COPYING.txt NEWS.txt README.txt"
+DOCS="COPYING.txt NEWS.txt README.md"
set -e
@@ -75,7 +73,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@@ -88,8 +86,9 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DWITH_AVFFT="$avfft" \
-DWITH_FFTW3="$fftw3" \
- -DBUILD_TOOLS="$tools" \
- -DBUILD_EXAMPLES="ON" \
+ -DBUILD_EXAMPLES="$examples" \
+ -DWITH_KISSFFT="OFF" \
+ -DWITH_VDSP="OFF" \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG