From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-video/mkvtoolnix/Manifest | 10 ++ media-video/mkvtoolnix/metadata.xml | 8 ++ media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild | 110 ++++++++++++++++++++ media-video/mkvtoolnix/mkvtoolnix-16.0.0.ebuild | 110 ++++++++++++++++++++ media-video/mkvtoolnix/mkvtoolnix-9.6.0.ebuild | 114 +++++++++++++++++++++ media-video/mkvtoolnix/mkvtoolnix-9999.ebuild | 110 ++++++++++++++++++++ 6 files changed, 462 insertions(+) create mode 100644 media-video/mkvtoolnix/Manifest create mode 100644 media-video/mkvtoolnix/metadata.xml create mode 100644 media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild create mode 100644 media-video/mkvtoolnix/mkvtoolnix-16.0.0.ebuild create mode 100644 media-video/mkvtoolnix/mkvtoolnix-9.6.0.ebuild create mode 100644 media-video/mkvtoolnix/mkvtoolnix-9999.ebuild (limited to 'media-video/mkvtoolnix') diff --git a/media-video/mkvtoolnix/Manifest b/media-video/mkvtoolnix/Manifest new file mode 100644 index 000000000000..897a6b83016d --- /dev/null +++ b/media-video/mkvtoolnix/Manifest @@ -0,0 +1,10 @@ +DIST mkvtoolnix-15.0.0.tar.xz 4552588 SHA256 73dc3b6f0a7147e28c06f44427fa0e824d0a4129e40c942d7642d9f451a51195 SHA512 5cef57dce4e6ca3d036142e42e302e8a315782ded11fb4c5982b406d389c8709bc7cf2a86d605b7c02797dc7b907dc3895db515e9d3e40976ab14198d9f400c6 WHIRLPOOL ee4bb153c4773535526bcb7352c13eab84a8b7fa28e66862f5bdc931a89e5ba3fc0d4c621f6784a9bd8b3a35c95cd1c1fdae9cfbb85640077b81b0914dc96fa5 +DIST mkvtoolnix-16.0.0.tar.xz 4607360 SHA256 5dfb2517003f69f3d8b942751200122c2e4cad2a8675b6fc2dfaad5c98e946e0 SHA512 5255c5a1d995bbf24d414dcdde8de987295581d4a8054164f15dca6019c79d96c9c074dc1892a86cd0084da34079529357efbeb3381addd9dc087b433be493fa WHIRLPOOL 20c2c2b387f78a5c2486692dda1503016447a551cd97d831b551c83e58ebecbf787deaca75d31b0409544eb11d354f2eb21b6585bb21fb30499c91c9af33f4d1 +DIST mkvtoolnix-9.6.0.tar.xz 3810216 SHA256 ebab8dcc59533d248b127d375286eb47880a222ef68ff7a10e1c87d49dbd86bb SHA512 5f469215a10dc865e51f77c43961705d70b1b0e38d70b930e5065d8d89b8379734d9826a63e2cb7ae9cb6723ed8a1d16793df35bad6244cedaa19bc4df49b436 WHIRLPOOL f90056b595402315651754bf4428762a99a665f8ce78d7eb8d6d5ad3bb8bc95e19b130c154c52c2d1281028ebf78c5834abedf068601382a3fcca9ea2c37aa2a +EBUILD mkvtoolnix-15.0.0-r1.ebuild 2552 SHA256 2a1846d144aed927fa144d9083fb2597b98abdf94a78f714812131b7c783e045 SHA512 29dad1e71c085a2bb54379ec1a7daa4516ef072fdd1048905b43f6adb6ee4eb988b74e7626a99908a1b149095ff4f8a42b3844b5c3a4b3bffce5f9f953d4a817 WHIRLPOOL 78b71004864f145a88214517f3d1f2ace192dd6025891740edd60a12064e5198441f80cdc119af0bad77389ed8a78536589e2f8492bc290293334caa3afd9b53 +EBUILD mkvtoolnix-16.0.0.ebuild 2552 SHA256 495214f6a7c3863894b255f3c1639d2eeaf01f25bc0b6cbd6e3b9c4613067c8a SHA512 2f326f9d3300ddbe52aef7d0fceb0b393a335eb0cd8d716ba5627cde93db95d246821d959d2bff16c30cbd1aa936742c137f190b6021e2a3f78bc35679170ca2 WHIRLPOOL 2b3cb0257128cef0331fd086f84f94d863fbe699b0bac8b53587a54598015fd951de9c6071f6dcd31077c3473cf76bace86373c4088b13f74f2735d44c79264a +EBUILD mkvtoolnix-9.6.0.ebuild 2804 SHA256 46ea31710f9278a078175bfc69f3478fb3b362b66122ddc9e3691a5b52174afe SHA512 6197ff1dec6dfca50711c7165d46f8a08d0844666686142eef5124485f448428bf9c0445a9976c52dbc28cede017921d2bccc5ca7089021c35f71d394a174d51 WHIRLPOOL c372198542ccd54303345a39e67e36686a46534bf7b7268588f64d54a419ec0cb57bcbbfb3859030aeeaec7be3e2810c210f5741e35fbe6426dff09bc0eae124 +EBUILD mkvtoolnix-9999.ebuild 2552 SHA256 2a1846d144aed927fa144d9083fb2597b98abdf94a78f714812131b7c783e045 SHA512 29dad1e71c085a2bb54379ec1a7daa4516ef072fdd1048905b43f6adb6ee4eb988b74e7626a99908a1b149095ff4f8a42b3844b5c3a4b3bffce5f9f953d4a817 WHIRLPOOL 78b71004864f145a88214517f3d1f2ace192dd6025891740edd60a12064e5198441f80cdc119af0bad77389ed8a78536589e2f8492bc290293334caa3afd9b53 +MISC ChangeLog 8086 SHA256 8903d17d86b9d83c6ed274b54fea99093105d638f8ede9a7e83fcf3c70887cb9 SHA512 4b2e0e3c75c32d6cbd98b4e088c34c46927bf72ee5485dfa0643cf440033002b4868ce0e974085cc464b42b11eaa197a095e3b4265f74a48ba87ab61d5e338d8 WHIRLPOOL 3fc8cde847811db2929a0ce11930575a8e381036d6ce094a6b910f0b9faf27f6db22f9f9c9fd12bd446fa53af6871279aeb88727788a68e6f9aa403d2880f942 +MISC ChangeLog-2015 32895 SHA256 f847d3ae0f6702549f24a8d659490b8958a8b1d4b2b7632c39ed9f69c2a9f8a6 SHA512 958b8320e4ba089b7f0e391ae02838ed1c3482e72654c97776fd2e297f48ae2d55e8ff5a5c3d921cf8ad85c3b6131d54b90364eb22e163795967bc4f25bbce1c WHIRLPOOL 7b3f31a49bf0fbd6c3b768be42198b8675b5c1dc5180cd0f6b995000980aef8878a9f39da841d6436dabb36d1468c2bed40f5152f381f91e28a1c7d3f97e7cc9 +MISC metadata.xml 255 SHA256 cfa2e7e4e1ad84d152c6b2f49467e2beb07d188dad704bc9887438f2b0d95f18 SHA512 92b56f4d9c86ad69341e67e8cc74db0bd068e45afdf2f3d3f9ea410fc5e64f3476143b656f2cb3d26b97ae01a967d71766952eba22e2278aab907c20b00ae0e9 WHIRLPOOL 6fbb4f57853f7ac5b979c506736e63f571606215889abf768ddb44fc91b3491a846ea84d46c6984bd3cd230f4808f8f39fa83580e636576c7756fdb1564869da diff --git a/media-video/mkvtoolnix/metadata.xml b/media-video/mkvtoolnix/metadata.xml new file mode 100644 index 000000000000..2a705e39ce78 --- /dev/null +++ b/media-video/mkvtoolnix/metadata.xml @@ -0,0 +1,8 @@ + + + + + media-video@gentoo.org + Gentoo Video project + + diff --git a/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild b/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild new file mode 100644 index 000000000000..e3d6a0086ae4 --- /dev/null +++ b/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs versionator multiprocessing + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/mbunkus/mkvtoolnix.git" + inherit git-r3 +else + SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Tools to create, alter, and inspect Matroska files" +HOMEPAGE="https://mkvtoolnix.download/ https://github.com/mbunkus/mkvtoolnix" + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug pch test qt5" + +# check NEWS.md for build system changes entries for boost/libebml/libmatroska +# version requirement updates and other packaging info +RDEPEND=" + >=dev-libs/boost-1.49.0:= + >=dev-libs/libebml-1.3.5:= + dev-libs/jsoncpp:= + dev-libs/pugixml + media-libs/flac + >=media-libs/libmatroska-1.4.7:= + 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 ) +" + +DOCS="AUTHORS NEWS.md README.md" + +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 + [[ ${PV} == "9999" ]] && { ./autogen.sh || die; } +} + +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-update-check \ + --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 + + einstalldocs + doman doc/man/*.1 +} diff --git a/media-video/mkvtoolnix/mkvtoolnix-16.0.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-16.0.0.ebuild new file mode 100644 index 000000000000..93682af702f5 --- /dev/null +++ b/media-video/mkvtoolnix/mkvtoolnix-16.0.0.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs versionator multiprocessing + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/mbunkus/mkvtoolnix.git" + inherit git-r3 +else + SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Tools to create, alter, and inspect Matroska files" +HOMEPAGE="https://mkvtoolnix.download/ https://github.com/mbunkus/mkvtoolnix" + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug pch test qt5" + +# check NEWS.md for build system changes entries for boost/libebml/libmatroska +# version requirement updates and other packaging info +RDEPEND=" + >=dev-libs/boost-1.49.0:= + >=dev-libs/libebml-1.3.5:= + dev-libs/jsoncpp:= + dev-libs/pugixml + media-libs/flac + >=media-libs/libmatroska-1.4.8:= + 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 ) +" + +DOCS="AUTHORS NEWS.md README.md" + +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 + [[ ${PV} == "9999" ]] && { ./autogen.sh || die; } +} + +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-update-check \ + --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 + + einstalldocs + doman doc/man/*.1 +} diff --git a/media-video/mkvtoolnix/mkvtoolnix-9.6.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9.6.0.ebuild new file mode 100644 index 000000000000..f8a9580b5300 --- /dev/null +++ b/media-video/mkvtoolnix/mkvtoolnix-9.6.0.ebuild @@ -0,0 +1,114 @@ +# 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="https://mkvtoolnix.download/" +SRC_URI="https://mkvtoolnix.download/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 + ) +" +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-9999.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild new file mode 100644 index 000000000000..e3d6a0086ae4 --- /dev/null +++ b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs versionator multiprocessing + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/mbunkus/mkvtoolnix.git" + inherit git-r3 +else + SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Tools to create, alter, and inspect Matroska files" +HOMEPAGE="https://mkvtoolnix.download/ https://github.com/mbunkus/mkvtoolnix" + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug pch test qt5" + +# check NEWS.md for build system changes entries for boost/libebml/libmatroska +# version requirement updates and other packaging info +RDEPEND=" + >=dev-libs/boost-1.49.0:= + >=dev-libs/libebml-1.3.5:= + dev-libs/jsoncpp:= + dev-libs/pugixml + media-libs/flac + >=media-libs/libmatroska-1.4.7:= + 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 ) +" + +DOCS="AUTHORS NEWS.md README.md" + +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 + [[ ${PV} == "9999" ]] && { ./autogen.sh || die; } +} + +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-update-check \ + --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 + + einstalldocs + doman doc/man/*.1 +} -- cgit v1.2.3