summaryrefslogtreecommitdiff
path: root/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'media-video/mkvtoolnix/mkvtoolnix-9999.ebuild')
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-9999.ebuild38
1 files changed, 22 insertions, 16 deletions
diff --git a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
index cc20f8c7ff38..865f816c46ce 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,10 +17,11 @@ HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix"
LICENSE="GPL-2"
SLOT="0"
-IUSE="debug pch test qt5"
+IUSE="debug nls pch test qt5"
# check NEWS.md for build system changes entries for boost/libebml/libmatroska
# version requirement updates and other packaging info
+# TODO: package fmt (http://fmtlib.net/)
RDEPEND="
>=dev-libs/boost-1.49.0:=
>=dev-libs/libebml-1.3.5:=
@@ -34,6 +35,7 @@ RDEPEND="
sys-libs/zlib
qt5? (
dev-qt/qtcore:5
+ dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
@@ -44,11 +46,13 @@ RDEPEND="
"
DEPEND="${RDEPEND}
dev-ruby/rake
- sys-devel/gettext
virtual/pkgconfig
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
- app-text/po4a
+ nls? (
+ sys-devel/gettext
+ app-text/po4a
+ )
test? ( dev-cpp/gtest )
"
@@ -70,11 +74,22 @@ src_prepare() {
}
src_configure() {
- local myconf
+ local myeconfargs=(
+ $(use_enable debug)
+ $(usex pch "" --disable-precompiled-headers)
+ $(use_enable qt5 qt)
+ $(use_with nls gettext)
+ $(usex nls "" --with-po4a-translate=false)
+ --disable-update-check
+ --disable-optimization
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ --with-boost="${EPREFIX}"/usr
+ --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir)
+ )
if use qt5 ; then
# ac/qt5.m4 finds default Qt version set by qtchooser, bug #532600
- myconf+=(
+ myeconfargs+=(
--with-moc=$(qt5_get_bindir)/moc
--with-uic=$(qt5_get_bindir)/uic
--with-rcc=$(qt5_get_bindir)/rcc
@@ -82,16 +97,7 @@ src_configure() {
)
fi
- econf \
- $(use_enable debug) \
- $(use_enable qt5 qt) \
- $(usex pch "" --disable-precompiled-headers) \
- "${myconf[@]}" \
- --disable-update-check \
- --disable-optimization \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- --with-boost="${EPREFIX}"/usr \
- --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir)
+ econf "${myeconfargs[@]}"
}
src_compile() {