[arch-commits] Commit in zita-resampler/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 3 14:13:51 UTC 2019
Date: Thursday, October 3, 2019 @ 14:13:51
Author: dvzrv
Revision: 363694
upgpkg: zita-resampler 1.6.2-2
Adding docs. Adding libzita-alsa-pcmi.so to provides. Minor cleanups.
Modified:
zita-resampler/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 14:09:16 UTC (rev 363693)
+++ PKGBUILD 2019-10-03 14:13:51 UTC (rev 363694)
@@ -4,12 +4,15 @@
pkgname=zita-resampler
pkgver=1.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="A C++ library for resampling audio signals"
url="https://kokkinizita.linuxaudio.org/linuxaudio/"
arch=('x86_64')
license=('GPL3')
-depends=('gcc-libs' 'libsndfile')
+depends=('gcc-libs' 'glibc')
+makedepends=('libsndfile')
+optdepends=('libsndfile: for zresample and zretune')
+provides=('libzita-resampler.so')
source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
sha512sums=('d547419dd222c8a399d8f196efa1ec88a3f781275b696ae2fe1bb6e2fc329285affb8aace85972c304ad256becc4a155534dd5ef4ce3c57cbc9dcca0122b670c')
@@ -29,14 +32,16 @@
}
build() {
- cd "${pkgname}-${pkgver}/source"
+ cd "${pkgname}-${pkgver}"
# libs
- make
- # create lib link for building apps
- ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
+ make -C source
+ (
+ cd source
+ # create lib link for building apps
+ ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
+ )
# apps
- cd ../apps
- make LDFLAGS+=" -L../source" CXXFLAGS+=" -I../source"
+ make LDFLAGS+=" -L../source" CXXFLAGS+=" -I../source" -C apps
# cleanup link
rm -rv ../source/"lib${pkgname}.so"
}
@@ -46,8 +51,7 @@
make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
# docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 {AUTHORS,README} \
- -vDm 644 docs/*
+ install -vDm 644 {AUTHORS,README} docs/* \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list