1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="Open Source aptX codec library"
7 url="https://github.com/pali/libopenaptx"
12 provides=(libopenaptx.so)
13 _commit=2459ed4686eaef0a19dfa3f330a960813c5f60de # tags/0.2.0^0
14 source=("git+$url#commit=$_commit")
17 # Do not upgrade to 0.2.1; hostile license change.
18 # See https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/d08b6fac6bec0d334ee9fc785d551a67832f95fe
19 [[ $pkgver == 0.2.0 ]] || exit 1
23 git describe --tags | sed 's/-/+/g'
31 make CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
42 _make DESTDIR="$pkgdir" install