2011-08-26 05:01:47 +08:00
|
|
|
pkgname=mkvtoolnix
|
2015-03-30 08:20:30 +08:00
|
|
|
pkgver=7.8.0
|
2013-12-04 16:32:46 +08:00
|
|
|
pkgrel=1
|
2011-08-26 05:01:47 +08:00
|
|
|
pkgdesc="Set of tools to create, edit and inspect Matroska files."
|
2013-01-22 10:13:11 +08:00
|
|
|
arch=('x86_64')
|
2011-08-26 05:01:47 +08:00
|
|
|
license=('GPL')
|
|
|
|
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
|
2014-05-13 08:29:33 +08:00
|
|
|
depends=('flac' 'libmatroska' 'libogg' 'libvorbis' 'qt5-base' 'xdg-utils' 'libebml' 'zlib' 'boost-libs' 'expat')
|
2012-07-28 10:11:42 +08:00
|
|
|
optdepends=('flac: for FLAC support (Free Lossless Audio Codec)'
|
2013-01-22 10:13:11 +08:00
|
|
|
'lzo2: for additional compression capabilities'
|
|
|
|
'bzip2: for additional compression capabilities'
|
|
|
|
'file: for automatic content type detection'
|
|
|
|
'curl: for online update checks')
|
2014-05-13 08:29:33 +08:00
|
|
|
makedepends=('boost' 'ruby')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('multimedia')
|
2015-02-12 11:57:10 +08:00
|
|
|
install=${pkgname}.install
|
2013-01-22 10:13:11 +08:00
|
|
|
source=("http://www.bunkus.org/videotools/$pkgname/sources/$pkgname-$pkgver.tar.xz")
|
2015-03-30 08:20:30 +08:00
|
|
|
sha1sums=('e855680e5b673e1d39e2f4146ce809504c435f7b')
|
2011-08-26 05:01:47 +08:00
|
|
|
|
|
|
|
build() {
|
2012-11-15 21:35:26 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2014-05-13 08:29:33 +08:00
|
|
|
./autogen.sh
|
2011-08-26 05:01:47 +08:00
|
|
|
./configure \
|
|
|
|
--enable-qt \
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-boost-libdir=/usr/lib
|
2011-12-28 02:44:05 +08:00
|
|
|
rake
|
2011-08-26 05:01:47 +08:00
|
|
|
}
|
|
|
|
|
2015-03-02 19:26:09 +08:00
|
|
|
package() {
|
2012-11-15 21:35:26 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
rake DESTDIR="${pkgdir}" install
|
2011-12-28 02:44:05 +08:00
|
|
|
|
|
|
|
rm -rf "${pkgdir}"/usr/bin/mkvinfo
|
|
|
|
install -Dm755 src/mkvinfo "${pkgdir}"/usr/bin/mkvinfo
|
2011-08-26 05:01:47 +08:00
|
|
|
}
|