mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
audio/setBfree: Updated for version 0.8.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
84a80a0ab9
commit
36922e46a9
2 changed files with 11 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue