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>
This commit is contained in:
Andrew Clemons 2022-02-21 19:44:24 +13:00 committed by Willy Sudiarto Raharjo
parent 4ebdf87db9
commit ea1c6894e2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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