summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/zita-dpl1/README10
-rw-r--r--audio/zita-dpl1/doinst.sh4
-rw-r--r--audio/zita-dpl1/setcap.sh1
-rw-r--r--audio/zita-dpl1/slack-desc19
-rw-r--r--audio/zita-dpl1/zita-dpl1.1169
-rw-r--r--audio/zita-dpl1/zita-dpl1.SlackBuild93
-rw-r--r--audio/zita-dpl1/zita-dpl1.desktop8
-rw-r--r--audio/zita-dpl1/zita-dpl1.info10
-rw-r--r--audio/zita-dpl1/zita-dpl1.pod47
9 files changed, 361 insertions, 0 deletions
diff --git a/audio/zita-dpl1/README b/audio/zita-dpl1/README
new file mode 100644
index 0000000000..4c18126686
--- /dev/null
+++ b/audio/zita-dpl1/README
@@ -0,0 +1,10 @@
+zita-dpl1 (limiter for jack-audio-connection-kit)
+
+Zita-dpl1 is a look-ahead digital peak level limiter using some special
+algorithms to allow fast response without excessive LF distortion.
+
+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.
diff --git a/audio/zita-dpl1/doinst.sh b/audio/zita-dpl1/doinst.sh
new file mode 100644
index 0000000000..4e8ba7071d
--- /dev/null
+++ b/audio/zita-dpl1/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/audio/zita-dpl1/setcap.sh b/audio/zita-dpl1/setcap.sh
new file mode 100644
index 0000000000..b7dce501c2
--- /dev/null
+++ b/audio/zita-dpl1/setcap.sh
@@ -0,0 +1 @@
+[ -x /sbin/setcap ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/zita-dpl1
diff --git a/audio/zita-dpl1/slack-desc b/audio/zita-dpl1/slack-desc
new file mode 100644
index 0000000000..0be55135ab
--- /dev/null
+++ b/audio/zita-dpl1/slack-desc
@@ -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------------------------------------------------------|
+zita-dpl1: zita-dpl1 (limiter for jack-audio-connection-kit)
+zita-dpl1:
+zita-dpl1: Zita-dpl1 is a look-ahead digital peak level limiter using some
+zita-dpl1: special algorithms to allow fast response without excessive LF
+zita-dpl1: distortion.
+zita-dpl1:
+zita-dpl1:
+zita-dpl1:
+zita-dpl1:
+zita-dpl1:
+zita-dpl1:
diff --git a/audio/zita-dpl1/zita-dpl1.1 b/audio/zita-dpl1/zita-dpl1.1
new file mode 100644
index 0000000000..1a24df15d3
--- /dev/null
+++ b/audio/zita-dpl1/zita-dpl1.1
@@ -0,0 +1,169 @@
+.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings. \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote. \*(C+ will
+.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+. ds -- \(*W-
+. ds PI pi
+. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+. ds L" ""
+. ds R" ""
+. ds C` ""
+. ds C' ""
+'br\}
+.el\{\
+. ds -- \|\(em\|
+. ds PI \(*p
+. ds L" ``
+. ds R" ''
+. ds C`
+. ds C'
+'br\}
+.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD. Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.\"
+.\" Avoid warning from groff about undefined register 'F'.
+.de IX
+..
+.nr rF 0
+.if \n(.g .if rF .nr rF 1
+.if (\n(rF:(\n(.g==0)) \{
+. if \nF \{
+. de IX
+. tm Index:\\$1\t\\n%\t"\\$2"
+..
+. if !\nF==2 \{
+. nr % 0
+. nr F 2
+. \}
+. \}
+.\}
+.rr rF
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear. Run. Save yourself. No user-serviceable parts.
+. \" fudge factors for nroff and troff
+.if n \{\
+. ds #H 0
+. ds #V .8m
+. ds #F .3m
+. ds #[ \f1
+. ds #] \fP
+.\}
+.if t \{\
+. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+. ds #V .6m
+. ds #F 0
+. ds #[ \&
+. ds #] \&
+.\}
+. \" simple accents for nroff and troff
+.if n \{\
+. ds ' \&
+. ds ` \&
+. ds ^ \&
+. ds , \&
+. ds ~ ~
+. ds /
+.\}
+.if t \{\
+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+. \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+. \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+. \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+. ds : e
+. ds 8 ss
+. ds o a
+. ds d- d\h'-1'\(ga
+. ds D- D\h'-1'\(hy
+. ds th \o'bp'
+. ds Th \o'LP'
+. ds ae ae
+. ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "ZITA-DPL1 1"
+.TH ZITA-DPL1 1 "2014-01-15" "0.0.2" "SlackBuilds.org"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH "NAME"
+zita\-dpl1 \- digital peak limiter for JACK
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+zita\-dpl1 \fB[options]\fR
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+Zita\-dpl1 is a look-ahead digital peak level limiter using some special
+algorithms to allow fast response without excessive \s-1LF\s0 distortion.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\-h" 4
+.IX Item "-h"
+Display this text
+.IP "\-k \fIchannels\fR" 4
+.IX Item "-k channels"
+Number of channels [1]
+.IP "\-name \fIname\fR" 4
+.IX Item "-name name"
+\&\s-1JACK\s0 client name [zita\-dpl1]
+.IP "\-s \fIserver\fR" 4
+.IX Item "-s server"
+\&\s-1JACK\s0 server name [default]
+.IP "\-g \fIgeometry\fR" 4
+.IX Item "-g geometry"
+Set initial window size and position
+.SH "AUTHOR"
+.IX Header "AUTHOR"
+\&\fBzita\-dpl1\fR is (C) 2006\-2011 Fons Adriaensen <fons@linuxaudio.org>
diff --git a/audio/zita-dpl1/zita-dpl1.SlackBuild b/audio/zita-dpl1/zita-dpl1.SlackBuild
new file mode 100644
index 0000000000..22548355ba
--- /dev/null
+++ b/audio/zita-dpl1/zita-dpl1.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/sh
+
+# Slackware build script for zita-dpl1
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=zita-dpl1
+VERSION=${VERSION:-0.0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -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 $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+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 {} \;
+
+if [ "${FORCE_SLACK_CFLAGS:-no}" = "yes" ]; then
+ sed -i \
+ -e '/march=native/d' \
+ -e "s,-O2 -ffast-math,$SLKCFLAGS,"
+fi
+
+make -C source PREFIX=/usr
+make -C source install PREFIX=/usr DESTDIR=$PKG
+strip $PKG/usr/bin/$PRGNAM
+
+mkdir -p $PKG/usr/share/pixmaps
+cat share/redzita.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING LICENSE README doc/* \
+ $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
+
+# Only add capability stuff if not disabled:
+if [ "${SETCAP:-yes}" = "yes" ]; then
+ cat $CWD/setcap.sh >> $PKG/install/doinst.sh
+ # Only allow execution by audio group
+ chown root:audio $PKG/usr/bin/$PRGNAM
+ chmod 0750 $PKG/usr/bin/$PRGNAM
+fi
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/zita-dpl1/zita-dpl1.desktop b/audio/zita-dpl1/zita-dpl1.desktop
new file mode 100644
index 0000000000..fff842bcf7
--- /dev/null
+++ b/audio/zita-dpl1/zita-dpl1.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Zita DPL1
+Comment=Digital Peak Limiter
+Exec=zita-dpl1
+Icon=zita-dpl1
+Terminal=false
+Type=Application
+Categories=AudioVideo;Audio;
diff --git a/audio/zita-dpl1/zita-dpl1.info b/audio/zita-dpl1/zita-dpl1.info
new file mode 100644
index 0000000000..03b541c9d0
--- /dev/null
+++ b/audio/zita-dpl1/zita-dpl1.info
@@ -0,0 +1,10 @@
+PRGNAM="zita-dpl1"
+VERSION="0.0.2"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/zita-dpl1-doc/quickguide.html"
+DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-dpl1-0.0.2.tar.bz2"
+MD5SUM="6f76ef405396940409f5da89c37a775a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jack-audio-connection-kit clxclient"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/audio/zita-dpl1/zita-dpl1.pod b/audio/zita-dpl1/zita-dpl1.pod
new file mode 100644
index 0000000000..4a1dd7964a
--- /dev/null
+++ b/audio/zita-dpl1/zita-dpl1.pod
@@ -0,0 +1,47 @@
+# pod source for zita-dpl1 man page
+# pod2man -s1 -r0.0.2 --stderr -nZITA-DPL1 -cSlackBuilds.org < zita-dpl1.pod > zita-dpl1.1
+
+=pod
+
+=head1 NAME
+
+zita-dpl1 - digital peak limiter for JACK
+
+=head1 SYNOPSIS
+
+zita-dpl1 B<[options]>
+
+=head1 DESCRIPTION
+
+Zita-dpl1 is a look-ahead digital peak level limiter using some special
+algorithms to allow fast response without excessive LF distortion.
+
+=head1 OPTIONS
+
+=over
+
+=item -h
+
+Display this text
+
+=item -k I<channels>
+
+Number of channels [1]
+
+=item -name I<name>
+
+JACK client name [zita-dpl1]
+
+=item -s I<server>
+
+JACK server name [default]
+
+=item -g I<geometry>
+
+Set initial window size and position
+
+=back
+
+=head1 AUTHOR
+
+B<zita-dpl1> is (C) 2006-2011 Fons Adriaensen <fons@linuxaudio.org>