diff options
-rw-r--r-- | community/mkvtoolnix/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/community/mkvtoolnix/APKBUILD b/community/mkvtoolnix/APKBUILD index 3ba9b18c2e..1f03dc2167 100644 --- a/community/mkvtoolnix/APKBUILD +++ b/community/mkvtoolnix/APKBUILD @@ -3,14 +3,14 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=mkvtoolnix pkgver=29.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="libmatroska-dev flac-dev libvorbis-dev boost-dev - zlib-dev file-dev libogg-dev ruby-rake ruby-json bash docbook-xsl" -options="!check" + zlib-dev file-dev libogg-dev ruby-rake ruby-json + gtest-dev bash docbook-xsl" subpackages="$pkgname-doc" source="https://mkvtoolnix.download/sources/$pkgname-$pkgver.tar.xz" builddir="$srcdir"/$pkgname-$pkgver @@ -28,6 +28,12 @@ build() { rake V=1 -j${JOBS} } +check() { + cd "$builddir" + rake V=1 -j$(JOBS) tests:unit + rake V=1 -j$(JOBS) tests:run_unit +} + package() { cd "$builddir" rake DESTDIR="$pkgdir" install |