diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2019-12-21 07:31:57 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-21 07:31:57 +0700 |
commit | 36922e46a9f84ae54fa7c4495c819fdb2321513d (patch) | |
tree | 75034fcd2e654843ee55cef375cd95d46ee5329d /audio | |
parent | 84a80a0ab92050b6219db07fcd429335bd74e12b (diff) |
audio/setBfree: Updated for version 0.8.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/setBfree/setBfree.SlackBuild | 17 | ||||
-rw-r--r-- | audio/setBfree/setBfree.info | 6 |
2 files changed, 11 insertions, 12 deletions
diff --git a/audio/setBfree/setBfree.SlackBuild b/audio/setBfree/setBfree.SlackBuild index 7ef2d960c92d..6e2ea8c4baff 100644 --- a/audio/setBfree/setBfree.SlackBuild +++ b/audio/setBfree/setBfree.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=setBfree -VERSION=${VERSION:-0.8.10} +VERSION=${VERSION:-0.8.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -103,15 +103,14 @@ 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 - # set realtime capabilities - echo "/sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$PRGNAM" >> $PKG/install/doinst.sh - echo "[ -x usr/bin/${PRGNAM}UI ] && \ - /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/${PRGNAM}UI" >> $PKG/install/doinst.sh - # Only allow execution by audio group - chown root:audio $PKG/usr/bin/* - chmod 0750 $PKG/usr/bin/* + for bin in $(ls $PKG/usr/bin/); do + if [ $(readelf -d $PKG/usr/bin/$bin | grep libjack.so &> /dev/null) ]; then + echo "/sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$bin" >> $PKG/install/doinst.sh + chown root:audio $PKG/usr/bin/$bin + chmod 0750 $PKG/usr/bin/$bin + fi + done fi cd $PKG diff --git a/audio/setBfree/setBfree.info b/audio/setBfree/setBfree.info index 33f2a14e6395..243294b19b12 100644 --- a/audio/setBfree/setBfree.info +++ b/audio/setBfree/setBfree.info @@ -1,8 +1,8 @@ PRGNAM="setBfree" -VERSION="0.8.10" +VERSION="0.8.11" HOMEPAGE="https://x42-plugins.com/x42/setBfree" -DOWNLOAD="https://github.com/pantherb/setBfree/archive/v0.8.10/setBfree-0.8.10.tar.gz" -MD5SUM="05ca24e68dd70f498a52f609ec3eb050" +DOWNLOAD="https://github.com/pantherb/setBfree/archive/v0.8.11/setBfree-0.8.11.tar.gz" +MD5SUM="0bc5c6e17c6a352c0f0a8a26fd1b7f21" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jack-audio-connection-kit" |