From 57bf33ca4924588a88dd1cb10c1339b6efbb86ef Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 6 Jan 2023 14:09:46 -0500 Subject: [PATCH] audio/nnls-chroma: Strip library. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- audio/nnls-chroma/nnls-chroma.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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