aboutsummaryrefslogtreecommitdiffstats
path: root/community/mkvtoolnix/APKBUILD
blob: e57188eeef2af7dd96ebac6334b3c2575f4f0969 (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: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mkvtoolnix
pkgver=16.0.0
pkgrel=0
pkgdesc="Set of tools to create, edit and inspect Matroska files"
url="https://mkvtoolnix.download/index.html"
arch="all"
license="GPL"
makedepends="libmatroska-dev flac-dev libvorbis-dev boost-dev
	zlib-dev file-dev libogg-dev ruby-rake ruby-json bash docbook-xsl"
options="!check"
subpackages="$pkgname-doc"
source="https://mkvtoolnix.download/sources/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure CC="${CC:-gcc}" CFLAGS="${CFLAGS}" \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--without-gettext
	rake V=1 -j${JOBS}
}

package() {
	cd "$builddir"
	rake DESTDIR="$pkgdir" install
}

sha512sums="5255c5a1d995bbf24d414dcdde8de987295581d4a8054164f15dca6019c79d96c9c074dc1892a86cd0084da34079529357efbeb3381addd9dc087b433be493fa  mkvtoolnix-16.0.0.tar.xz"