mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 15:51:33 +01:00
32 lines
774 B
Plaintext
32 lines
774 B
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=liblc3
|
|
pkgver=1.0.4
|
|
pkgrel=0
|
|
pkgdesc="An efficient low latency audio codec"
|
|
url="https://github.com/google/liblc3"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
makedepends="meson"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/google/liblc3/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
bc047aa26059f2b2a7f5275b580f39a9237ffdd6da03645c7e95957447ba7410768ae5c08fcf1e0ac16fac873be4cbf62695b2298ef72f54f09e577664c27255 liblc3-1.0.4.tar.gz
|
|
"
|