aboutsummaryrefslogtreecommitdiff
path: root/audio/distrho-mini-series
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-28 16:54:26 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:41:59 +0700
commit0b8b09292977c121aef850c6790d9ba043bd89e5 (patch)
tree11d93c399542d14de5bbc8217b6d6ac7a75fdc08 /audio/distrho-mini-series
parent525da981b91367773a267dcd0ec42d124967e6a5 (diff)
audio/distrho-mini-series: Fix .so perms, support ARCH=i686.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/distrho-mini-series')
-rw-r--r--audio/distrho-mini-series/distrho-mini-series.SlackBuild19
-rw-r--r--audio/distrho-mini-series/distrho-mini-series.info32
2 files changed, 28 insertions, 23 deletions
diff --git a/audio/distrho-mini-series/distrho-mini-series.SlackBuild b/audio/distrho-mini-series/distrho-mini-series.SlackBuild
index fc812aaf60a5e..9364c259d4b7f 100644
--- a/audio/distrho-mini-series/distrho-mini-series.SlackBuild
+++ b/audio/distrho-mini-series/distrho-mini-series.SlackBuild
@@ -8,11 +8,16 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+# 20230628 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install shared libs with +x permission.
+# - support ARCH=i686 in the environment.
+# - indent .info file.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=distrho-mini-series
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -24,9 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -36,7 +38,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
LIBDIRMARK="32"
elif [ "$ARCH" = "x86_64" ]; then
@@ -61,9 +63,9 @@ 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 \
+ -o -perm 511 \) -exec chmod 755 {} + \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
# create destination directories
mkdir -p "$PKG/usr/lib${LIBDIRSUFFIX}/lv2"
@@ -89,6 +91,9 @@ for i in ./*-linux"${LIBDIRMARK}"bit; do
[[ "$VST" ]] || cp -rf $i/*-vst.so "$PKG/usr/lib${LIBDIRSUFFIX}/vst"
done
+# 20230628 bkw: shared libs are supposed to be +x
+find $PKG -name '*.so' -exec chmod 755 {} +
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/audio/distrho-mini-series/distrho-mini-series.info b/audio/distrho-mini-series/distrho-mini-series.info
index 6c041b48b78be..81738237744fd 100644
--- a/audio/distrho-mini-series/distrho-mini-series.info
+++ b/audio/distrho-mini-series/distrho-mini-series.info
@@ -2,25 +2,25 @@ PRGNAM="distrho-mini-series"
VERSION="1.1"
HOMEPAGE="http://distrho.sourceforge.net/plugins"
DOWNLOAD="https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-mini-series-linux32.tar.xz \
-https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-nekobi-linux32.tar.xz \
-https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-kars-linux32.tar.xz \
-https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-glbars-linux32.tar.xz \
-http://sourceforge.net/projects/distrho/files/2014-08-26/distrho-prom-linux32bit.tar.xz"
+ https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-nekobi-linux32.tar.xz \
+ https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-kars-linux32.tar.xz \
+ https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-glbars-linux32.tar.xz \
+ http://sourceforge.net/projects/distrho/files/2014-08-26/distrho-prom-linux32bit.tar.xz"
MD5SUM="351d5b6a017a45c9a0a6433ee9dcb409 \
-7d418e09f20f088fd9c0df8744f84c04 \
-8a4685fe52d084d1fd52688417f936b0 \
-dae233362b7d2281d22c2b9c3589354e \
-e9a97701f47a34cbfa13f3432ea32a11"
+ 7d418e09f20f088fd9c0df8744f84c04 \
+ 8a4685fe52d084d1fd52688417f936b0 \
+ dae233362b7d2281d22c2b9c3589354e \
+ e9a97701f47a34cbfa13f3432ea32a11"
DOWNLOAD_x86_64="https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-mini-series-linux64.tar.xz \
-https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-nekobi-linux64.tar.xz \
-https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-kars-linux64.tar.xz \
-https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-glbars-linux64.tar.xz \
-http://sourceforge.net/projects/distrho/files/2014-08-26/distrho-prom-linux64bit.tar.xz"
+ https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-nekobi-linux64.tar.xz \
+ https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-kars-linux64.tar.xz \
+ https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-glbars-linux64.tar.xz \
+ http://sourceforge.net/projects/distrho/files/2014-08-26/distrho-prom-linux64bit.tar.xz"
MD5SUM_x86_64="f731f5ee0d38e51395f2b8717bff17d2 \
-94e2402f38b4ef39f8679c09d6e8ccd9 \
-807a46cc1bba970626000ca17c30e4a3 \
-4863993ec5bbb5d3cac160f6596f6d97 \
-eae42b12051d6b4e059b46aefc7377a3"
+ 94e2402f38b4ef39f8679c09d6e8ccd9 \
+ 807a46cc1bba970626000ca17c30e4a3 \
+ 4863993ec5bbb5d3cac160f6596f6d97 \
+ eae42b12051d6b4e059b46aefc7377a3"
REQUIRES="dssi lv2"
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"