aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/JDSP4Linux/JDSP4Linux.SlackBuild11
-rw-r--r--audio/JDSP4Linux/JDSP4Linux.info6
-rw-r--r--audio/JDSP4Linux/README3
3 files changed, 14 insertions, 6 deletions
diff --git a/audio/JDSP4Linux/JDSP4Linux.SlackBuild b/audio/JDSP4Linux/JDSP4Linux.SlackBuild
index aaee343bb680..b87347b52012 100644
--- a/audio/JDSP4Linux/JDSP4Linux.SlackBuild
+++ b/audio/JDSP4Linux/JDSP4Linux.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=JDSP4Linux
-VERSION=${VERSION:-2.3}
+VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,10 +77,15 @@ 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 {} \;
-
+sed -i '1s/^/QMAKE_CC = clang\nQMAKE_CXX = clang++\nQMAKE_LINK=clang++\n/' src/src.pro
mkdir build
cd build
-qmake-qt5 ../JDSP4Linux.pro
+if [ x"${PULSE}" == "x" ]; then
+ qmake-qt5 ../JDSP4Linux.pro
+ else
+ qmake-qt5 ../JDSP4Linux.pro "CONFIG += USE_PULSEAUDIO"
+ fi
+
make
make install DESTDIR=$PKG
diff --git a/audio/JDSP4Linux/JDSP4Linux.info b/audio/JDSP4Linux/JDSP4Linux.info
index fc49bf40a567..7c9d5fa7ae5b 100644
--- a/audio/JDSP4Linux/JDSP4Linux.info
+++ b/audio/JDSP4Linux/JDSP4Linux.info
@@ -1,8 +1,8 @@
PRGNAM="JDSP4Linux"
-VERSION="2.3"
+VERSION="2.4"
HOMEPAGE="https://github.com/Audio4Linux/JDSP4Linux"
-DOWNLOAD="https://github.com/raspo666/miscfiles/raw/main/JDSP4Linux-2.3.tar.xz"
-MD5SUM="f08e365ceca81c419503594bb2fd7dde"
+DOWNLOAD="https://github.com/raspo666/miscfiles/raw/main/JDSP4Linux-2.4.tar.xz"
+MD5SUM="edf0f054046cd660e3285a9cae3eb3ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/audio/JDSP4Linux/README b/audio/JDSP4Linux/README
index cb4c5466fd77..83a3a84c8bee 100644
--- a/audio/JDSP4Linux/README
+++ b/audio/JDSP4Linux/README
@@ -1 +1,4 @@
Open-source sound effects for PipeWire and PulseAudio
+to compile for pulseaudio use "PULSE=yes ./JDSP4Linux.SlackBuild"
+theres also an icon you can optionally download afterwards
+sudo wget -O /usr/share/pixmaps/jamesdsp.png https://raw.githubusercontent.com/Audio4Linux/JDSP4Linux/master/resources/icons/icon.png -q --show-progress