diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-12-29 13:54:52 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-12-29 14:04:02 +0100 |
commit | 9cf07df54ad13125dfa920848ce7fd04a548027d (patch) | |
tree | 4b6bb8a3674c4e3b7f73307682d8b255e7c5085e /media-video/mkvtoolnix | |
parent | net-proxy/ufdbguard: Remove old (diff) | |
download | gentoo-9cf07df54ad13125dfa920848ce7fd04a548027d.tar.gz gentoo-9cf07df54ad13125dfa920848ce7fd04a548027d.tar.bz2 gentoo-9cf07df54ad13125dfa920848ce7fd04a548027d.zip |
media-video/mkvtoolnix: remove old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-video/mkvtoolnix')
-rw-r--r-- | media-video/mkvtoolnix/Manifest | 5 | ||||
-rw-r--r-- | media-video/mkvtoolnix/mkvtoolnix-9.2.0.ebuild | 115 | ||||
-rw-r--r-- | media-video/mkvtoolnix/mkvtoolnix-9.3.1.ebuild | 115 | ||||
-rw-r--r-- | media-video/mkvtoolnix/mkvtoolnix-9.4.0.ebuild | 115 | ||||
-rw-r--r-- | media-video/mkvtoolnix/mkvtoolnix-9.4.2.ebuild | 115 | ||||
-rw-r--r-- | media-video/mkvtoolnix/mkvtoolnix-9.5.0.ebuild | 115 |
6 files changed, 0 insertions, 580 deletions
diff --git a/media-video/mkvtoolnix/Manifest b/media-video/mkvtoolnix/Manifest index 80d00a8cabeb..e1841ac70338 100644 --- a/media-video/mkvtoolnix/Manifest +++ b/media-video/mkvtoolnix/Manifest @@ -1,7 +1,2 @@ DIST mkvtoolnix-8.5.2.tar.xz 3304356 SHA256 efaae6d5e3d0963e2f53ae9c45f151be28561a6c6a28fad46e6220baf9862bbc SHA512 14a2d3d20499ccc2cfd0b1cfbbaa66def6ba512df0624f3e79d317670c4c17bf6552b9e62daed225b369fbab2fad3ce98877ccb7583096cd61da4c91ffed54ef WHIRLPOOL 536bbf36ac76e46d0205f5b2db58d986065ba38acd513129e0604154130cdf8861f3d8a52cb341980161b302f2853199c031b9908665ff13d2bb7db193a56a66 -DIST mkvtoolnix-9.2.0.tar.xz 3706756 SHA256 2c2a6b905acfede9eebfe58652b06c88501169d3b9a3c70af78774733ded8b01 SHA512 f1ccf7520c76576b60f1b88a1b85b93dbaa828946f8510db2a963b63037bdf3f4d810592e928c7e6ed6c1bb48b7872516cbad7db36534e30609d8327cd39ea59 WHIRLPOOL 7f5c29279db55f014e73465c37070770fa0d5593c357ecaf99e4519a68b24990f1badba30afbfe31c4b6f0945eae6ca82c7de2906e320a3b267cc1a156e63a16 -DIST mkvtoolnix-9.3.1.tar.xz 3739204 SHA256 f3695761bf0a5fdcd6144cfb0a624094c10c9d66d43a340ebb917b7c6a8b39a2 SHA512 5d7cf6c9816655567b5089201246cf8efeb19a8771e76240eb9e99850ee0a00062d67fbd5cddb25cf1ac5ad02f5efc0a0213f3bffdd8bf1c2f9949a7118029bf WHIRLPOOL b2dde1d60211cfe4d4ebe8652cc5baf3f06a577c9131e1c93b51e89c36a443a508de14347acd9f540f20874c8d290a229f98677d5f15ce95e5dec00fad285c06 -DIST mkvtoolnix-9.4.0.tar.xz 3765696 SHA256 af633768ac3ca193070c76c93bbf496b41e451d1652e1d3d6fd4c20361e56265 SHA512 d4dc70ea048fdad5c4bb01d31ba8d8d8078332a07c8ce12e95f84d61e3e068334903723bd1b0029c04db65e180de445126f58aad28569330422e87cdbb0ba785 WHIRLPOOL 3b504d1e17aba34ebc4ebab602b624c9e27b09e9dc3d5915884cddae6fb2daa3a50fa8df9692a30c5866bc15e4742567dd93334295d500b39688558c9acacbee -DIST mkvtoolnix-9.4.2.tar.xz 3774320 SHA256 df2c3773c0e7a75d88e75906cc425f9ed7f07ce36a99854162e14202ccd42904 SHA512 423c017dd7963e333974e2b2f9d886735238109cb6d9143fb2dac1ede52ab383553f13ea5bdffa185c9177799c7ee7ac4ed24cf0a79cf05eb6196e194be0c2f1 WHIRLPOOL 34a944b542ba7c3e8365fafbc6baf9843c93d830ef087ed76e4f86d3e27c001666c41ec23b7e10cbb4847349990fd987149fdd7737021ec2cd3f7776f2db7ce2 -DIST mkvtoolnix-9.5.0.tar.xz 3785316 SHA256 dde9969c43ad04d03ded73934e52388d978d5947fc5d5528d1eb4dc722dc86c0 SHA512 8a7742a395556ac00878ecb775334bf88d833054415ffd2820283fa4b430770934d312665093b876777571410c4f23f2cc7b3a97768bbfa0476cc9b4159e8435 WHIRLPOOL 048fc37e89ca4ff3ab478ba5e321fb5824c772cc7192f957915cd840417816047fb7351d21c06df2da40b0de05b1df25999f041f9878946e1962d07c247945ef DIST mkvtoolnix-9.6.0.tar.xz 3810216 SHA256 ebab8dcc59533d248b127d375286eb47880a222ef68ff7a10e1c87d49dbd86bb SHA512 5f469215a10dc865e51f77c43961705d70b1b0e38d70b930e5065d8d89b8379734d9826a63e2cb7ae9cb6723ed8a1d16793df35bad6244cedaa19bc4df49b436 WHIRLPOOL f90056b595402315651754bf4428762a99a665f8ce78d7eb8d6d5ad3bb8bc95e19b130c154c52c2d1281028ebf78c5834abedf068601382a3fcca9ea2c37aa2a diff --git a/media-video/mkvtoolnix/mkvtoolnix-9.2.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.2.0.ebuild deleted file mode 100644 index 1a140d869fb4..000000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.2.0.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -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=( ruby23 ruby22 ruby21 ruby20 ) -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 - ) -" -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" - - epatch_user - 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.3.1.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.3.1.ebuild deleted file mode 100644 index 1a140d869fb4..000000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.3.1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -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=( ruby23 ruby22 ruby21 ruby20 ) -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 - ) -" -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" - - epatch_user - 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.4.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.4.0.ebuild deleted file mode 100644 index 1a140d869fb4..000000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.4.0.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -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=( ruby23 ruby22 ruby21 ruby20 ) -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 - ) -" -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" - - epatch_user - 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.4.2.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.4.2.ebuild deleted file mode 100644 index 1a140d869fb4..000000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.4.2.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -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=( ruby23 ruby22 ruby21 ruby20 ) -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 - ) -" -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" - - epatch_user - 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.5.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.5.0.ebuild deleted file mode 100644 index 1a140d869fb4..000000000000 --- a/media-video/mkvtoolnix/mkvtoolnix-9.5.0.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -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=( ruby23 ruby22 ruby21 ruby20 ) -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 - ) -" -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" - - epatch_user - 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 -} |