[arch-commits] Commit in mkvtoolnix/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Jan 28 03:33:57 UTC 2020


    Date: Tuesday, January 28, 2020 @ 03:33:57
  Author: foutrelis
Revision: 374145

archrelease: copy trunk to staging-x86_64

Added:
  mkvtoolnix/repos/staging-x86_64/
  mkvtoolnix/repos/staging-x86_64/PKGBUILD
    (from rev 374144, mkvtoolnix/trunk/PKGBUILD)

----------+
 PKGBUILD |   95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)

Copied: mkvtoolnix/repos/staging-x86_64/PKGBUILD (from rev 374144, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-01-28 03:33:57 UTC (rev 374145)
@@ -0,0 +1,95 @@
+# 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=42.0.0
+pkgrel=3
+pkgdesc='Set of tools to create, edit and inspect Matroska files'
+arch=(x86_64)
+url=https://www.bunkus.org/videotools/mkvtoolnix/
+license=(GPL2)
+makedepends=(
+  boost
+  boost-libs
+  cmark
+  docbook-xsl
+  file
+  flac
+  fmt
+  git
+  libebml
+  libmatroska
+  libogg
+  libvorbis
+  qt5-multimedia
+  ruby-rake
+  zlib
+)
+source=(git+https://gitlab.com/mbunkus/mkvtoolnix.git#tag=64b1c3d9b380731ba94eae6a613dded87fa05d79)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd mkvtoolnix
+
+  git describe --tags | sed 's/release-//'
+}
+
+prepare() {
+  cd mkvtoolnix
+
+  ./autogen.sh
+}
+
+build() {
+  cd mkvtoolnix
+
+  ./configure \
+    --prefix=/usr \
+    --disable-update-check
+  rake $MAKEFLAGS
+}
+
+package_mkvtoolnix-cli() {
+  depends=(
+    boost-libs
+    file
+    flac
+    libogg
+    zlib
+    libebml.so
+    libfmt.so
+    libmatroska.so
+    libvorbis.so
+  )
+
+  cd mkvtoolnix
+
+  rake DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/share/{applications,icons,metainfo,mime,mkvtoolnix}
+  find "${pkgdir}" -name mkvtoolnix-gui* -delete
+}
+
+package_mkvtoolnix-gui() {
+  depends=(
+    cmark
+    hicolor-icon-theme
+    mkvtoolnix-cli
+    qt5-base
+    qt5-multimedia
+  )
+
+  cd mkvtoolnix
+
+  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