audio/setBfree: Updated for version 0.8.13.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2024-06-15 07:10:23 +07:00 committed by Willy Sudiarto Raharjo
parent 2ed57157dc
commit 84a8a2ee52
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 11 additions and 35 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for setBfree
# Copyright 2020-2023 Johannes Schoepfer, Germany
# Copyright 2020-2024 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.12}
VERSION=${VERSION:-0.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -72,18 +72,20 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-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 LIBDIR=lib$LIBDIRSUFFIX OPTIMIZATIONS="$SLKCFLAGS"
make PREFIX=/usr LIBDIR=lib$LIBDIRSUFFIX DESTDIR=$PKG install
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
mkdir -p $PKG/usr/share/pixmaps
cp doc/*.png \
$PKG/usr/share/pixmaps/
@ -95,10 +97,7 @@ cp doc/*.1 $PKG/usr/man/man1/
# remove jboverdrive man page, https://github.com/pantherb/setBfree/issues/46
rm $PKG/usr/man/man1/jboverdrive.1
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
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="setBfree"
VERSION="0.8.12"
VERSION="0.8.13"
HOMEPAGE="https://setbfree.org/"
DOWNLOAD="https://github.com/pantherb/setBfree/archive/v0.8.12/setBfree-0.8.12.tar.gz"
MD5SUM="b346dc9500cbbba7c3d03dd04a91e00b"
DOWNLOAD="https://github.com/pantherb/setBfree/archive/v0.8.13/setBfree-0.8.13.tar.gz"
MD5SUM="45863cf35b0ee6a9c57cf4c99b31f0cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"

View file

@ -1,23 +0,0 @@
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