2025-02-26 22:14:05 +00:00

50 lines
1.1 KiB
Plaintext

# Contributor: Minecrell <minecrell@minecrell.net>
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=tinycompress
pkgver=1.2.13
pkgrel=0
pkgdesc="Userspace library for ALSA compressed APIs"
url="https://alsa-project.org/"
arch="all"
license="BSD-3-Clause OR LGPL-2.1-only"
makedepends="linux-headers ffmpeg-dev"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-fcplay"
source="https://alsa-project.org/files/pub/tinycompress/tinycompress-$pkgver.tar.bz2"
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-fcplay
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
fcplay() {
pkgdesc="$pkgdesc (fcplay tool)"
license="LGPL-2.1-only"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/fcplay "$subpkgdir"/usr/bin/fcplay
}
sha512sums="
66cc51346f4127aaadd73b99c3194adda5d835661710d36d0df7b380e43d04b6714de280f2e11753efb01a999afd07e05119a7786eb22ff562b24752fc02426e tinycompress-1.2.13.tar.bz2
"