aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mkvtoolnix/APKBUILD
blob: 2998a831f4feff1060d96ad761c82121fb6fc1d0 (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
39
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mkvtoolnix
pkgver=9.9.0
pkgrel=0
pkgdesc="Set of tools to create, edit and inspect Matroska files"
url="https://mkvtoolnix.download/index.html"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="libmatroska-dev flac-dev libvorbis-dev boost-dev
	zlib-dev file-dev libogg-dev ruby-rake ruby-json bash docbook-xsl"
install=""
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 \
		|| return 1
	rake V=1 -j${JOBS} || return
}

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

sha512sums="a00162abd75cf7d34ec14555da4fd80e114473e2a34323f9e1404c807e312ebdc516614643c02e5c22be0e3927e0c3f9ab7ad043d24dc5fd7176cf0719503484  mkvtoolnix-9.9.0.tar.xz"