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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F285615838C for ; Sat, 20 Jan 2024 11:49:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE0E9E2A0C; Sat, 20 Jan 2024 11:49:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE886E2A0C for ; Sat, 20 Jan 2024 11:49:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1CAA3433BF for ; Sat, 20 Jan 2024 11:49:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C4DD14C8 for ; Sat, 20 Jan 2024 11:49:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1705751316.a9ae80b11bf8af4e3f7811f427b4512563f14440.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mkvtoolnix/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mkvtoolnix/mkvtoolnix-9999.ebuild X-VCS-Directories: media-video/mkvtoolnix/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a9ae80b11bf8af4e3f7811f427b4512563f14440 X-VCS-Branch: master Date: Sat, 20 Jan 2024 11:49:01 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 85b7a1fe-365a-4e00-ab09-5c9a2e80048d X-Archives-Hash: bcded8e053d8b9ac8c19d64693d5304f commit: a9ae80b11bf8af4e3f7811f427b4512563f14440 Author: Alfred Wingate protonmail com> AuthorDate: Thu Dec 14 22:48:33 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 20 11:48:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ae80b1 media-video/mkvtoolnix: remove patches and qt5 from live ebuild * Two out of three patches are now obselete and the last one was just making QtDBus optional. Just remove all for less maintenance burden at the expense of a minor regression in customizability. Closes: https://bugs.gentoo.org/919915 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/34288 Signed-off-by: Sam James gentoo.org> media-video/mkvtoolnix/mkvtoolnix-9999.ebuild | 55 ++++++--------------------- 1 file changed, 11 insertions(+), 44 deletions(-) diff --git a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild index 20d89f9877dc..1f14599ac81e 100644 --- a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild +++ b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild @@ -27,7 +27,7 @@ HOMEPAGE="https://mkvtoolnix.download/ https://gitlab.com/mbunkus/mkvtoolnix" LICENSE="GPL-2" SLOT="0" -IUSE="dbus debug dvd gui nls qt6 pch test" +IUSE="debug dvd gui nls pch test" RESTRICT="!test? ( test )" # check NEWS.md for build system changes entries for boost/libebml/libmatroska @@ -39,31 +39,17 @@ RDEPEND=" >=dev-libs/libebml-1.4.4:= >=dev-libs/libfmt-8.0.1:= >=dev-libs/pugixml-1.11 + >=dev-qt/qtbase-6.2:6[dbus] media-libs/flac:= >=media-libs/libmatroska-1.7.1:= media-libs/libogg media-libs/libvorbis sys-libs/zlib dvd? ( media-libs/libdvdread:= ) - !qt6? ( - dev-qt/qtcore:5 - dbus? ( dev-qt/qtdbus:5 ) - gui? ( - dev-qt/qtsvg:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - dev-qt/qtconcurrent:5 - dev-qt/qtmultimedia:5 - ) - ) - qt6? ( - dev-qt/qtbase:6[dbus?] - gui? ( - dev-qt/qtbase:6[concurrent,gui,network,widgets] - dev-qt/qtmultimedia:6 - dev-qt/qtsvg:6 - ) + gui? ( + >=dev-qt/qtbase-6.2:6[concurrent,gui,network,widgets] + >=dev-qt/qtmultimedia-6.2:6 + >=dev-qt/qtsvg-6.2:6 ) " DEPEND="${RDEPEND} @@ -86,12 +72,6 @@ if [[ ${PV} != *9999 ]] ; then BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-mkvtoolnix )" fi -PATCHES=( - "${FILESDIR}"/mkvtoolnix-80.0.0-no-uic-qtwidgets.patch - "${FILESDIR}"/mkvtoolnix-80.0.0-fix-qtmultimedia.patch - "${FILESDIR}"/mkvtoolnix-80.0.0-optional-qtdbus.patch -) - src_prepare() { default @@ -115,7 +95,6 @@ src_configure() { local myeconfargs=( $(use_enable debug) $(usex pch "" --disable-precompiled-headers) - $(use_enable dbus) $(use_enable gui) $(use_with dvd dvdread) $(use_with nls gettext) @@ -124,24 +103,12 @@ src_configure() { --disable-optimization --with-boost="${ESYSROOT}"/usr --with-boost-libdir="${ESYSROOT}"/usr/$(get_libdir) - ) - # Qt (of some version) is always needed, even for non-GUI builds, - # to do e.g. MIME detection. See e.g. bug #844097. - # But most of the Qt deps are conditional on a GUI build. - if use qt6; then - myeconfargs+=( - --enable-qt6 - --disable-qt5 - --with-qmake6="$(qt6_get_bindir)"/qmake - ) - else - myeconfargs+=( - --disable-qt6 - --enable-qt5 - --with-qmake="$(qt5_get_bindir)"/qmake - ) - fi + # Qt (of some version) is always needed, even for non-GUI builds, + # to do e.g. MIME detection. See e.g. bug #844097. + # But most of the Qt deps are conditional on a GUI build. + --with-qmake6="$(qt6_get_bindir)"/qmake + ) # Work around bug #904710. use nls || export ac_cv_path_PO4A=