Date: Thursday, November 2, 2017 @ 13:30:23 Author: alucryd Revision: 308840
archrelease: copy trunk to extra-x86_64 Added: mkvtoolnix/repos/extra-x86_64/PKGBUILD (from rev 308839, mkvtoolnix/trunk/PKGBUILD) Deleted: mkvtoolnix/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 122 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 62 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-02 13:29:01 UTC (rev 308839) +++ PKGBUILD 2017-11-02 13:30:23 UTC (rev 308840) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Giovanni Scafora <giova...@archlinux.org> -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: xduugu <xdu...@gmx.com> - -pkgbase=mkvtoolnix -pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui') -pkgver=17.0.0 -pkgrel=1 -pkgdesc='Set of tools to create, edit and inspect Matroska files' -arch=('i686' 'x86_64') -url='https://www.bunkus.org/videotools/mkvtoolnix/' -license=('GPL') -makedepends=('boost' 'boost-libs' 'docbook-xsl' 'file' 'flac' 'libebml' - 'libmatroska' 'libogg' 'libvorbis' 'qt5-multimedia' 'ruby' 'zlib') -source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${pkgver}.tar.xz") -sha256sums=('9faf7996b84eb68c2b1738ec27217d24480731b24d31c81fbef19daa5844992e') - -build() { - cd mkvtoolnix-${pkgver} - - ./configure \ - --prefix='/usr' \ - --disable-qt - rake apps:mkvinfo $MAKEFLAGS - mv src/mkvinfo{,-cli} - - ./configure \ - --prefix='/usr' \ - --disable-update-check - rake $MAKEFLAGS -} - -package_mkvtoolnix-cli() { - depends=('boost-libs' 'file' 'flac' 'gcc-libs' 'glibc' 'libogg' 'zlib' - 'libebml.so' 'libmatroska.so' 'libvorbis.so') - - cd mkvtoolnix-${pkgver} - - rake DESTDIR="${pkgdir}" install - install -m 755 src/mkvinfo-cli "${pkgdir}"/usr/bin/mkvinfo - 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-multimedia' 'shared-mime-info' 'xdg-utils') - replaces=('mkvtoolnix-gtk') - - cd mkvtoolnix-${pkgver} - - rake DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}"/usr/share/locale - for t in mkv{extract,info,merge,propedit}; do - find "${pkgdir}" -name $t* -delete - done -} - -# vim: ts=2 sw=2 et: Copied: mkvtoolnix/repos/extra-x86_64/PKGBUILD (from rev 308839, mkvtoolnix/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-02 13:30:23 UTC (rev 308840) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: xduugu <xdu...@gmx.com> + +pkgbase=mkvtoolnix +pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui') +pkgver=17.0.0 +pkgrel=2 +pkgdesc='Set of tools to create, edit and inspect Matroska files' +arch=('i686' 'x86_64') +url='https://www.bunkus.org/videotools/mkvtoolnix/' +license=('GPL') +makedepends=('boost' 'boost-libs' 'docbook-xsl' 'file' 'flac' 'libebml' + 'libmatroska' 'libogg' 'libvorbis' 'qt5-multimedia' 'ruby' 'zlib') +source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${pkgver}.tar.xz") +sha256sums=('9faf7996b84eb68c2b1738ec27217d24480731b24d31c81fbef19daa5844992e') + +build() { + cd mkvtoolnix-${pkgver} + + ./configure \ + --prefix='/usr' \ + --disable-qt + rake apps:mkvinfo $MAKEFLAGS + mv src/mkvinfo{,-cli} + + ./configure \ + --prefix='/usr' \ + --disable-update-check + rake $MAKEFLAGS +} + +package_mkvtoolnix-cli() { + depends=('boost-libs' 'file' 'flac' 'gcc-libs' 'glibc' 'libogg' 'zlib' + 'libebml.so' 'libmatroska.so' 'libvorbis.so') + + cd mkvtoolnix-${pkgver} + + rake DESTDIR="${pkgdir}" install + install -m 755 src/mkvinfo-cli "${pkgdir}"/usr/bin/mkvinfo + 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-multimedia' 'shared-mime-info' 'xdg-utils') + replaces=('mkvtoolnix-gtk') + + cd mkvtoolnix-${pkgver} + + rake DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}"/usr/share/locale + for t in mkv{extract,info,merge,propedit}; do + find "${pkgdir}" -name $t* -delete + done + # The GUI is disabled in our mkvinfo + rm "${pkgdir}"/usr/share/applications/org.bunkus.mkvinfo.desktop +} + +# vim: ts=2 sw=2 et: