diff options
author | B. Watson <yalhcru@gmail.com> | 2015-05-12 21:12:38 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-17 23:45:53 +0700 |
commit | 7d62c60e0f0ad2252cb774af03494986380fc535 (patch) | |
tree | 81a921902787e53d1a284cf5724a602c53656c1b | |
parent | 3fd1b52cbaabf7f20996d8e78c4d39d3d439c102 (diff) | |
download | slackbuilds-7d62c60e0f0ad2252cb774af03494986380fc535.tar.gz |
audio/ecasound: Updated for version 2.9.1.
-rw-r--r-- | audio/ecasound/README | 10 | ||||
-rw-r--r-- | audio/ecasound/ecasound.SlackBuild | 10 | ||||
-rw-r--r-- | audio/ecasound/ecasound.info | 6 | ||||
-rw-r--r-- | audio/ecasound/setcap.sh | 1 |
4 files changed, 23 insertions, 4 deletions
diff --git a/audio/ecasound/README b/audio/ecasound/README index eb2cbe1fb7..5cace111e1 100644 --- a/audio/ecasound/README +++ b/audio/ecasound/README @@ -7,9 +7,19 @@ can be combined in various ways, and their parameters can be controlled by operator objects like oscillators and MIDI-CCs. A versatile console mode user-interface is included in the package. +Optional compile-time dependency: + +- lilv - used for LV2 plugin support. + Optional runtime dependencies: - lame - required for mp3 output. - TiMidity++ - required for MIDI .mid file input. - libmikmod - required for tracker file support (such as .mod files). - set_rlimits - used to run ecasound with realtime priority (but see the jack-audio-connection-kit README for an alternative) + +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/ecasound/ecasound.SlackBuild b/audio/ecasound/ecasound.SlackBuild index 793b1c95e7..e055db8b98 100644 --- a/audio/ecasound/ecasound.SlackBuild +++ b/audio/ecasound/ecasound.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=ecasound -VERSION=${VERSION:-2.9.0} +VERSION=${VERSION:-2.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -108,5 +108,13 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +# 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/ecasound/ecasound.info b/audio/ecasound/ecasound.info index 3dca855f96..91845801f5 100644 --- a/audio/ecasound/ecasound.info +++ b/audio/ecasound/ecasound.info @@ -1,8 +1,8 @@ PRGNAM="ecasound" -VERSION="2.9.0" +VERSION="2.9.1" HOMEPAGE="http://eca.cx/ecasound/" -DOWNLOAD="http://ecasound.seul.org/download/ecasound-2.9.0.tar.gz" -MD5SUM="05e7d4664cdf4c7a138c098e9506a551" +DOWNLOAD="http://ecasound.seul.org/download/ecasound-2.9.1.tar.gz" +MD5SUM="13c7be1e4eddc0bbf3792dc17777e465" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jack-audio-connection-kit liblo" diff --git a/audio/ecasound/setcap.sh b/audio/ecasound/setcap.sh new file mode 100644 index 0000000000..0774508220 --- /dev/null +++ b/audio/ecasound/setcap.sh @@ -0,0 +1 @@ +[ -x /sbin/setcap ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/ecasound |