From dd4471d8f046807b3abd940d44721938253cc4cc Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Tue, 5 Dec 2017 12:18:56 +0100 Subject: [PATCH] zita-{convolver,resampler}: add missing symlinks (#9784) * zita-convolver: add missing symlink * zita-resampler: add missing symlink --- srcpkgs/zita-convolver/template | 7 ++++++- srcpkgs/zita-resampler/template | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/srcpkgs/zita-convolver/template b/srcpkgs/zita-convolver/template index 4b3fcdf2fb1..8701ebea628 100644 --- a/srcpkgs/zita-convolver/template +++ b/srcpkgs/zita-convolver/template @@ -1,7 +1,7 @@ # Template file for 'zita-convolver' pkgname=zita-convolver version=3.1.0 -revision=1 +revision=2 build_style=gnu-makefile make_install_args="LIBDIR=lib" hostmakedepends="pkg-config" @@ -19,6 +19,11 @@ pre_build() { sed -i '/march=native/d' Makefile } +post_install() { + # add missing symlink + ln -s libzita-convolver.so.${version} ${PKGDESTDIR}/usr/lib/libzita-convolver.so.${version%%.*} +} + zita-convolver-devel_package() { depends="${sourcepkg}-${version}_${revision}" short_desc+=" - development files" diff --git a/srcpkgs/zita-resampler/template b/srcpkgs/zita-resampler/template index b287c743bc9..8d1005a891f 100644 --- a/srcpkgs/zita-resampler/template +++ b/srcpkgs/zita-resampler/template @@ -1,7 +1,7 @@ # Template file for 'zita-resampler' pkgname=zita-resampler version=1.6.0 -revision=1 +revision=2 build_style=gnu-makefile make_install_args="LIBDIR=lib" hostmakedepends="pkg-config" @@ -18,6 +18,11 @@ pre_build() { sed -i '/march=native/d' Makefile } +post_install() { + # add missing symlink + ln -s libzita-resampler.so.${version} ${PKGDESTDIR}/usr/lib/libzita-resampler.so.${version%%.*} +} + zita-resampler-devel_package() { depends="${sourcepkg}-${version}_${revision}" short_desc+=" - development files"