From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3BC7D139694 for ; Fri, 16 Jun 2017 09:36:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FB5C224019; Fri, 16 Jun 2017 09:36:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 008C3224019 for ; Fri, 16 Jun 2017 09:36:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4E19341A3C for ; Fri, 16 Jun 2017 09:36:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 082F4746A for ; Fri, 16 Jun 2017 09:36:35 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1497605788.e9b0cf41cd475b6c3b76ed73c06ae93554471c77.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mkvtoolnix/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mkvtoolnix/Manifest media-video/mkvtoolnix/mkvtoolnix-10.0.0.ebuild media-video/mkvtoolnix/mkvtoolnix-11.0.0-r1.ebuild media-video/mkvtoolnix/mkvtoolnix-9.7.1.ebuild media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild media-video/mkvtoolnix/mkvtoolnix-9.9.0.ebuild X-VCS-Directories: media-video/mkvtoolnix/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: e9b0cf41cd475b6c3b76ed73c06ae93554471c77 X-VCS-Branch: master Date: Fri, 16 Jun 2017 09:36:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 95c1ab30-5f67-4c2d-b703-45a62af15194 X-Archives-Hash: 00cb39ba58bf4679bdd8ecc6864f73dc commit: e9b0cf41cd475b6c3b76ed73c06ae93554471c77 Author: Alexis Ballier gentoo org> AuthorDate: Fri Jun 16 08:31:32 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Jun 16 09:36:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b0cf41 media-video/mkvtoolnix: remove old Package-Manager: Portage-2.3.6, Repoman-2.3.2 media-video/mkvtoolnix/Manifest | 5 - media-video/mkvtoolnix/mkvtoolnix-10.0.0.ebuild | 98 ------------------ media-video/mkvtoolnix/mkvtoolnix-11.0.0-r1.ebuild | 99 ------------------ media-video/mkvtoolnix/mkvtoolnix-9.7.1.ebuild | 115 --------------------- media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild | 94 ----------------- media-video/mkvtoolnix/mkvtoolnix-9.9.0.ebuild | 97 ----------------- 6 files changed, 508 deletions(-) diff --git a/media-video/mkvtoolnix/Manifest b/media-video/mkvtoolnix/Manifest index cd6879dfcc4..659ae7adbbd 100644 --- a/media-video/mkvtoolnix/Manifest +++ b/media-video/mkvtoolnix/Manifest @@ -1,7 +1,2 @@ -DIST mkvtoolnix-10.0.0.tar.xz 3695108 SHA256 12be72c373645b5bb9b9ea79ce8447958a1b806162868bb67803baa6d0032333 SHA512 d78bd7d9d607a270f4370f6f4b04af36fc8004af93fbbe7e486544bc1604bd80b659a4cc97d7e69d2a3d0e33d0e98ad657e44053accc938b2f82c73b5272d5e8 WHIRLPOOL a65be46f61e1d9917dbb6b0ed318ca5b34b823fcde9acce06256cdff499d0fc9615f9f6373ea9deaf77818d30d41470472da7a6e782ab672f558e9970f645f5b -DIST mkvtoolnix-11.0.0.tar.xz 4471692 SHA256 bb642e1eb2c402c4f93a962f41a1832c99ee5b782f1596dc20f996e9a4aa426d SHA512 edd212d651b1c5ff527868a23cc258bf032291392a695858cf083fd10f793393ac2c8de31ddd0ead9d6fc1629dc04c301cbd62bd4afdf6f1c8419adf6217d616 WHIRLPOOL 0762dfbb4d86f0a2c0d6265bc31f0d4eb2a6b12d2adac35956e0b7c479b5cf33ad83e889f24bb0dd81e7183a8f79750867ad90e1f86f65a550e0c4a5c16036b8 DIST mkvtoolnix-12.0.0.tar.xz 4480308 SHA256 5c2401d1cc36d8a2d57cb791a5a22f3cda69cb0824c6cee35326b35e7f94b536 SHA512 ccb9c0e368f7fb9cfb2bebaa9f4ef248ccb1aca78136b4e653d32a4319316281d4dd63cfd935c6aa18f1294a17493f61462d13f0552d257b058245019cfe6935 WHIRLPOOL 81616f93eb0a123958628386023bb4aa358d2b8620efa3af6ed6239794b1d5d0d3c9216a59d6b7403ccee0054a4bd81abc39e552634c283d7e2caeb5be3e3f2b 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 -DIST mkvtoolnix-9.9.0.tar.xz 3688304 SHA256 f06c9359bd197b5de6556a05506f0ea9ddab72045b72f1ed04b1807e4e042043 SHA512 a00162abd75cf7d34ec14555da4fd80e114473e2a34323f9e1404c807e312ebdc516614643c02e5c22be0e3927e0c3f9ab7ad043d24dc5fd7176cf0719503484 WHIRLPOOL 7f6422f77a61593896325c3032eac7d26c4fa1e319ed2b457e1cba59a3f780980e466987882610b84d6f99ace6c6df1ae626b47f4bd7498d6a7471cf224ed4d0 diff --git a/media-video/mkvtoolnix/mkvtoolnix-10.0.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-10.0.0.ebuild deleted file mode 100644 index b0f69fd2a15..00000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-10.0.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - app-text/po4a - 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 - --with-qmake=/usr/$(get_libdir)/qt5/bin/qmake - ) - 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 -} diff --git a/media-video/mkvtoolnix/mkvtoolnix-11.0.0-r1.ebuild b/media-video/mkvtoolnix/mkvtoolnix-11.0.0-r1.ebuild deleted file mode 100644 index 210330dc6f2..00000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-11.0.0-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit 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 - dev-qt/qtmultimedia:5 - ) -" -DEPEND="${RDEPEND} - dev-ruby/rake - sys-devel/gettext - virtual/pkgconfig - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - app-text/po4a - 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 - --with-qmake=/usr/$(get_libdir)/qt5/bin/qmake - ) - 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 -} diff --git a/media-video/mkvtoolnix/mkvtoolnix-9.7.1.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.7.1.ebuild deleted file mode 100644 index b1a0c0f5e5b..00000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.7.1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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="curl debug pch test qt5" - -ruby_atom() { - local ruby_slot=${1/ruby/} - ruby_slot="${ruby_slot:0:1}.${ruby_slot:1:2}" - echo "dev-lang/ruby:${ruby_slot}" -} - -# hacks to avoid using the ruby eclasses since this requires something similar -# to the python-any-r1 eclass for ruby which currently doesn't exist -RUBY_IMPLS=( ruby24 ruby23 ruby22 ruby21 ) -RUBY_BDEPS="$(for ruby_impl in "${RUBY_IMPLS[@]}"; do - echo "( $(ruby_atom ${ruby_impl}) virtual/rubygems[ruby_targets_${ruby_impl}] )"; done)" - -RDEPEND=" - >=dev-libs/boost-1.46.0:= - >=dev-libs/libebml-1.3.3:= - 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} - || ( ${RUBY_BDEPS} ) - 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() { - local ruby_impl - for ruby_impl in "${RUBY_IMPLS[@]}"; do - if has_version "$(ruby_atom ${ruby_impl})"; then - export RUBY=${ruby_impl} - break - fi - done - [[ -z ${RUBY} ]] && die "No available ruby implementations to build with" - - 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) \ - $(use_with curl) \ - $(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() { - "${RUBY}" ./drake V=1 -j$(makeopts_jobs) || die -} - -src_test() { - "${RUBY}" ./drake V=1 -j$(makeopts_jobs) tests:unit || die - "${RUBY}" ./drake V=1 -j$(makeopts_jobs) tests:run_unit || die -} - -src_install() { - DESTDIR="${D}" "${RUBY}" ./drake -j$(makeopts_jobs) install || die - - dodoc AUTHORS ChangeLog README.md - doman doc/man/*.1 -} diff --git a/media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild deleted file mode 100644 index 8b72419fee0..00000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.8.0.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 -} diff --git a/media-video/mkvtoolnix/mkvtoolnix-9.9.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.9.0.ebuild deleted file mode 100644 index c9d728ac432..00000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.9.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - app-text/po4a - 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 -}