1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
3 # Contributor: Panagiotis Papadopoulos pano_90 AT gmx DOT net
8 pkgdesc="Bauer stereophonic-to-binaural DSP effect library"
9 url="http://bs2b.sourceforge.net"
12 depends=(libsndfile gcc-libs)
14 source=("https://downloads.sourceforge.net/sourceforge/bs2b/$pkgname-$pkgver.tar.lzma"
16 md5sums=('00d32ffa6461dde6a632c846da3e0a13'
17 'af1c91f47bd7481cd71fc38a3a35f0e7')
18 sha1sums=('ec847e38a3a6f7eeed245b44e53f02cfff056df0'
19 'f8206ca996894884a2989401feb1b7d1acd28f2e')
20 b2sums=('986b0df4faee05cd6659bf5e338752d795450af9543f6c24c93cfeaa537fefb125966e4311d3637856aa6c4959b2aeec68b46baaab9caba5829405ce4b69d9a3'
21 'c111cf2f249261ec286fdb24e1f044ce2b3b9d078f3f139e1519ba4932bc35392b497882c0daf23c53c89199d0f3783b740cdf0e71175c6dedd408a9fb2d7cfd')
26 # Fix error: format not a string literal and no format arguments [-Werror=format-security]
27 patch -Np1 -i ../formatsecurity.diff
29 sed -i 's/dist-lzma/dist-xz/g' configure.ac
36 ./configure --prefix=/usr
37 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
47 depends+=(libsndfile.so)
48 provides+=(libbs2b.so)
51 make DESTDIR="$pkgdir" install
52 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING