aboutsummaryrefslogtreecommitdiffstats
path: root/community/mkvtoolnix
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-27 01:40:31 +0200
committerprspkt <prspkt@protonmail.com>2019-06-28 00:20:55 +0300
commitf16894e93eb7c2c32a6b6168287f8c02d08f09c4 (patch)
tree1ef5e25e9f7adc955688e0a1a8e1ec8f68ac67d0 /community/mkvtoolnix
parentb375dc0718bfec931181b766b9c8a501ff434cc5 (diff)
downloadaports-f16894e93eb7c2c32a6b6168287f8c02d08f09c4.tar.bz2
aports-f16894e93eb7c2c32a6b6168287f8c02d08f09c4.tar.xz
community/mkvtoolnix: add -gui subpackage
Diffstat (limited to 'community/mkvtoolnix')
-rw-r--r--community/mkvtoolnix/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/community/mkvtoolnix/APKBUILD b/community/mkvtoolnix/APKBUILD
index 0a5c1aefd8..47e9cad279 100644
--- a/community/mkvtoolnix/APKBUILD
+++ b/community/mkvtoolnix/APKBUILD
@@ -3,14 +3,15 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mkvtoolnix
pkgver=35.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="Set of tools to create, edit and inspect Matroska files"
url="https://mkvtoolnix.download/index.html"
arch="all"
license="GPL-2.0-only"
makedepends="boost-dev docbook-xsl file-dev flac-dev gtest-dev
- libmatroska-dev libogg-dev libvorbis-dev ruby-json ruby-rake zlib-dev"
-subpackages="$pkgname-doc"
+ libmatroska-dev libogg-dev libvorbis-dev ruby-json ruby-rake zlib-dev
+ qt5-qtbase-dev qt5-qtmultimedia-dev cmark-dev"
+subpackages="$pkgname-doc $pkgname-gui"
source="https://mkvtoolnix.download/sources/$pkgname-$pkgver.tar.xz"
build() {
@@ -34,4 +35,13 @@ package() {
rake DESTDIR="$pkgdir" install
}
+gui() {
+ pkgdesc="$pkgdesc (GUI)"
+ depends="$pkgname qt5-qtmultimedia"
+
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/mkvtoolnix-gui "$subpkgdir"/usr/bin/
+ mv "$pkgdir"/usr/share "$subpkgdir"/usr/
+}
+
sha512sums="aa109be9da3f0bd119d9315b9ea136d3c1532d0f351c5a052dcc7ad67a4dcec9d8fec69a0c9358790abfcb6eeaee47fad4af2a0506bef39cfd5c8466f90bdf98 mkvtoolnix-35.0.0.tar.xz"