mkvtoolnix: update to 9.8.0

This commit is contained in:
Jeff Huang 2017-02-02 07:45:30 +00:00
parent 5144773dc5
commit 9d429bf670

View File

@ -1,6 +1,6 @@
pkgbase=mkvtoolnix
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui')
pkgver=9.7.0
pkgver=9.8.0
pkgrel=1
pkgdesc="Set of tools to create, edit and inspect Matroska files."
arch=('x86_64')
@ -15,7 +15,7 @@ makedepends=('flac' 'libmatroska' 'libogg' 'libvorbis' 'qt5-base' 'xdg-utils' 'l
'zlib' 'boost-libs' 'expat' 'boost' 'ruby')
categories=('multimedia')
source=("http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.xz")
sha256sums=('8a10d93f512ff84a42bf8244759bc65257a527604a4be0a696e9853a7403043a')
sha256sums=('494b2fb9ff83a858d8849baecdd3320456717923bb7a854d31a02a49640228db')
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
@ -27,9 +27,6 @@ prepare() {
export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=3"
export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=3"
# Sets number of threads for a parallel build
export DRAKETHREADS=4
autoreconf -vfi
}
@ -39,12 +36,12 @@ build() {
./configure --prefix='/usr' \
--without-curl \
--disable-qt
./drake apps:mkvinfo $MAKEFLAGS
rake apps:mkvinfo $MAKEFLAGS
mv src/mkvinfo{,-cli}
./configure --prefix='/usr' \
--without-curl
./drake $MAKEFLAGS
rake $MAKEFLAGS
}
package_mkvtoolnix-cli() {
@ -56,7 +53,7 @@ package_mkvtoolnix-cli() {
cd "${srcdir}/${pkgbase}-${pkgver}"
./drake DESTDIR="${pkgdir}" install
rake DESTDIR="${pkgdir}" install
install -m 755 src/mkvinfo-cli "${pkgdir}"/usr/bin/mkvinfo
rm -rf "${pkgdir}"/usr/share/{applications,icons,mime}
find "${pkgdir}" -name mkvtoolnix-gui* -delete
@ -69,7 +66,7 @@ package_mkvtoolnix-gui() {
cd "${srcdir}/${pkgbase}-${pkgver}"
./drake DESTDIR="${pkgdir}" install
rake DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/share/locale
for t in mkv{extract,info,merge,propedit}; do
find "${pkgdir}" -name $t* -delete