[arch-commits] Commit in mkvtoolnix/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu May 12 11:52:07 UTC 2016
Date: Thursday, May 12, 2016 @ 13:52:07
Author: foutrelis
Revision: 267851
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
mkvtoolnix/repos/staging-i686/
mkvtoolnix/repos/staging-i686/PKGBUILD
(from rev 267850, mkvtoolnix/trunk/PKGBUILD)
mkvtoolnix/repos/staging-i686/mkvtoolnix-gui.install
(from rev 267850, mkvtoolnix/trunk/mkvtoolnix-gui.install)
mkvtoolnix/repos/staging-x86_64/
mkvtoolnix/repos/staging-x86_64/PKGBUILD
(from rev 267850, mkvtoolnix/trunk/PKGBUILD)
mkvtoolnix/repos/staging-x86_64/mkvtoolnix-gui.install
(from rev 267850, mkvtoolnix/trunk/mkvtoolnix-gui.install)
---------------------------------------+
staging-i686/PKGBUILD | 60 ++++++++++++++++++++++++++++++++
staging-i686/mkvtoolnix-gui.install | 15 ++++++++
staging-x86_64/PKGBUILD | 60 ++++++++++++++++++++++++++++++++
staging-x86_64/mkvtoolnix-gui.install | 15 ++++++++
4 files changed, 150 insertions(+)
Copied: mkvtoolnix/repos/staging-i686/PKGBUILD (from rev 267850, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-05-12 11:52:07 UTC (rev 267851)
@@ -0,0 +1,60 @@
+# $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=9.1.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' 'file' 'flac' 'libebml' 'libmatroska'
+ 'libogg' 'libvorbis' 'qt5-base' 'ruby' 'zlib')
+source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${pkgver}.tar.xz")
+md5sums=('7eafd6f5a9affd35f9cbf607d8ccf9b3')
+
+build() {
+ cd mkvtoolnix-${pkgver}
+
+ ./configure --prefix='/usr' \
+ --without-curl \
+ --disable-qt
+ ./drake apps:mkvinfo $MAKEFLAGS
+ mv src/mkvinfo{,-cli}
+
+ ./configure --prefix='/usr' \
+ --without-curl
+ ./drake $MAKEFLAGS
+}
+
+package_mkvtoolnix-cli() {
+ depends=('boost-libs' 'file' 'flac' 'gcc-libs' 'glibc' 'libogg' 'zlib'
+ 'libebml.so' 'libmatroska.so' 'libvorbis.so')
+
+ cd mkvtoolnix-${pkgver}
+
+ ./drake 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
+}
+
+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'
+
+ cd mkvtoolnix-${pkgver}
+
+ ./drake 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-i686/mkvtoolnix-gui.install (from rev 267850, mkvtoolnix/trunk/mkvtoolnix-gui.install)
===================================================================
--- staging-i686/mkvtoolnix-gui.install (rev 0)
+++ staging-i686/mkvtoolnix-gui.install 2016-05-12 11:52:07 UTC (rev 267851)
@@ -0,0 +1,15 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database /usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Copied: mkvtoolnix/repos/staging-x86_64/PKGBUILD (from rev 267850, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-05-12 11:52:07 UTC (rev 267851)
@@ -0,0 +1,60 @@
+# $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=9.1.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' 'file' 'flac' 'libebml' 'libmatroska'
+ 'libogg' 'libvorbis' 'qt5-base' 'ruby' 'zlib')
+source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${pkgver}.tar.xz")
+md5sums=('7eafd6f5a9affd35f9cbf607d8ccf9b3')
+
+build() {
+ cd mkvtoolnix-${pkgver}
+
+ ./configure --prefix='/usr' \
+ --without-curl \
+ --disable-qt
+ ./drake apps:mkvinfo $MAKEFLAGS
+ mv src/mkvinfo{,-cli}
+
+ ./configure --prefix='/usr' \
+ --without-curl
+ ./drake $MAKEFLAGS
+}
+
+package_mkvtoolnix-cli() {
+ depends=('boost-libs' 'file' 'flac' 'gcc-libs' 'glibc' 'libogg' 'zlib'
+ 'libebml.so' 'libmatroska.so' 'libvorbis.so')
+
+ cd mkvtoolnix-${pkgver}
+
+ ./drake 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
+}
+
+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'
+
+ cd mkvtoolnix-${pkgver}
+
+ ./drake 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/mkvtoolnix-gui.install (from rev 267850, mkvtoolnix/trunk/mkvtoolnix-gui.install)
===================================================================
--- staging-x86_64/mkvtoolnix-gui.install (rev 0)
+++ staging-x86_64/mkvtoolnix-gui.install 2016-05-12 11:52:07 UTC (rev 267851)
@@ -0,0 +1,15 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database /usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list