mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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>
This commit is contained in:
parent
525da981b9
commit
0b8b092929
2 changed files with 28 additions and 23 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue