aboutsummaryrefslogtreecommitdiffstats
path: root/community/gavl/APKBUILD
blob: 7d4a6dded3f5f16ec3dcd50f130f8d8de9b32dae (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
37
38
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=gavl
pkgver=1.4.0
pkgrel=2
pkgdesc="Low level library, upon which multimedia APIs can be built"
url="http://gmerlin.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/gmerlin/gavl-$pkgver.tar.gz
	musl-sched_h.patch
	"
options="!check" # No test suite.

prepare() {
	default_prepare
	update_config_sub
}

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

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

sha512sums="beda0073cab865fdb3a55de5d5c800fabcd40b21c5bb5b5f9d43046db3602d8967fb8b893325fcdaca3fa66d978aa3cae79a4a797d43d40ad50ea5af752a650a  gavl-1.4.0.tar.gz
eb73637c3b9d1ed5376eda689aa48d189d35e3b891259e016dc48af743a6fd46c30ea552707c8b563362cb1bab18c49d4b4098aca2cc6ebf0d271a4c1e9b7d8c  musl-sched_h.patch"