Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mkvtoolnix/
Date: Wed, 12 Dec 2018 08:26:01
Message-Id: 1544603094.5ffba5ae81b06792de33f7ce0b0a6f07d68f65be.radhermit@gentoo
1 commit: 5ffba5ae81b06792de33f7ce0b0a6f07d68f65be
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 12 08:11:07 2018 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 12 08:24:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffba5ae
7
8 media-video/mkvtoolnix: version bump to 29.0.0
9
10 Closes: https://bugs.gentoo.org/661680
11 Closes: https://bugs.gentoo.org/661682
12
13 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
14
15 media-video/mkvtoolnix/Manifest | 1 +
16 ...oolnix-9999.ebuild => mkvtoolnix-29.0.0.ebuild} | 38 +++++++++++++---------
17 media-video/mkvtoolnix/mkvtoolnix-9999.ebuild | 38 +++++++++++++---------
18 3 files changed, 45 insertions(+), 32 deletions(-)
19
20 diff --git a/media-video/mkvtoolnix/Manifest b/media-video/mkvtoolnix/Manifest
21 index 92a64993650..44fa33eacc6 100644
22 --- a/media-video/mkvtoolnix/Manifest
23 +++ b/media-video/mkvtoolnix/Manifest
24 @@ -2,3 +2,4 @@ DIST mkvtoolnix-19.0.0.tar.xz 4616780 BLAKE2B 72eb3b1a34bbed0d492098c02c1f60c7ce
25 DIST mkvtoolnix-21.0.0.tar.xz 4682788 BLAKE2B 52d9920fc5b735f7d8af1f6e60828f143a914ce7cd7c635daacb6d2da584b0158f80e0f4d39824130b0c8fcc83b7c3a1215b2e965cb8b47b2b297df2d78414d5 SHA512 881e0c38eee2d36ab9dea5ccaa8ad74e0076cdc13606f873ab58bfeeec09c05e947529d3bad665b1d4df6a816faca30e8a685bc19115f90c18dac3c1ae27c252
26 DIST mkvtoolnix-22.0.0.tar.xz 4714712 BLAKE2B 325a0a250db8c6c833b01e6bb613044ca21b4061cbbd516ee6c60388b17c9c3759cf9759af0e2c23091d8044fd86358122e0739bf7d6133be9befca37c6d0294 SHA512 59d299f21d484dc529dafe81a35d3351e4f57abf6a2d8889692d95b9b9ffacdca9b55a3cf373b147f3ff12595590bf98f49af5d22d311b9b2d03f12a4bba00a6
27 DIST mkvtoolnix-23.0.0.tar.xz 4729056 BLAKE2B a264b482f141de502fb4c4aadcdc0ec1ed4e34d2ddc906d8d1f6a0b1ea76511a590ab9d90e035955aa138512877848752185012b8e7e1aeed3007c186c796190 SHA512 3c9072b54a4076e6fb934d40a2c2554dfa1316de1cb8d74ab262b0584eda1e679324aaf690195f68590413f9d3ca34d5d2a1f9f5545de065fe2db892eee19ffb
28 +DIST mkvtoolnix-29.0.0.tar.xz 7051380 BLAKE2B 8f5694abdbeb95c13e3a97740e3e81c02f1408116f1bdf96e8199bba0408e03278cac0bee0506b4b0aedc0a0417d61e13f31af716942faa9dbe61d16eb1d0761 SHA512 bfb5e31fdd43dbb1c3a54a9b82af414abd43f8edad1cc87e5118f8c1781185470152163fda828303c58db97df27c8037b7fa64e2077c69e3204d5080f0248dae
29
30 diff --git a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild b/media-video/mkvtoolnix/mkvtoolnix-29.0.0.ebuild
31 similarity index 81%
32 copy from media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
33 copy to media-video/mkvtoolnix/mkvtoolnix-29.0.0.ebuild
34 index cc20f8c7ff3..865f816c46c 100644
35 --- a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
36 +++ b/media-video/mkvtoolnix/mkvtoolnix-29.0.0.ebuild
37 @@ -1,4 +1,4 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 +# Copyright 1999-2018 Gentoo Authors
40 # Distributed under the terms of the GNU General Public License v2
41
42 EAPI=6
43 @@ -17,10 +17,11 @@ HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix"
44
45 LICENSE="GPL-2"
46 SLOT="0"
47 -IUSE="debug pch test qt5"
48 +IUSE="debug nls pch test qt5"
49
50 # check NEWS.md for build system changes entries for boost/libebml/libmatroska
51 # version requirement updates and other packaging info
52 +# TODO: package fmt (http://fmtlib.net/)
53 RDEPEND="
54 >=dev-libs/boost-1.49.0:=
55 >=dev-libs/libebml-1.3.5:=
56 @@ -34,6 +35,7 @@ RDEPEND="
57 sys-libs/zlib
58 qt5? (
59 dev-qt/qtcore:5
60 + dev-qt/qtdbus:5
61 dev-qt/qtgui:5
62 dev-qt/qtnetwork:5
63 dev-qt/qtwidgets:5
64 @@ -44,11 +46,13 @@ RDEPEND="
65 "
66 DEPEND="${RDEPEND}
67 dev-ruby/rake
68 - sys-devel/gettext
69 virtual/pkgconfig
70 dev-libs/libxslt
71 app-text/docbook-xsl-stylesheets
72 - app-text/po4a
73 + nls? (
74 + sys-devel/gettext
75 + app-text/po4a
76 + )
77 test? ( dev-cpp/gtest )
78 "
79
80 @@ -70,11 +74,22 @@ src_prepare() {
81 }
82
83 src_configure() {
84 - local myconf
85 + local myeconfargs=(
86 + $(use_enable debug)
87 + $(usex pch "" --disable-precompiled-headers)
88 + $(use_enable qt5 qt)
89 + $(use_with nls gettext)
90 + $(usex nls "" --with-po4a-translate=false)
91 + --disable-update-check
92 + --disable-optimization
93 + --docdir="${EPREFIX}"/usr/share/doc/${PF}
94 + --with-boost="${EPREFIX}"/usr
95 + --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir)
96 + )
97
98 if use qt5 ; then
99 # ac/qt5.m4 finds default Qt version set by qtchooser, bug #532600
100 - myconf+=(
101 + myeconfargs+=(
102 --with-moc=$(qt5_get_bindir)/moc
103 --with-uic=$(qt5_get_bindir)/uic
104 --with-rcc=$(qt5_get_bindir)/rcc
105 @@ -82,16 +97,7 @@ src_configure() {
106 )
107 fi
108
109 - econf \
110 - $(use_enable debug) \
111 - $(use_enable qt5 qt) \
112 - $(usex pch "" --disable-precompiled-headers) \
113 - "${myconf[@]}" \
114 - --disable-update-check \
115 - --disable-optimization \
116 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
117 - --with-boost="${EPREFIX}"/usr \
118 - --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir)
119 + econf "${myeconfargs[@]}"
120 }
121
122 src_compile() {
123
124 diff --git a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
125 index cc20f8c7ff3..865f816c46c 100644
126 --- a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
127 +++ b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
128 @@ -1,4 +1,4 @@
129 -# Copyright 1999-2018 Gentoo Foundation
130 +# Copyright 1999-2018 Gentoo Authors
131 # Distributed under the terms of the GNU General Public License v2
132
133 EAPI=6
134 @@ -17,10 +17,11 @@ HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix"
135
136 LICENSE="GPL-2"
137 SLOT="0"
138 -IUSE="debug pch test qt5"
139 +IUSE="debug nls pch test qt5"
140
141 # check NEWS.md for build system changes entries for boost/libebml/libmatroska
142 # version requirement updates and other packaging info
143 +# TODO: package fmt (http://fmtlib.net/)
144 RDEPEND="
145 >=dev-libs/boost-1.49.0:=
146 >=dev-libs/libebml-1.3.5:=
147 @@ -34,6 +35,7 @@ RDEPEND="
148 sys-libs/zlib
149 qt5? (
150 dev-qt/qtcore:5
151 + dev-qt/qtdbus:5
152 dev-qt/qtgui:5
153 dev-qt/qtnetwork:5
154 dev-qt/qtwidgets:5
155 @@ -44,11 +46,13 @@ RDEPEND="
156 "
157 DEPEND="${RDEPEND}
158 dev-ruby/rake
159 - sys-devel/gettext
160 virtual/pkgconfig
161 dev-libs/libxslt
162 app-text/docbook-xsl-stylesheets
163 - app-text/po4a
164 + nls? (
165 + sys-devel/gettext
166 + app-text/po4a
167 + )
168 test? ( dev-cpp/gtest )
169 "
170
171 @@ -70,11 +74,22 @@ src_prepare() {
172 }
173
174 src_configure() {
175 - local myconf
176 + local myeconfargs=(
177 + $(use_enable debug)
178 + $(usex pch "" --disable-precompiled-headers)
179 + $(use_enable qt5 qt)
180 + $(use_with nls gettext)
181 + $(usex nls "" --with-po4a-translate=false)
182 + --disable-update-check
183 + --disable-optimization
184 + --docdir="${EPREFIX}"/usr/share/doc/${PF}
185 + --with-boost="${EPREFIX}"/usr
186 + --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir)
187 + )
188
189 if use qt5 ; then
190 # ac/qt5.m4 finds default Qt version set by qtchooser, bug #532600
191 - myconf+=(
192 + myeconfargs+=(
193 --with-moc=$(qt5_get_bindir)/moc
194 --with-uic=$(qt5_get_bindir)/uic
195 --with-rcc=$(qt5_get_bindir)/rcc
196 @@ -82,16 +97,7 @@ src_configure() {
197 )
198 fi
199
200 - econf \
201 - $(use_enable debug) \
202 - $(use_enable qt5 qt) \
203 - $(usex pch "" --disable-precompiled-headers) \
204 - "${myconf[@]}" \
205 - --disable-update-check \
206 - --disable-optimization \
207 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
208 - --with-boost="${EPREFIX}"/usr \
209 - --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir)
210 + econf "${myeconfargs[@]}"
211 }
212
213 src_compile() {