aboutsummaryrefslogtreecommitdiff
path: root/audio/ntk
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2022-03-05 12:54:16 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-05 08:22:26 +0700
commit09c3fc81a33b2267ba11ec2a752d8acbbbb34fe4 (patch)
tree5745e1787ce61a6f2db2cb98ca78a604da3964dd /audio/ntk
parent67dc855b125e669462db01ef960ca06e378d83be (diff)
audio/ntk: Updated for version 1.3.1001
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ntk')
-rw-r--r--audio/ntk/README11
-rw-r--r--audio/ntk/ntk.SlackBuild23
-rw-r--r--audio/ntk/ntk.info8
-rw-r--r--audio/ntk/slack-desc8
4 files changed, 16 insertions, 34 deletions
diff --git a/audio/ntk/README b/audio/ntk/README
index 0bccba8f9bf2..6b4babeb83fe 100644
--- a/audio/ntk/README
+++ b/audio/ntk/README
@@ -1,11 +1,2 @@
-ntk is a fast and lightweight GUI toolkit for the Non-DAW application
-suite. It is a build requirement of Non, and is distributed along with
-Non source code. It is packaged separately for SlackBuilds.org because
-other software (such as Qtractor and Fabla) can use it, plus in order
-for Non-* to build, ntk must be installed first.
+ntk is a fast and lightweight fork of FLTK for audio applications.
-So, install this first, and then build and install Non.
-
-The only official download is available as a git repository. In order
-to standardise this SlackBuild, a snapshot of the git repository as of
-28/09/2020 has been posted to slackermedia.info.
diff --git a/audio/ntk/ntk.SlackBuild b/audio/ntk/ntk.SlackBuild
index 67033add9915..f1fb0349cee6 100644
--- a/audio/ntk/ntk.SlackBuild
+++ b/audio/ntk/ntk.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Slackware build script for non
-# Copyright 2013 Klaatu @ member.fsf.org
+# Copyright 2013-22 Klaatu @ member.fsf.org
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -12,11 +12,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ntk
-SRCNAM=ntk #comment out if building from git
-#to build from git uncomment this one
-#SRCNAM=non
-
-VERSION=${VERSION:-20200928}
+VERSION=${VERSION:-1.3.1001}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,7 +34,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$SRCNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
@@ -59,10 +55,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-git-$VERSION
-tar xvf $CWD/$SRCNAM-git-$VERSION.tar.xz
-cd $SRCNAM-git-$VERSION
-rm nonlib/nonlib
+rm -rf $PRGNAM
+tar xvf $CWD/v"${VERSION}".tar.gz
+cd $PRGNAM
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,11 +66,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# do this if cloning from git
-#git submodule update --init --depth 1
-
-# we are at project root, ie non/
-cd lib/ntk
./waf configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
diff --git a/audio/ntk/ntk.info b/audio/ntk/ntk.info
index 54aae783a8f5..f7e3007bd007 100644
--- a/audio/ntk/ntk.info
+++ b/audio/ntk/ntk.info
@@ -1,8 +1,8 @@
PRGNAM="ntk"
-VERSION="20200928"
-HOMEPAGE="http://non.tuxfamily.org"
-DOWNLOAD="http://slackermedia.info/slackbuilds/ntk/ntk-git-20200928.tar.xz"
-MD5SUM="e19391739aeaf002ee67c4dede363b3e"
+VERSION="1.3.1001"
+HOMEPAGE="https://git.kx.studio/non/ntk"
+DOWNLOAD="https://git.kx.studio/non/ntk/archive/v1.3.1001.tar.gz"
+MD5SUM="0ae8fcb23285c5f534d19630d63ca3a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/audio/ntk/slack-desc b/audio/ntk/slack-desc
index ee7a0f596662..9eabf30c3557 100644
--- a/audio/ntk/slack-desc
+++ b/audio/ntk/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ntk: ntk (a simple and fast GUI tool kit for the non-daw suite)
+ntk: ntk (a simple and fast GUI tool kit for audio applications)
ntk:
-ntk: ntk is a simple and fast GUI toolkit for the Non-DAW suite of audio
-ntk: applications.
+ntk: ntk is a simple and fast GUI toolkit for audio applcations.
+ntk:
+ntk: https://git.kx.studio/non/ntk
ntk:
-ntk: http://non.tuxfamily.org
ntk:
ntk:
ntk: