From ea1c6894e221ed242ecd9308f0c5cf9779961463 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Mon, 21 Feb 2022 19:44:24 +1300 Subject: audio/portmidi: Fix dependents looking for libporttime. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- audio/portmidi/portmidi.SlackBuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'audio/portmidi') diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild index fb64a9ce37b72..b499c98c8edd0 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 -- cgit v1.2.3