2014-12-14 22:05:05 +08:00
|
|
|
# Maintainer: Jeff Huang <s8321414<at>gmail<dot>com>
|
2014-05-13 08:29:33 +08:00
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.co
|
2011-08-26 05:01:47 +08:00
|
|
|
|
|
|
|
pkgname=mkvtoolnix
|
2015-01-06 08:10:43 +08:00
|
|
|
pkgver=7.5.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')
|
2011-08-26 05:01:47 +08:00
|
|
|
install=mkvtoolnix.install
|
2013-01-22 10:13:11 +08:00
|
|
|
source=("http://www.bunkus.org/videotools/$pkgname/sources/$pkgname-$pkgver.tar.xz")
|
2015-01-06 08:10:43 +08:00
|
|
|
sha1sums=('7d4aff0d65bdf797cf877d2c8bb649bd426c4879')
|
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
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-05-13 08:29:33 +08:00
|
|
|
# rm -rf "${pkgdir}"/usr/bin/mmg
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/man/ja/man1/mmg.1
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/man/man1/mmg.1
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/man/nl/man1/mmg.1
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/man/zh_CN/man1/mmg.1
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/man/uk/man1/mmg.1
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/applications
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/icons
|
|
|
|
# rm -rf "${pkgdir}"/usr/share/mime
|
2011-08-26 05:01:47 +08:00
|
|
|
}
|