[arch-commits] Commit in mkvtoolnix/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Jun 20 21:24:08 UTC 2021
Date: Sunday, June 20, 2021 @ 21:24:08
Author: arojas
Revision: 418512
archrelease: copy trunk to staging-x86_64
Added:
mkvtoolnix/repos/staging-x86_64/
mkvtoolnix/repos/staging-x86_64/PKGBUILD
(from rev 418511, mkvtoolnix/trunk/PKGBUILD)
----------+
PKGBUILD | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 101 insertions(+)
Copied: mkvtoolnix/repos/staging-x86_64/PKGBUILD (from rev 418511, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-06-20 21:24:08 UTC (rev 418512)
@@ -0,0 +1,101 @@
+# 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=58.0.0
+pkgrel=2
+pkgdesc='Set of tools to create, edit and inspect Matroska files'
+arch=(x86_64)
+url=https://mkvtoolnix.download/
+license=(GPL2)
+depends=(
+ gcc-libs
+ glibc
+ libebml.so
+ libfmt.so
+ libmagic.so
+ libmatroska.so
+ pcre2
+ pugixml
+)
+makedepends=(
+ boost
+ cmark
+ docbook-xsl
+ flac
+ git
+ libdvdread
+ libvorbis
+ po4a
+ qt5-multimedia
+ qt5-tools
+ ruby-rake
+ zlib
+)
+_tag=7ebbf428124754259a8d96ea3e479246f2c0e85a
+#source=(git+https://gitlab.com/mbunkus/mkvtoolnix.git?signed#tag=${_tag})
+source=(git+https://gitlab.com/mbunkus/mkvtoolnix.git#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+=(
+ libdvdread
+ libFLAC.so
+ libogg.so
+ libvorbis.so
+ zlib
+ )
+
+ 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