blob: a1f4abef1efec8e78b25f739741310feda77763d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=ttaenc
pkgver=3.4.1
pkgrel=0
pkgdesc="TrueAudio lossless compressor"
url="https://sourceforge.net/projects/tta/"
arch="all"
license="GPL-2.0-only"
options="!check" # no tests
source="https://downloads.sourceforge.net/tta/tta/ttaenc-src/ttaenc-$pkgver-src.tgz
fix-musl.patch"
builddir="$srcdir/ttaenc-$pkgver-src"
prepare() {
default_prepare
# sse is only available on x86*
case "$CARCH" in
x86*) ;;
*) sed 's|-msse||' -i Makefile ;;
esac
}
build() {
make
}
package() {
# mediocre makefile
mkdir -p "$pkgdir"/usr/bin
mv ttaenc "$pkgdir"/usr/bin
}
sha512sums="489f9a2e0f94a82f12302f076e33062104e58688ffde97e742ad3c8c226bd0000133c539e9111e10f2d24c176e0b7ddd0a76e60bd3baafa53c29b3cd89ada06d ttaenc-3.4.1-src.tgz
db49910a45cc4ac6559bb58554cb78daca722bbe273bf9fbf8f86479efe9f4cb8ecb1101e53a7bcdd07b7143a5aa90a62af7cef52654c8d77981148b42ef294c fix-musl.patch"
|