[arch-commits] Commit in mkvtoolnix/repos (4 files)
Maxime Gauduin
alucryd at archlinux.org
Fri May 19 20:39:48 UTC 2017
Date: Friday, May 19, 2017 @ 20:39:47
Author: alucryd
Revision: 296308
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
mkvtoolnix/repos/staging-i686/
mkvtoolnix/repos/staging-i686/PKGBUILD
(from rev 296307, mkvtoolnix/trunk/PKGBUILD)
mkvtoolnix/repos/staging-x86_64/
mkvtoolnix/repos/staging-x86_64/PKGBUILD
(from rev 296307, mkvtoolnix/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 118 insertions(+)
Copied: mkvtoolnix/repos/staging-i686/PKGBUILD (from rev 296307, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-05-19 20:39:47 UTC (rev 296308)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: xduugu <xduugu at gmx.com>
+
+pkgbase=mkvtoolnix
+pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui')
+pkgver=11.0.0
+pkgrel=3
+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=('bb642e1eb2c402c4f93a962f41a1832c99ee5b782f1596dc20f996e9a4aa426d')
+
+build() {
+ cd mkvtoolnix-${pkgver}
+
+ ./configure \
+ --prefix='/usr' \
+ --disable-qt
+ rake apps:mkvinfo $MAKEFLAGS
+ mv src/mkvinfo{,-cli}
+
+ ./configure \
+ --prefix='/usr'
+ 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/staging-x86_64/PKGBUILD (from rev 296307, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-05-19 20:39:47 UTC (rev 296308)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: xduugu <xduugu at gmx.com>
+
+pkgbase=mkvtoolnix
+pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui')
+pkgver=11.0.0
+pkgrel=3
+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=('bb642e1eb2c402c4f93a962f41a1832c99ee5b782f1596dc20f996e9a4aa426d')
+
+build() {
+ cd mkvtoolnix-${pkgver}
+
+ ./configure \
+ --prefix='/usr' \
+ --disable-qt
+ rake apps:mkvinfo $MAKEFLAGS
+ mv src/mkvinfo{,-cli}
+
+ ./configure \
+ --prefix='/usr'
+ 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:
More information about the arch-commits
mailing list