Skip to content

Commit

Permalink
add new pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
noisecode3 committed Oct 24, 2024
1 parent 6c8f25a commit 8e3a840
Show file tree
Hide file tree
Showing 20 changed files with 1,090 additions and 32 deletions.
67 changes: 35 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,54 +15,57 @@ set sbopkg to SBo-git (current)

## SlackBuilds
### Git Download
* SoundScapeRenderer
* ams-lv2
* bangr
* boops
* carla
* jack-stdio
* luppp
* surge-xt
* yabridge
* adlplug
* aida-x
* airwindows
* ambix
* ams-lv2
* artyfx
* asio
* avldrums-lv2-git
* bangr
* bambootracker
* beatslash-lv2
* bespokesynth
* bchoppr
* bjumblr
* boops
* bschaffl
* bsequencer
* bshapr
* bslizr
* carla
* cliconnect
* fabla
* fasttracker2
* geonkick
* jack-stdio
* kernel
* libwebsocketpp
* lsp-plugins
* luppp
* lv2lint
* swh-plugins
* aida-x
* asio
* beatslash-lv2
* bsequencer
* fabla
* midimsg-lv2
* sfizz
* airwindows
* avldrums-lv2-git
* bespokesynth
* bshapr
* libwebsocketpp
* ninjas2
* reaper-sws
* reapack
* sherlock-lv2
* wine-tkg
* ambix
* bambootracker
* bjumblr
* bslizr
* geonkick
* lsp-plugins
* sfizz
* sorcer
* SoundScapeRenderer
* surge-xt
* swh-plugins
* xmonk-lv2
* yabridge
* wine-tkg
### Normal Download
* perl-xml-parser
* reaper
* vst2sdk
### New
* reaper
* reaper-sws
* reapack
* fasttracker2
* csound
* libffado
* guitarix
### Will Probably Be Dropped
* radium (broken)
* kernel-headers (I have an idea of an overlay filesystem headers swap script)
Expand Down
14 changes: 14 additions & 0 deletions builds/csound/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Csound is a sound and music computing system that has its roots in the earliest
of computer software, the MUSIC-N series by Max Mathews. Csound was originally
released in 1986 by Barry Vercoe and it has been a part of the computer music
world since. Today’s Csound works on desktop, mobile, embedded, server, and web
platforms and powers music software and music-making for musicians around the world.

I tried this example:
https://raw.githubusercontent.com/gogins/csound-examples/refs/heads/master/csd/oblivion.csd
csound --output=test.wav oblivion.csd

It creates some synth symphony
A lot of old csound example seem to not work anymore

Build options: VERSION=git ./csound.SlackBuild # for latest git
118 changes: 118 additions & 0 deletions builds/csound/csound.SlackBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
#!/bin/bash

# Slackware build script for csound

# Copyright 2024 Martin Bångens
# 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=csound
VERSION=${VERSION:-6.18.1}
BUILD=${BUILD:-1}
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 [ -n "${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
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="ON"
else
LIBDIRSUFFIX=""
fi

set -e

rm -rf "$PKG"
mkdir -p "$TMP" "$PKG" "$OUTPUT"
cd "$TMP"
rm -rf "$PRGNAM"

if [ "$VERSION" != "git" ]; then
git clone --depth 1 -b "$VERSION" -c advice.detachedHead=false \
https://github.com/csound/csound
else
git clone https://github.com/csound/csound
fi

cd "$PRGNAM"
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
! -type l -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
! -type l -exec chmod 644 {} \;

git submodule update --init --recursive

mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_LIB64="$LIBDIRSUFFIX" \
-W no-dev \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR="$PKG"
cd ..
#-D BUILD_SCANSYN_OPCODES=OFF
#-D BUILD_STATIC_LIBRARY=ON

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 {} \;
#while IFS= read -r i; do
# ln -s "$(readlink "$i").gz" "$i.gz"
# rm "$i"
#done < <(find "$PKG/usr/man" -type l)

mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"
cp -a \
AUTHORS \
BUILD.md \
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"
cd "$PKG"
/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
10 changes: 10 additions & 0 deletions builds/csound/csound.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PRGNAM="csound"
VERSION="6.18.1"
HOMEPAGE="https://csound.com/index.html"
DOWNLOAD="https://github.com/csound/csound"
MD5SUM=""
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Martin Bångens"
EMAIL="noisecode3@gmail.com"
19 changes: 19 additions & 0 deletions builds/csound/slack-desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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------------------------------------------------------|
csound: csound (A sound and music computing system)
csound:
csound: Csound was originally written at MIT by Barry Vercoe in 1985, based
csound: on his earlier system called Music 11, which in its turn followed the
csound: MUSIC-N model initiated by Max Mathews at the Bell Labs. Its
csound: development continued throughout the 1990s and 2000s, led by John
csound: Fitch at the University of Bath.
csound:
csound:
csound:
csound:
95 changes: 95 additions & 0 deletions builds/guitarix/ChangeLog.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# This stuff used to be in the script, but it was getting annoyingly
# long. Probably only of interest to me, and maybe future archaeologists.

# 20180619 bkw:
# - Updated for 0.37.1.
# - Force building with bundled zita-convolver and resampler libs.
# Previously, system libs would be linked if they were installed,
# otherwise bundled libs were used... caused a problem if the
# system zita-convolver was updated to an incompatible version.
# - Add config options to re-enable ladspa and lv2 mod-gui stuff that
# used to be enabled by default in 0.36.1.
# - Add patches from upstream git, to fix segfaults when online
# button gets clicked. Also if dbus isn't running, guitarix will now
# actually say so, in its error message.
# - Move old changelog entries to ChangeLog.old.

# 20171223 bkw: Updated for 0.36.1.
# 20170825 bkw: Updated for 0.35.6. Install the bundled roboto font.
# 20170725 bkw: Updated for 0.35.5

# 20170710 bkw:
# - Updated for 0.35.4
# - Remove README stuff about webkitgtk, since upstream dropped it.
# - Add README.online with troubleshooting info. I had trouble
# getting the new Online Presets stuff to work, so hopefully this
# might help the next guy.

# 20170404 bkw:
# - Updated for 0.35.3
# - Use + rather than ; in find/chmod. Noticeably faster.

# 20170306 bkw:
# - Flip changelog comments right-side up
# - Stop writing outside of $TMP.

# 20161016 bkw: Updated for 0.35.2

# 20160806 bkw:
# - Updated for 0.35.1
# - removed WEBKIT=no option from README (it was removed from the
# script in March, should have been removed from README then).
# - removed webkitgtk from REQUIRES, as it's now optional (and
# autodetected, no way to force-disable it).
# - removed patches, since they're already included in the new release.
# - remove unimplemented SSE=no option. Note that SSE support is still
# autodetected, so if someone's trying this on e.g. ARCH=arm, it should
# automatically build without SSE (I have no idea if the build will
# actually complete, in that case).
# - remove .desktop sed stuff, upstream fixed it.
# - update man page.
# - note: zita-convolver and zita-resampler are not requirements. they
# will be linked if installed, otherwise guitarix's bundled copies will
# be used. I only mention this here so I won't forget again...

# 20160329 dbs:
# - Updated for Slackware-14.2. Forced -msse in SLKCFLAGS.
# This just won't build without SSE on 32 bit gcc-5.3.0 :(
# xmmintrin.h:857:1: error: inlining failed in call to always_inline
# ‘void _MM_SET_EXCEPTION_STATE(unsigned int)’: target specific option mismatch
# Patch 0003-fix-build-even-for-gcc4.8.patch doesn't fix it, and there
# are no further fixes upstream at this time.

# 20151108 bkw:
# - Updated for 0.34.0
# - Added --disable-cxx11 to ./waf flags, as bluetooth.h uses the gcc
# typeof() extension. Not sure if newer versions of bluez would have
# this issue (but Slackware 14.1's bluez is pretty old by now).
# - Added patch from upstream git to allow building without webkitgtk.
# The author added support for downloading presets, but didn't make
# it optional in 0.34.0. Also added a couple of bugfix patches.
# - Support building 0.33.0 with VERSION=0.33.0 in the env.
# - Add SSE=no option.
# - Add WEBKIT=no option.
# - Remove LV2=no option from README (but not from script).

# 20150514 bkw:
# - Updated for 0.32.3
# - Fix some issues with the shared libs: they were being installed
# to /usr/lib/ on 64-bit, and they were missing the +x bits.
# - Made LV2 option default to yes, since upstream is requiring lilv
# even if --no-lv2 is used. Also, the lv2 plugins were being
# installed to /usr/lib/ on 64-bit. Grr.
# - Upstream wants avahi by default. For now, hardcoded --no-avahi.

# 20130430 bkw:
# - Updated for 0.27.1
# - Replaced slack-desc with updated text from guitarix site
# - Added LV2 option

# 20121216 bkw:
# - Upgraded to guitarix2
# - Added man page
# - Added realtime capabilities
# - Make .desktop file validate
# - Add guitarix's README to /usr/doc
23 changes: 23 additions & 0 deletions builds/guitarix/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
guitarix (virtual guitar amplifier for jack)

guitarix offers the range of sounds you would expect from a
full-featured universal guitar-amp. You can get crisp clean-sounds,
nice overdrive, fat distortion and a diversity of crazy sounds never
heard before. Guitarix can be used as a standalone application, as
LADSPA plugins, or as LV2 plugins.

For 32-bit x86, a CPU with SSE instructions is required. For other
architectures, SSE will be used if available.

meterbridge is an optional runtime dependency.

Starting with version 0.35.4, guitarix's 'Online presets' feature no
longer requires webkitgtk. See README.online for more information.

This package uses POSIX filesystem capabilities to execute with
elevated privileges (required for realtime audio processing). This
may be considered a security/stability risk. Please read
http://www.slackbuilds.org/caps/ for more information. To disable
capabilities, pass SETCAP=no to the script.

VERSION=V0.46.0 ./guitarix.SlackBuild
Loading

0 comments on commit 8e3a840

Please sign in to comment.