desktop/mkvtoolnix/PKGBUILD

50 lines
1.7 KiB
Bash
Raw Normal View History

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
2014-12-14 22:05:05 +08:00
pkgver=7.4.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')
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")
2014-12-14 22:05:05 +08:00
sha1sums=('c303f9264fbeebef6e2d3dddd0aec6322b7b3ee4')
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
}