aboutsummaryrefslogtreecommitdiffstats
path: root/community/vo-aacenc/APKBUILD
blob: d57a2ccb3a42f4c5e82fc0bbc18920d0e6720bd7 (plain) (blame)
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
37
38
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=vo-aacenc
pkgver=0.1.3
pkgrel=0
pkgdesc="VisualOn AAC encoder from Android"
url="https://sourceforge.net/projects/opencore-amr"
arch="all"
license="Apache-2.0"
subpackages="$pkgname-static $pkgname-dev"
source="https://netcologne.dl.sourceforge.net/project/opencore-amr/vo-aacenc/vo-aacenc-$pkgver.tar.gz"

prepare() {
	default_prepare

	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c8f00dfa758270ba9cad35dd6e24905dc7cf33d7717454b7c2c56c40dbf54f682450aa010a410a0350d70119d2aaa2e5ba4471b5bbe05ccec1f9d20ab3e57853  vo-aacenc-0.1.3.tar.gz"