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

Felix Yan felixonmars at archlinux.org
Sat Dec 12 16:23:01 UTC 2020


    Date: Saturday, December 12, 2020 @ 16:23:01
  Author: felixonmars
Revision: 404124

archrelease: copy trunk to staging-x86_64

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

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

Copied: mkvtoolnix/repos/staging-x86_64/PKGBUILD (from rev 404123, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-12-12 16:23:01 UTC (rev 404124)
@@ -0,0 +1,99 @@
+# 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=51.0.0
+pkgrel=5
+pkgdesc='Set of tools to create, edit and inspect Matroska files'
+arch=(x86_64)
+url=https://mkvtoolnix.download/
+license=(GPL2)
+makedepends=(
+  boost
+  boost-libs
+  cmark
+  docbook-xsl
+  file
+  flac
+  fmt
+  git
+  libebml
+  libmatroska
+  libogg
+  libvorbis
+  pcre2
+  qt5-multimedia
+  ruby-rake
+  zlib
+)
+_tag=70eeb80fcdd772c48a97615cc86ae1f3c5900ce2
+source=(git+https://gitlab.com/mbunkus/mkvtoolnix.git?signed#tag=${_tag})
+validpgpkeys=(D9199745B0545F2E8197062B0F92290A445B9007) # Moritz Bunkus <moritz at bunkus.org>
+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
+    pcre2
+  )
+
+  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