diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-02 08:11:55 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-02 08:12:46 +0700 |
commit | 9c5f47526eaef77727c6ff4eb53cdeb90c4e95b4 (patch) | |
tree | d096880c4979d44838ea48cba4006eab240e751f /audio/clementine/clementine.SlackBuild | |
parent | 76b0ee009152d608ae4a127e837d82b787fe5c29 (diff) | |
download | slackbuilds-9c5f47526eaef77727c6ff4eb53cdeb90c4e95b4.tar.gz |
audio/clementine: Fix build against chromaprint 1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/clementine/clementine.SlackBuild')
-rw-r--r-- | audio/clementine/clementine.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild index e3b3c99a0f..d5e99369ae 100644 --- a/audio/clementine/clementine.SlackBuild +++ b/audio/clementine/clementine.SlackBuild @@ -27,12 +27,12 @@ PRGNAM=clementine DIRNAM=Clementine VERSION=${VERSION:-1.3.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; *) export ARCH=$( uname -m ) ;; esac @@ -43,8 +43,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" @@ -73,6 +73,11 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/sqlite.patch + +# Add upstream patch for chromaprint 1.4 compatibility +# https://github.com/clementine-player/Clementine/commit/ded312685735fc266d4154d355286eeb86db3bcd +patch -p1 < $CWD/chromaprint-1.4.patch + mkdir build cd build cmake \ |