diff options
Diffstat (limited to 'abs/extra/mkvtoolnix/PKGBUILD')
-rw-r--r-- | abs/extra/mkvtoolnix/PKGBUILD | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/abs/extra/mkvtoolnix/PKGBUILD b/abs/extra/mkvtoolnix/PKGBUILD index 2a8ff55..2739c09 100644 --- a/abs/extra/mkvtoolnix/PKGBUILD +++ b/abs/extra/mkvtoolnix/PKGBUILD @@ -5,29 +5,31 @@ pkgbase=mkvtoolnix pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui') -pkgver=9.1.0 -pkgrel=3 +pkgver=21.0.0 +pkgrel=1 pkgdesc='Set of tools to create, edit and inspect Matroska files' -arch=('i686' 'x86_64') +arch=('x86_64') url='https://www.bunkus.org/videotools/mkvtoolnix/' license=('GPL') -makedepends=('boost' 'boost-libs' 'file' 'flac' 'libebml' 'libmatroska' - 'libogg' 'libvorbis' 'qt5-base' 'ruby' 'zlib') +makedepends=('boost' 'boost-libs' 'cmark' 'docbook-xsl' 'file' 'flac' 'libebml' + 'libmatroska' 'libogg' 'libvorbis' 'qt5-multimedia' 'ruby-rake' + 'zlib') source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${pkgver}.tar.xz") -md5sums=('7eafd6f5a9affd35f9cbf607d8ccf9b3') +sha256sums=('ad6d1d0ba40b153c155d5b26425e88531b24bb9969bac0341040e48cbb77c391') build() { cd mkvtoolnix-${pkgver} - ./configure --prefix='/usr' \ - --without-curl \ - --disable-qt - ./drake apps:mkvinfo $MAKEFLAGS + ./configure \ + --prefix='/usr' \ + --disable-qt + rake apps:mkvinfo $MAKEFLAGS mv src/mkvinfo{,-cli} - ./configure --prefix='/usr' \ - --without-curl - ./drake $MAKEFLAGS + ./configure \ + --prefix='/usr' \ + --disable-update-check + rake $MAKEFLAGS } package_mkvtoolnix-cli() { @@ -36,21 +38,19 @@ package_mkvtoolnix-cli() { cd mkvtoolnix-${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} + rm -rf "${pkgdir}"/usr/share/{applications,icons,mime,mkvtoolnix} find "${pkgdir}" -name mkvtoolnix-gui* -delete } package_mkvtoolnix-gui() { - depends=('desktop-file-utils' 'hicolor-icon-theme' 'mkvtoolnix-cli' - 'qt5-base' 'shared-mime-info' 'xdg-utils') - replaces=('mkvtoolnix-gtk') - install='mkvtoolnix-gui.install' + depends=('cmark' 'hicolor-icon-theme' 'mkvtoolnix-cli' 'qt5-base' + 'qt5-multimedia') cd mkvtoolnix-${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 |