blob: ab63c3cd35f3de37e4fdd0f655f7c7f87fa08395 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mkvtoolnix
pkgver=9.1.0
pkgrel=0
pkgdesc="Set of tools to create, edit and inspect Matroska files"
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
arch="all"
license="GPL"
depends=""
depends_dev="libmatroska-dev flac-dev libvorbis-dev boost-dev
zlib-dev file-dev libogg-dev"
makedepends="$depends_dev autoconf automake ruby bash"
install=""
subpackages="$pkgname-doc"
source="http://www.bunkus.org/videotools/$pkgname/sources/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/mkvtoolnix-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./autogen.sh || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-gui \
--without-curl \
|| return 1
./drake V=1 -j${JOBS} || return
}
package() {
cd "$_builddir"
./drake DESTDIR="$pkgdir" install || return 1
}
md5sums="7eafd6f5a9affd35f9cbf607d8ccf9b3 mkvtoolnix-9.1.0.tar.xz"
sha256sums="1471370251ff8414f3c02a0e21ec41c644f9d54bf4f1f5253d0cd9406281ce60 mkvtoolnix-9.1.0.tar.xz"
sha512sums="6a5cb169ddce95e8e525df23c2e84075ec8cdcbcd72755214c40744856378f02b98b313a01b2456f6eeac83d2ba5125aee42c63104113e7c736e7b48442c591e mkvtoolnix-9.1.0.tar.xz"
|