summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-01-24 11:32:39 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-01-24 11:36:56 +0100
commit60963285fe963486898252825a79f9a7b014f47d (patch)
tree4143e17e6b335d48283bc2050aaa4d4e68c510a0 /media-video/mkvtoolnix
parentmedia-video/mkvtoolnix: remove old (diff)
downloadgentoo-60963285fe963486898252825a79f9a7b014f47d.tar.gz
gentoo-60963285fe963486898252825a79f9a7b014f47d.tar.bz2
gentoo-60963285fe963486898252825a79f9a7b014f47d.zip
media-video/mkvtoolnix: Bump to 9.8.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-video/mkvtoolnix')
-rw-r--r--media-video/mkvtoolnix/Manifest1
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild95
2 files changed, 96 insertions, 0 deletions
diff --git a/media-video/mkvtoolnix/Manifest b/media-video/mkvtoolnix/Manifest
index f7e2050ce25c..1da4f2640195 100644
--- a/media-video/mkvtoolnix/Manifest
+++ b/media-video/mkvtoolnix/Manifest
@@ -1,2 +1,3 @@
DIST mkvtoolnix-9.6.0.tar.xz 3810216 SHA256 ebab8dcc59533d248b127d375286eb47880a222ef68ff7a10e1c87d49dbd86bb SHA512 5f469215a10dc865e51f77c43961705d70b1b0e38d70b930e5065d8d89b8379734d9826a63e2cb7ae9cb6723ed8a1d16793df35bad6244cedaa19bc4df49b436 WHIRLPOOL f90056b595402315651754bf4428762a99a665f8ce78d7eb8d6d5ad3bb8bc95e19b130c154c52c2d1281028ebf78c5834abedf068601382a3fcca9ea2c37aa2a
DIST mkvtoolnix-9.7.1.tar.xz 3824684 SHA256 b2b8821e2d74df0f765c97f93ddd1dbfb062f3c22b969cfa04d1bb5cb638a88e SHA512 dec886e6a53abc76ae0f9ccff3e122b7a267afd3493f41eb006e1a29b22b0a7cca386271fb576e7b863d7ea23605da918a0ce8bb3ffc887e00b1bd07e04b73bc WHIRLPOOL f2347d8f5a4182f3cd0239c7fbf4cc8c13bea677cdcd10f53c258d85c2035e3d535974f91e5c567722990153ce50b3377f23545ce045fa695af357c2ca3a3552
+DIST mkvtoolnix-9.8.0.tar.xz 3790212 SHA256 494b2fb9ff83a858d8849baecdd3320456717923bb7a854d31a02a49640228db SHA512 214f378cec45bea606c516e5ca2472704bad3a50fcb337fc931d9ec789ba9367b25e0e97a506ac6b0d3802d97e6c22435e2c54c309a5a6f57402f1c54c888479 WHIRLPOOL 3ae3970d02eb43b4f06df83bfcbf32342438d0223c9fa1d2985f29e7853a69f9d21bfc4f1b1ecedfac944004480524e8554a207e29ac9daa9124c45d75fea1b4
diff --git a/media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild
new file mode 100644
index 000000000000..f2d865eb02d5
--- /dev/null
+++ b/media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils multilib toolchain-funcs versionator multiprocessing autotools
+
+DESCRIPTION="Tools to create, alter, and inspect Matroska files"
+HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix"
+SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug pch test qt5"
+
+RDEPEND="
+ >=dev-libs/boost-1.46.0:=
+ >=dev-libs/libebml-1.3.3:=
+ dev-libs/jsoncpp:=
+ dev-libs/pugixml
+ media-libs/flac
+ >=media-libs/libmatroska-1.4.4:=
+ media-libs/libogg
+ media-libs/libvorbis
+ sys-apps/file
+ sys-libs/zlib
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtconcurrent:5
+ )
+"
+DEPEND="${RDEPEND}
+ dev-ruby/rake
+ sys-devel/gettext
+ virtual/pkgconfig
+ test? ( dev-cpp/gtest )
+"
+
+pkg_pretend() {
+ # https://bugs.gentoo.org/419257
+ local ver=4.6
+ local msg="You need at least GCC ${ver}.x for C++11 range-based 'for' and nullptr support."
+ if ! version_is_at_least ${ver} $(gcc-version); then
+ eerror ${msg}
+ die ${msg}
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use qt5 ; then
+ # ac/qt5.m4 finds default Qt version set by qtchooser, bug #532600
+ myconf+=(
+ --with-moc=/usr/$(get_libdir)/qt5/bin/moc
+ --with-uic=/usr/$(get_libdir)/qt5/bin/uic
+ --with-rcc=/usr/$(get_libdir)/qt5/bin/rcc
+ )
+ fi
+
+ econf \
+ $(use_enable debug) \
+ $(use_enable qt5 qt) \
+ $(usex pch "" --disable-precompiled-headers) \
+ "${myconf[@]}" \
+ --disable-optimization \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --with-boost="${EPREFIX}"/usr \
+ --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir)
+}
+
+src_compile() {
+ rake V=1 -j$(makeopts_jobs) || die
+}
+
+src_test() {
+ rake V=1 -j$(makeopts_jobs) tests:unit || die
+ rake V=1 -j$(makeopts_jobs) tests:run_unit || die
+}
+
+src_install() {
+ DESTDIR="${D}" rake -j$(makeopts_jobs) install || die
+
+ dodoc AUTHORS ChangeLog README.md
+ doman doc/man/*.1
+}