From f16894e93eb7c2c32a6b6168287f8c02d08f09c4 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 27 Jun 2019 01:40:31 +0200 Subject: community/mkvtoolnix: add -gui subpackage --- community/mkvtoolnix/APKBUILD | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'community/mkvtoolnix') 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 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" -- cgit v1.2.3