[arch-commits] Commit in mkvtoolnix/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Jul 5 13:37:42 UTC 2020
Date: Sunday, July 5, 2020 @ 13:37:42
Author: alucryd
Revision: 390871
archrelease: copy trunk to staging-x86_64
Added:
mkvtoolnix/repos/staging-x86_64/
mkvtoolnix/repos/staging-x86_64/PKGBUILD
(from rev 390870, mkvtoolnix/trunk/PKGBUILD)
----------+
PKGBUILD | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 96 insertions(+)
Copied: mkvtoolnix/repos/staging-x86_64/PKGBUILD (from rev 390870, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-07-05 13:37:42 UTC (rev 390871)
@@ -0,0 +1,96 @@
+# 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=48.0.0
+pkgrel=1
+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
+ qt5-multimedia
+ ruby-rake
+ zlib
+)
+_tag=ac03a108ca633a4f5c333788399cdad782aac38d
+source=(git+https://gitlab.com/mbunkus/mkvtoolnix.git#tag=${_tag})
+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