blob: 0f615dd127c81acfb8051e0e846e80d5ea487be5 (
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
|
# Maintainer: Marc Cousin <cousinmarc@gmail.com>
pkgname=mkvtoolnix-git
pkgver=r8519.4969ee8
pkgrel=1
pkgdesc="Git version of mkvtoolnix (to get the latest mkvtoolnix-gui"
arch=(x86 x86_64)
url="https://www.bunkus.org/videotools/mkvtoolnix"
license=('GPL')
groups=()
depends=('libmatroska' 'expat' 'flac' 'libvorbis' 'file' 'boost-libs' 'lzo' 'wxgtk' 'xdg-utils' 'desktop-file-utils' 'qt5-base' 'libogg' 'zlib' 'curl')
makedepends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk'
'boost-libs' 'lzo' 'xdg-utils' 'boost' 'ruby' 'git')
provides=('mkvtoolnix')
conflicts=('mkvtoolnix-cli mkvtoolnix-gui')
replaces=('mkvtoolnix')
source=('git://github.com/mbunkus/mkvtoolnix.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/mkvtoolnix"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
true
#nothing for now
#cd "$srcdir/${pkgname%-VCS}"
#patch -p1 -i "$srcdir/${pkgname%-VCS}.patch"
}
build() {
cd "$srcdir/mkvtoolnix"
./autogen.sh
git submodule init
git submodule update
./configure --prefix=/usr
# remove the -j${procs} if you suffer during compile...
# At 8, my computer has a lot of trouble with 8GB of RAM...
declare -i procs
procs=`nproc`/2
./drake -j${procs}
}
package() {
cd "$srcdir/mkvtoolnix"
./drake DESTDIR="${pkgdir}" install
}
|