diff options
author | klaatu <klaatu@member.fsf.org> | 2022-03-06 09:49:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-06 11:43:33 +0700 |
commit | 739dc8e51237377ce660eabad96311a8b7860e46 (patch) | |
tree | 99e5296f7a9c847dc8a1486f6c983367dbde6d35 /audio/non/non.SlackBuild | |
parent | 139ddd376951cde5d751e2fde85613c8d862b2f6 (diff) |
audio/non: Updated for version 1.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/non/non.SlackBuild')
-rw-r--r-- | audio/non/non.SlackBuild | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/audio/non/non.SlackBuild b/audio/non/non.SlackBuild index 2af750d529584..aec94eacc1890 100644 --- a/audio/non/non.SlackBuild +++ b/audio/non/non.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash # Slackware build script for non -# Copyright 2019 Klaatu | Lawrence, NZ | Klaatu@member.fsf.org +# Copyright 2019-22 Klaatu | Lawrence, NZ | Klaatu@member.fsf.org # GNU All-Permissive License # Copying and distribution of this file, with or without modification, @@ -11,12 +11,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=non -VERSION=${VERSION:-20200928} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -#determine what components we are building +# determine what components we are building if [ "X$PROJECT" != "X" ]; then DAW="--project=${PROJECT}" else @@ -61,10 +61,14 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-git-$VERSION -tar xvf $CWD/$PRGNAM-git-$VERSION.tar.bz2 -cd $PRGNAM-git-$VERSION +rm -rf $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-daw-v"$VERSION".tar.gz \ + -C $PRGNAM-$VERSION --strip-components 1 + +cd $PRGNAM-$VERSION rm nonlib/nonlib + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,9 +85,15 @@ CXXFLAGS="$SLKCFLAGS -std=c++11" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION -./waf -j1 +./waf ./waf install --destdir=$PKG +if [ "X$PROJECT" = "Xtimeline" -o "X$PROJECT" = "X" ]; then + # fix nested bin directory + mv $PKG/usr/bin/bin/import-ardour-session $PKG/usr/bin + rmdir $PKG/usr/bin/bin/ +fi + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |