aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-03-18 22:22:37 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-25 10:01:47 +0700
commit8ba08a0c2fcee8fb832cef384a10e00bf38b5b9b (patch)
treea489afdf8e57fa3f6f39b7c5ae08551854f80d65 /audio
parent1967e9aa87aefa79ac8ccec5b127c39159b55a99 (diff)
audio/setBfree: Updated for version 0.8.12.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/setBfree/doinst.sh3
-rw-r--r--audio/setBfree/setBfree.SlackBuild26
-rw-r--r--audio/setBfree/setBfree.desktop9
-rw-r--r--audio/setBfree/setBfree.info8
-rw-r--r--audio/setBfree/setbfree-0.8.11-gl.patch23
-rw-r--r--audio/setBfree/slack-desc2
-rw-r--r--audio/setBfree/x42-whirl.desktop9
7 files changed, 61 insertions, 19 deletions
diff --git a/audio/setBfree/doinst.sh b/audio/setBfree/doinst.sh
new file mode 100644
index 000000000000..12d65ed7bd74
--- /dev/null
+++ b/audio/setBfree/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1
+fi
diff --git a/audio/setBfree/setBfree.SlackBuild b/audio/setBfree/setBfree.SlackBuild
index f87a3308c3b8..722242abc920 100644
--- a/audio/setBfree/setBfree.SlackBuild
+++ b/audio/setBfree/setBfree.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for setBfree
-# Copyright 2020 Johannes Schoepfer, Germany
+# Copyright 2020-2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=setBfree
-VERSION=${VERSION:-0.8.11}
+VERSION=${VERSION:-0.8.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -80,19 +77,19 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p0 < $CWD/libdir.patch
+patch -p1 < $CWD/setbfree-0.8.11-gl.patch
+export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
make clean
-make \
- PREFIX=/usr OPTIMIZATIONS="$SLKCFLAGS" \
- FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
-make \
- PREFIX=/usr DESTDIR=$PKG LIBDIR="lib$LIBDIRSUFFIX" \
- FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf \
- install
+make PREFIX=/usr LIBDIR=lib$LIBDIRSUFFIX OPTIMIZATIONS="$SLKCFLAGS"
+make PREFIX=/usr LIBDIR=lib$LIBDIRSUFFIX DESTDIR=$PKG install
mkdir -p $PKG/usr/share/pixmaps
-cp doc/{$PRGNAM,x42-whirl}.png \
+cp doc/*.png \
$PKG/usr/share/pixmaps/
+mkdir -p $PKG/usr/share/applications
+cp $CWD/{$PRGNAM,x42-whirl}.desktop $PKG/usr/share/applications
+
mkdir -p $PKG/usr/man/man1
cp doc/*.1 $PKG/usr/man/man1/
# remove jboverdrive man page, https://github.com/pantherb/setBfree/issues/46
@@ -106,12 +103,13 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog README.md doc/*.png \
+ AUTHORS ChangeLog COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
if [ "${SETCAP:-yes}" = "yes" ]; then
diff --git a/audio/setBfree/setBfree.desktop b/audio/setBfree/setBfree.desktop
new file mode 100644
index 000000000000..6c2f62f05ac9
--- /dev/null
+++ b/audio/setBfree/setBfree.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Exec=setBfreeUI
+Name=setBfree
+Comment=A DSP Tonewheel Organ emulator
+Icon=setBfree
+Terminal=false
+StartupNotify=false
+Categories=AudioVideo;Audio;
diff --git a/audio/setBfree/setBfree.info b/audio/setBfree/setBfree.info
index 08ba93f1fab9..b45356d1de29 100644
--- a/audio/setBfree/setBfree.info
+++ b/audio/setBfree/setBfree.info
@@ -1,8 +1,8 @@
PRGNAM="setBfree"
-VERSION="0.8.11"
-HOMEPAGE="https://x42-plugins.com/x42/setBfree"
-DOWNLOAD="https://github.com/pantherb/setBfree/archive/v0.8.11/setBfree-0.8.11.tar.gz"
-MD5SUM="0bc5c6e17c6a352c0f0a8a26fd1b7f21"
+VERSION="0.8.12"
+HOMEPAGE="https://setbfree.org/"
+DOWNLOAD="https://github.com/pantherb/setBfree/archive/v0.8.12/setBfree-0.8.12.tar.gz"
+MD5SUM="b346dc9500cbbba7c3d03dd04a91e00b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"
diff --git a/audio/setBfree/setbfree-0.8.11-gl.patch b/audio/setBfree/setbfree-0.8.11-gl.patch
new file mode 100644
index 000000000000..e8a3fd8c8c9a
--- /dev/null
+++ b/audio/setBfree/setbfree-0.8.11-gl.patch
@@ -0,0 +1,23 @@
+From 8b92940fe6780155fbafb46782f6720fd6822af1 Mon Sep 17 00:00:00 2001
+From: Christopher Arndt <chris@chrisarndt.de>
+Date: Sat, 19 Feb 2022 16:24:20 +0100
+Subject: [PATCH] fix: add -lGL to UILIBS for non-static unix LV2 builds
+
+Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
+---
+ common.mak | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/common.mak b/common.mak
+index 1c12f32..3ae8c86 100644
+--- a/common.mak
++++ b/common.mak
+@@ -167,7 +167,7 @@ ifeq ($(LV2AVAIL)$(HAVE_UI)$(HAVE_IDLE), yesyesyes)
+ UILIBS+=`pkg-config --variable=libdir ftgl`/libftgl.a `pkg-config --variable=libdir ftgl`/libfreetype.a
+ UILIBS+=`pkg-config --libs zlib`
+ else
+- UILIBS+=`pkg-config --libs glu ftgl`
++ UILIBS+=`pkg-config --libs glu gl ftgl`
+ endif
+ UICFLAGS+=-DFONTFILE=\"$(FONTFILE)\"
+ endif
diff --git a/audio/setBfree/slack-desc b/audio/setBfree/slack-desc
index a99caf678810..7c4baebeb08d 100644
--- a/audio/setBfree/slack-desc
+++ b/audio/setBfree/slack-desc
@@ -13,7 +13,7 @@ setBfree: and properties of the electromechanical organs and sound modification
setBfree: devices that brought world-wide fame to the names and products of
setBfree: Laurens Hammond and Don Leslie.
setBfree:
-setBfree: Homepage https://x42-plugins.com/x42/setBfree
+setBfree: https://setbfree.org/
setBfree:
setBfree:
setBfree:
diff --git a/audio/setBfree/x42-whirl.desktop b/audio/setBfree/x42-whirl.desktop
new file mode 100644
index 000000000000..5ce4505666fd
--- /dev/null
+++ b/audio/setBfree/x42-whirl.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Exec=x42-whirl
+Name=x42-whirl
+Comment=Leslie speaker emulation as JACK client
+Icon=x42-whirl
+Terminal=false
+StartupNotify=false
+Categories=AudioVideo;Audio;