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)
13 source=("https://downloads.sourceforge.net/sourceforge/bs2b/$pkgname-$pkgver.tar.lzma"
15 md5sums=('00d32ffa6461dde6a632c846da3e0a13'
16 'af1c91f47bd7481cd71fc38a3a35f0e7')
17 sha1sums=('ec847e38a3a6f7eeed245b44e53f02cfff056df0'
18 'f8206ca996894884a2989401feb1b7d1acd28f2e')
19 b2sums=('986b0df4faee05cd6659bf5e338752d795450af9543f6c24c93cfeaa537fefb125966e4311d3637856aa6c4959b2aeec68b46baaab9caba5829405ce4b69d9a3'
20 'c111cf2f249261ec286fdb24e1f044ce2b3b9d078f3f139e1519ba4932bc35392b497882c0daf23c53c89199d0f3783b740cdf0e71175c6dedd408a9fb2d7cfd')
25 # Fix error: format not a string literal and no format arguments [-Werror=format-security]
26 patch -Np1 -i ../formatsecurity.diff
28 sed -i 's/dist-lzma/dist-xz/g' configure.ac
35 ./configure --prefix=/usr
36 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
46 depends+=(libsndfile.so)
47 provides+=(libbs2b.so)
50 make DESTDIR="$pkgdir" install
51 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING