summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/deadbeef/deadbeef.SlackBuild1
-rw-r--r--audio/guitarix/guitarix.SlackBuild2
-rw-r--r--audio/guitarix/patches/always_inline.patch22
-rw-r--r--audio/guitarix/patches/gcc-13.patch12
-rw-r--r--audio/wireplumber/README25
-rw-r--r--audio/wireplumber/doinst.sh5
-rw-r--r--audio/wireplumber/slack-desc19
-rw-r--r--audio/wireplumber/wireplumber-disable.sh54
-rw-r--r--audio/wireplumber/wireplumber-enable.sh42
-rw-r--r--audio/wireplumber/wireplumber.SlackBuild145
-rw-r--r--audio/wireplumber/wireplumber.desktop.sample10
-rw-r--r--audio/wireplumber/wireplumber.info10
12 files changed, 37 insertions, 310 deletions
diff --git a/audio/deadbeef/deadbeef.SlackBuild b/audio/deadbeef/deadbeef.SlackBuild
index 544b0cf46e..b920c057ce 100644
--- a/audio/deadbeef/deadbeef.SlackBuild
+++ b/audio/deadbeef/deadbeef.SlackBuild
@@ -101,6 +101,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \
--disable-gtk2 \
+ --disable-adplug \
--build=$ARCH-slackware-linux
make V=1
diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild
index f55fb75477..eadb51e8cd 100644
--- a/audio/guitarix/guitarix.SlackBuild
+++ b/audio/guitarix/guitarix.SlackBuild
@@ -89,6 +89,8 @@ if [ "${LV2:-yes}" = "no" ]; then
LV2OPT=--no-lv2
fi
+for i in $CWD/patches/*; do patch -p2 < $i ; done
+
# grrr, -DNDEBUG doesn't get added to the flags automatically...
LIBDIR="/usr/lib${LIBDIRSUFFIX}"
./waf configure \
diff --git a/audio/guitarix/patches/always_inline.patch b/audio/guitarix/patches/always_inline.patch
new file mode 100644
index 0000000000..940649f11c
--- /dev/null
+++ b/audio/guitarix/patches/always_inline.patch
@@ -0,0 +1,22 @@
+diff --git a/trunk/src/ladspa/ladspa_guitarix.cpp b/trunk/src/ladspa/ladspa_guitarix.cpp
+index 1fccffb3..85c3a766 100644
+--- a/trunk/src/ladspa/ladspa_guitarix.cpp
++++ b/trunk/src/ladspa/ladspa_guitarix.cpp
+@@ -16,8 +16,6 @@
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+-#define always_inline inline __attribute__((always_inline))
+-
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ladspa.h>
+@@ -34,6 +32,8 @@
+ #include "gx_faust_plugins.h"
+ #include "../plugins/pluginlib.h"
+
++#define always_inline inline __attribute__((always_inline))
++
+ #include "faust/gx_ampout_ladspa.cc"
+ #include "faust/gx_outputlevel_ladspa.cc"
+
diff --git a/audio/guitarix/patches/gcc-13.patch b/audio/guitarix/patches/gcc-13.patch
new file mode 100644
index 0000000000..90681810b1
--- /dev/null
+++ b/audio/guitarix/patches/gcc-13.patch
@@ -0,0 +1,12 @@
+diff --git a/trunk/src/LV2/DSP/gx_common.h b/trunk/src/LV2/DSP/gx_common.h
+index 71108442..ea230e34 100644
+--- a/trunk/src/LV2/DSP/gx_common.h
++++ b/trunk/src/LV2/DSP/gx_common.h
+@@ -28,6 +28,7 @@
+ #include <iostream>
+ #include <cstring>
+ #include <unistd.h>
++#include <cstdint>
+
+ ///////////////////////// DENORMAL PROTECTION WITH SSE /////////////////
+
diff --git a/audio/wireplumber/README b/audio/wireplumber/README
deleted file mode 100644
index 15a585ead1..0000000000
--- a/audio/wireplumber/README
+++ /dev/null
@@ -1,25 +0,0 @@
-Wireplumber - Session / policy manager implementation for PipeWire
-
-WirePlumber is a modular session / policy manager for PipeWire and a
-GObject-based high-level library that wraps PipeWire’s API,
-providing convenience for writing the daemon’s modules as well as
-external tools for managing PipeWire.
-
-The WirePlumber daemon implements the session & policy management
-service. It follows a modular design, having plugins that implement
-the actual management functionality.
-
-The WirePlumber Library provides API that allows you to extend the
-WirePlumber daemon, to write management or status tools for PipeWire
-(apps that don’t do actual media streaming) and to write custom
-session managers for embedded devices.
-
-
-Replacement of pipewire-media :
-Based on what P. Volkerding did for pulseaudio/pipewire
-There are 2 scripts to enable/disable wireplumber, in /usr/sbin :
-- wireplumber-enable.sh
-- wireplumber-disable.sh
-
-For the changes to take effect :
-logout / login
diff --git a/audio/wireplumber/doinst.sh b/audio/wireplumber/doinst.sh
deleted file mode 100644
index 9018c147db..0000000000
--- a/audio/wireplumber/doinst.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# Toss redundant sample files:
-for file in wireplumber.desktop ; do
- cmp etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample 2> /dev/null && rm etc/xdg/autostart/${file}.sample
-done
-
diff --git a/audio/wireplumber/slack-desc b/audio/wireplumber/slack-desc
deleted file mode 100644
index 18f46d565b..0000000000
--- a/audio/wireplumber/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-wireplumber: wireplumber (Session / policy manager implementation for PipeWire)
-wireplumber:
-wireplumber: WirePlumber is a modular session / policy manager for
-wireplumber: PipeWire and a GObject-based high-level library
-wireplumber: that wraps PipeWire's API, providing convenience for writini
-wireplumber: the daemon's modules as well as external tools for managing PipeWire.
-wireplumber: It follows a modular design, having plugins that implement the actual
-wireplumber: management functionality.
-wireplumber:
-wireplumber: https://gitlab.com/pipewire/wireplumber
-wireplumber:
diff --git a/audio/wireplumber/wireplumber-disable.sh b/audio/wireplumber/wireplumber-disable.sh
deleted file mode 100644
index 9a7c8d14f0..0000000000
--- a/audio/wireplumber/wireplumber-disable.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-# Copyright 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# This script will attempt to disable pipewire as the default audio server,
-# changing it back to pulseaudio.
-
-# Remove or rename the XDG autostart files:
-for file in /etc/xdg/autostart/wireplumber.desktop ; do
- if [ -r ${file}.sample ]; then
- rm -f $file
- elif [ -r $file ]; then
- mv ${file} ${file}.sample
- fi
-done
-
-# Condition: check if pipewire is enabled
-if [ -f /etc/xdg/autostart/pipewire.desktop ] ; then
- # Enable pipewire-media-session.desktop:
- if grep -q "^Hidden=true$" /etc/xdg/autostart/pipewire-media-session.desktop ; then
- grep -v "^Hidden=true$" /etc/xdg/autostart/pipewire-media-session.desktop > /etc/xdg/autostart/pipewire-media-session.desktop.new
- mv /etc/xdg/autostart/pipewire-media-session.desktop.new /etc/xdg/autostart/pipewire-media-session.desktop
- fi
-
- echo "Pipewire Media Session enabled as media session server."
- if ps ax | grep -q wireplumber ; then
- echo
- echo "You may need to stop running daemon/wireplumber processes."
- echo "The clean way is to run these commands as the user that owns the processes:"
- echo "/usr/bin/daemon --pidfiles=~/.run --name=wireplumber --stop"
- echo
- echo "The quick and dirty way if nothing else on the machine is using the daemon"
- echo "utility is to issue this command:"
- echo "killall daemon"
- fi
-fi
-
diff --git a/audio/wireplumber/wireplumber-enable.sh b/audio/wireplumber/wireplumber-enable.sh
deleted file mode 100644
index 1aac9d4ae1..0000000000
--- a/audio/wireplumber/wireplumber-enable.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-# Copyright 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# This script will attempt to enable wireplumber as the default media session server.
-
-# Condition: check if pipewire is enabled
-if [ -f /etc/xdg/autostart/pipewire.desktop ] ; then
-
- # Rename the XDG autostart files:
- for file in /etc/xdg/autostart/wireplumber.desktop.sample ; do
- if [ -r $file ]; then
- mv $file /etc/xdg/autostart/$(basename $file .sample)
- fi
- done
-
- # Disable pipewire-media-session.desktop:
- if ! grep -q "^Hidden=true$" /etc/xdg/autostart/pipewire-media-session.desktop ; then
- echo "Hidden=true" >> /etc/xdg/autostart/pipewire-media-session.desktop
- fi
- echo "Wireplumber enabled as system media session server."
-else
- echo "Pipewire is disabled"
- echo "you must enable pipewire first : /usr/sbin/pipewire-enable.sh"
-fi
diff --git a/audio/wireplumber/wireplumber.SlackBuild b/audio/wireplumber/wireplumber.SlackBuild
deleted file mode 100644
index 4ab13c4501..0000000000
--- a/audio/wireplumber/wireplumber.SlackBuild
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/bin/bash
-
-# Copyright 2022, marav, Paris, FR
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=wireplumber
-VERSION=${VERSION:-0.4.7}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z || exit 1
-cd $PRGNAM-$VERSION || exit 1
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \+
-
-# Set options to build with or without documentation / introspection
-# These options are disabled by default
-WITHDOC=${WITHDOC:-no}
-WITHINTROSPEC=${WITHINTROSPEC:-no}
-
-if [ $WITHDOC == "no" ]; then
- DOC_OPTION="-Ddoc=disabled"
- else
- DOC_OPTION="-Ddoc=auto"
-fi
-
-if [ $WITHINTROSPEC == "no" ]; then
- INTROSPEC_OPTION="-Dintrospection=disabled"
- else
- INTROSPEC_OPTION="-Dintrospection=auto"
-fi
-
-# Configure, build, and install:
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-mkdir meson-build
-cd meson-build
-meson setup \
- --prefix=/usr \
- --libdir=lib${LIBDIRSUFFIX} \
- --libexecdir=/usr/libexec \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --includedir=/usr/include \
- --datadir=/usr/share \
- --mandir=/usr/man \
- -Dsystem-lua=true \
- -Dsystemd=disabled \
- -Dsystemd-user-service=false \
- $DOC_OPTION \
- $INTROSPEC_OPTION \
- ..
- "${NINJA:=ninja}"
- DESTDIR=$PKG $NINJA install
-cd ..
-
-# Add sample configuation files:
-mkdir -p $PKG/etc/xdg/autostart
-cp -a $CWD/wireplumber.desktop.sample $PKG/etc/xdg/autostart
-chown root:root $PKG/etc/xdg/autostart/*
-chmod 644 $PKG/etc/xdg/autostart/*
-
-mkdir -p $PKG/usr/sbin
-cp -a $CWD/wireplumber-disable.sh $PKG/usr/sbin
-cp -a $CWD/wireplumber-enable.sh $PKG/usr/sbin
-chown root:root $PKG/usr/sbin/wireplumber-disable.sh $PKG/usr/sbin/wireplumber-enable.sh
-chmod 755 $PKG/usr/sbin/wireplumber-disable.sh $PKG/usr/sbin/wireplumber-enable.sh
-
-# Strip binaries:
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE NEWS.rst README.rst \
- $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
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
-
diff --git a/audio/wireplumber/wireplumber.desktop.sample b/audio/wireplumber/wireplumber.desktop.sample
deleted file mode 100644
index d3ebdea2d3..0000000000
--- a/audio/wireplumber/wireplumber.desktop.sample
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=Wireplumber
-Comment=Start the Wireplumber
-Exec=/usr/bin/daemon -frB --pidfiles=~/.run --name=wireplumber /usr/bin/wireplumber
-Terminal=false
-Type=Application
-X-GNOME-Autostart-Phase=Initialization
-X-KDE-autostart-after=pipewire
-X-KDE-autostart-phase=1
diff --git a/audio/wireplumber/wireplumber.info b/audio/wireplumber/wireplumber.info
deleted file mode 100644
index adb52a1b33..0000000000
--- a/audio/wireplumber/wireplumber.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wireplumber"
-VERSION="0.4.7"
-HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber"
-DOWNLOAD="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/0.4.7/wireplumber-0.4.7.tar.gz"
-MD5SUM="9e63d8944f91b6a4646a736b1f1db251"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="lua53"
-MAINTAINER="marav"
-EMAIL="marav8@free.fr"