1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: farwayer <farwayer [at] gmail [dot] com>
10 pkgdesc="Totally open, royalty-free, highly versatile audio codec (32-bit)"
11 url="https://www.opus-codec.org/"
22 _commit=82ac57d9f1aaf575800cf17373348e45b7ce6c0d # tags/v1.4^0
23 source=("git+https://github.com/xiph/opus#commit=$_commit")
28 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
45 export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
47 arch-meson opus build "${meson_options[@]}"
48 meson compile -C build
52 meson test -C build --print-errorlogs
55 package_lib32-opus() {
58 meson install -C build --destdir "$pkgdir"
59 rm -r "$pkgdir/usr/include"
61 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 opus/COPYING
64 # vim:set sw=2 sts=-1 et: