summaryrefslogtreecommitdiffstats
path: root/audio/nnls-chroma/nnls-chroma.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/nnls-chroma/nnls-chroma.SlackBuild')
-rw-r--r--audio/nnls-chroma/nnls-chroma.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/nnls-chroma/nnls-chroma.SlackBuild b/audio/nnls-chroma/nnls-chroma.SlackBuild
index 766dcb487d..419dd8e329 100644
--- a/audio/nnls-chroma/nnls-chroma.SlackBuild
+++ b/audio/nnls-chroma/nnls-chroma.SlackBuild
@@ -6,11 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230106 bkw: BUILD=2, strip the library.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nnls-chroma
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,6 +68,7 @@ make -f Makefile.linux VAMP_SDK_DIR=/usr/include/vamp-sdk
# 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
+strip $PRGNAM.so
cp -a $PRGNAM.so $PRGNAM.n3 $PRGNAM.cat $PKG/usr/lib$LIBDIRSUFFIX/vamp
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION