1 # Maintainer: David Runge <dave@sleepmap.de>
4 pkgname=(ebumeter ebumeter-docs)
7 pkgdesc="Loudness measurement according to EBU-R128"
9 url="https://kokkinizita.linuxaudio.org/linuxaudio/ebumeter-doc/quickguide.html"
11 makedepends=(clxclient clthreads gendesk jack libsndfile zita-resampler)
12 source=(https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgbase-$pkgver.tar.xz)
13 sha512sums=('46a5277d60abeb9fcc94f53730a335fdb5c1f6f6a6aa4a4c9df0f5a34019c16cbb58ae23d4631ff24ad0cc8c514c970105e7301962b3918a82a6d994f520a555')
14 b2sums=('46bb822b34003b51fe6e2f16ce78a430b5ce76522e500c35fdf33c8b8da8bcaacea97cf3c1620cc47c1e73ec5a777a79f1ab7530f51e730487cafec13b9294b5')
18 sed -e '/native/d' -i $pkgbase-$pkgver/source/Makefile
22 --pkgdesc "$pkgdesc" \
24 --categories "AudioVideo;Audio"
28 make PREFIX=/usr -C $pkgbase-$pkgver/source
34 clxclient libclxclient.so
35 clthreads libclthreads.so
39 zita-resampler libzita-resampler.so
42 'ebumeter-docs: for documentation'
43 'libsndfile: for ebur128'
46 make PREFIX=/usr DESTDIR="$pkgdir/" install -C $pkgbase-$pkgver/source
47 install -vDm 644 $pkgbase.desktop -t "$pkgdir/usr/share/applications/"
50 package_ebumeter-docs() {
51 pkgdesc+=" - documentation"
53 install -vDm 644 $pkgbase-$pkgver/{AUTHORS,README,doc/*.pdf} -t "$pkgdir/usr/share/doc/$pkgbase/"
54 install -vDm 644 $pkgbase-$pkgver/doc/*.{html,png} -t "$pkgdir/usr/share/doc/$pkgbase/html/"