diff options
Diffstat (limited to 'audio/calf')
-rw-r--r-- | audio/calf/README | 21 | ||||
-rw-r--r-- | audio/calf/calf.SlackBuild | 44 | ||||
-rw-r--r-- | audio/calf/calf.info | 12 | ||||
-rw-r--r-- | audio/calf/doinst.sh | 1 |
4 files changed, 44 insertions, 34 deletions
diff --git a/audio/calf/README b/audio/calf/README index 80ad9780bf..387ffbff30 100644 --- a/audio/calf/README +++ b/audio/calf/README @@ -1,13 +1,16 @@ -Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments -under Linux operating systems. The suite contains lots of effects (delay, -modulation, signal processing, filters, equalizers, dynamics, distortion -and mastering effects), instruments (SF2 player, organ simulator and -a monophonic synthesizer) and tools (analyzer, mono/stereo tools, -crossovers). Calf Studio Gear aims for a professional audience. +Calf Studio Gear is an audio plug-in pack for LV2 and JACK +environments under Linux operating systems. The suite contains +lots of effects (delay, modulation, signal processing, filters, +equalizers, dynamics, distortion and mastering effects), instruments +(SF2 player, organ simulator and a monophonic synthesizer) and tools +(analyzer, mono/stereo tools, crossovers). Calf Studio Gear aims for a +professional audience. -By default, the package is built with SSE support if the host CPU supports -SSE. If building for another host, you can set SSE=yes or SSE=no in the -environment to override the autodetection. +By default, the package is built with SSE support if the host CPU +supports SSE. If building for another host, you can set SSE=yes or +SSE=no in the environment to override the autodetection. + +Optional dependency: lash. This will be autodetected at build time. This package uses POSIX filesystem capabilities to execute with elevated privileges (required for realtime audio processing). This diff --git a/audio/calf/calf.SlackBuild b/audio/calf/calf.SlackBuild index 221c7672b0..7d30e66878 100644 --- a/audio/calf/calf.SlackBuild +++ b/audio/calf/calf.SlackBuild @@ -1,8 +1,12 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for calf -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) + +# 20211204 bkw: BUILD=3, move html docs to subdir. +# 20200117 bkw: demote lash from required to optional dependency. +# 20191208 bkw: update for v0.90.3. # 20180709 bkw: # - Update to latest release (less than a day old). @@ -32,10 +36,13 @@ # tarballs, so this is a git checkout from 20140308. # - Added capability stuff. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=calf -VERSION=${VERSION:-0.90.1} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.90.3} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -45,7 +52,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -73,11 +84,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z 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 \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ autoreconf -if @@ -105,6 +113,8 @@ echo "=== SSEOPT: $SSEOPT" WITHSSE="without" [ "$SSEOPT" = "--enable-sse" ] && WITHSSE="with" +# 20211204 bkw: --docdir and --htmldir accepted and ignored. +# htmldir on the make command line is also ignored (html docs go to docdir). CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -115,22 +125,20 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --htmldir=/usr/doc/$PRGNAM-$VERSION \ --enable-shared \ --disable-static \ --with-lv2-dir=/usr/lib${LIBDIRSUFFIX}/lv2 \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION +make install \ + DESTDIR=$PKG \ + docdir=/usr/doc/$PRGNAM-$VERSION/html \ # install-strip is supported, but doesn't work: -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 +strip $PKG/usr/bin/* $PKG/usr/lib*/{lv2/calf.lv2/calflv2gui.so,calf/calf.so} -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 +gzip $PKG/usr/man/man?/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING* ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION @@ -155,4 +163,4 @@ if [ "${SETCAP:-yes}" = "yes" ]; then fi cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/audio/calf/calf.info b/audio/calf/calf.info index cab90c6682..f750136a48 100644 --- a/audio/calf/calf.info +++ b/audio/calf/calf.info @@ -1,10 +1,10 @@ PRGNAM="calf" -VERSION="0.90.1" -HOMEPAGE="http://calf-studio-gear.org/" -DOWNLOAD="http://calf-studio-gear.org/files/calf-0.90.1.tar.gz" -MD5SUM="e89ed47ffc8f1b393511020985f2f38d" +VERSION="0.90.3" +HOMEPAGE="https://calf-studio-gear.org/" +DOWNLOAD="https://calf-studio-gear.org/files/calf-0.90.3.tar.gz" +MD5SUM="c4f91c141a1188753262ce434b11c750" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jack-audio-connection-kit lash slv2 fluidsynth" +REQUIRES="jack slv2" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/audio/calf/doinst.sh b/audio/calf/doinst.sh index 4a25de5e6f..65c7e2eeb9 100644 --- a/audio/calf/doinst.sh +++ b/audio/calf/doinst.sh @@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi - |