aboutsummaryrefslogtreecommitdiff
path: root/audio/portmidi
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-21 19:44:24 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-21 14:31:07 +0700
commitea1c6894e221ed242ecd9308f0c5cf9779961463 (patch)
tree8fa0f6df78f7f5867674fc526c6c328246d50267 /audio/portmidi
parent4ebdf87db97577f2f3c097bece5166763bfaf7dc (diff)
audio/portmidi: Fix dependents looking for libporttime.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/portmidi')
-rw-r--r--audio/portmidi/portmidi.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild
index fb64a9ce37b7..b499c98c8edd 100644
--- a/audio/portmidi/portmidi.SlackBuild
+++ b/audio/portmidi/portmidi.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=portmidi
VERSION=${VERSION:-2.0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -106,6 +106,14 @@ cd ..
install -m 0644 -D pm_common/pmutil.h $PKG/usr/include
+(
+ # allow things which still look for libporttime to find it.
+ # for example multimedia/xjadeo
+ # thanks void maintainers
+ cd $PKG/usr/lib$LIBDIRSUFFIX
+ ln -s libportmidi.so libporttime.so
+)
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true