aboutsummaryrefslogtreecommitdiff
path: root/audio/nnls-chroma
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-06 14:09:46 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:15 +0700
commit57bf33ca4924588a88dd1cb10c1339b6efbb86ef (patch)
tree5f5870b6f00bd6a9fb9293979ecce3a2f56639aa /audio/nnls-chroma
parentc655b9a11dbf7f15ac5ccfae20a8fb2dd537e49e (diff)
audio/nnls-chroma: Strip library.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/nnls-chroma')
-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 766dcb487dbb..419dd8e329e9 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