audio/setBfree: Updated for version 0.8.12.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2023-03-18 22:22:37 +00:00 committed by Willy Sudiarto Raharjo
parent 1967e9aa87
commit 8ba08a0c2f
No known key found for this signature in database
GPG key ID: 3F617144D7238786
7 changed files with 61 additions and 19 deletions

3
audio/setBfree/doinst.sh Normal file
View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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"

View file

@ -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

View file

@ -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:

View file

@ -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;