mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 19:32:44 +01:00
31 lines
771 B
Plaintext
31 lines
771 B
Plaintext
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=codec2
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
pkgdesc="Open source speech codec designed for communications quality speech between 700 and 3200 bps"
|
|
url="https://github.com/drowe67/codec2"
|
|
license="LGPL-2.1-or-later"
|
|
arch="all"
|
|
makedepends="cmake samurai"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/drowe67/codec2/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cmake -B build . \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
a44e6eb3ec60b81e4dfefaa733c4f8a40c5e2e90454e964b14fbce896edd0877e32d917ce878a619d7e7e544c670231d7d0c9cd35659be6989fd18d474443489 codec2-1.2.0.tar.gz
|
|
"
|