diff options
Diffstat (limited to 'audio/nnls-chroma/nnls-chroma.SlackBuild')
-rw-r--r-- | audio/nnls-chroma/nnls-chroma.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/audio/nnls-chroma/nnls-chroma.SlackBuild b/audio/nnls-chroma/nnls-chroma.SlackBuild index feb04f6977083..ff0182087385a 100644 --- a/audio/nnls-chroma/nnls-chroma.SlackBuild +++ b/audio/nnls-chroma/nnls-chroma.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=nnls-chroma -VERSION=${VERSION:-0.2.1} +VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,7 +43,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -52,21 +52,20 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/use_system_vamp_sdk.diff - # Look for chord.dict in correct path on x86_64 sed -i "s,/usr/lib/vamp,/usr/lib$LIBDIRSUFFIX/vamp," chromamethods.cpp -make -f Makefile.linux +make -f Makefile.linux VAMP_SDK_DIR=/usr/include/vamp-sdk # no 'make install'... +# 20160803 bkw: chord.dict is gone. there's a chord.dictold, but it has +# fewer chords than the defaults hard-coded in chromamethods.cpp. I'll +# install chord.dictold in the doc directory, in case someone needs it. mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/vamp -cp -a chord.dict $PRGNAM.so $PRGNAM.n3 $PRGNAM.cat $PKG/usr/lib$LIBDIRSUFFIX/vamp +cp -a $PRGNAM.so $PRGNAM.n3 $PRGNAM.cat $PKG/usr/lib$LIBDIRSUFFIX/vamp mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README COPYING *.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a chord.dictold README COPYING *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |