public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jimi Huotari" <chiitoo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/qtox/
Date: Sat,  7 Dec 2024 15:51:57 +0000 (UTC)	[thread overview]
Message-ID: <1733586696.db08cc147b7ce4f6729e49428b815b03dd688de8.chiitoo@gentoo> (raw)

commit:     db08cc147b7ce4f6729e49428b815b03dd688de8
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 22:03:33 2024 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 15:51:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db08cc14

net-im/qtox: build 9999 with qt 6 and switch to a new upstream

Also remove the now unused toxest-related dependencies, and
update CMake switches.

As the original project repository [1] is archived, this switches
the upstream to a fork [2] by people working on 'net-libs/tox' as
well.

Segfault on exit when spellcheck is enabled is fixed here too.

1. https://github.com/qTox/qTox/
2. https://github.com/TokTok/qTox/

Bug: https://bugs.gentoo.org/895634
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 net-im/qtox/qtox-9999.ebuild | 58 +++++++++++++++++---------------------------
 1 file changed, 22 insertions(+), 36 deletions(-)

diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild
index efe18c5045f9..3b1a26bd42fa 100644
--- a/net-im/qtox/qtox-9999.ebuild
+++ b/net-im/qtox/qtox-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,11 +7,11 @@ inherit cmake xdg
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://github.com/qTox/qTox.git"
+	EGIT_REPO_URI="https://github.com/TokTok/qTox.git"
 else
 	MY_P="qTox-${PV}"
-	SRC_URI="https://github.com/qTox/qTox/releases/download/v${PV}/v${PV}.tar.gz -> ${MY_P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/TokTok/qTox/releases/download/v${PV}/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+	KEYWORDS="~amd64"
 	S="${WORKDIR}/qTox"
 fi
 
@@ -20,65 +20,51 @@ HOMEPAGE="https://qtox.github.io/"
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="+spellcheck test X"
-
-RESTRICT="!test? ( test )"
+IUSE="spellcheck X"
 
 BDEPEND="
-	dev-qt/linguist-tools:5
+	dev-qt/qttools:6[linguist]
 	virtual/pkgconfig
 "
 RDEPEND="
 	dev-db/sqlcipher
 	dev-libs/libsodium:=
-	dev-qt/qtconcurrent:5
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5[gif(+),jpeg,png,X(-)]
-	dev-qt/qtnetwork:5
-	dev-qt/qtopengl:5
-	dev-qt/qtsvg:5
-	dev-qt/qtwidgets:5
-	dev-qt/qtxml:5
+	dev-qt/qtbase:6[concurrent,gui,network,opengl,widgets,xml]
+	dev-qt/qtsvg:6
 	media-gfx/qrencode:=
 	media-libs/libexif
 	media-libs/openal
 	media-video/ffmpeg:=[webp,v4l]
-	>=net-libs/tox-0.2.13:=[av]
-	>=net-libs/toxext-0.0.3
-	>=net-libs/tox_extension_messages-0.0.3
-	spellcheck? ( kde-frameworks/sonnet:5 )
+	>=net-libs/tox-0.2.20:=[av]
+	spellcheck? (
+		|| (
+			kde-frameworks/sonnet:6[aspell]
+			kde-frameworks/sonnet:6[hunspell]
+		)
+	)
 	X? (
+		dev-qt/qtbase:6=[X]
 		x11-libs/libX11
 		x11-libs/libXScrnSaver
 	)
 "
 DEPEND="${RDEPEND}
-	test? ( dev-qt/qttest:5 )
 	X? ( x11-base/xorg-proto )
 "
 
 DOCS=( CHANGELOG.md README.md doc/user_manual_en.md )
 
-src_prepare() {
-	cmake_src_prepare
-
-	# bug 628574
-	if ! use test; then
-		sed -i CMakeLists.txt -e "/include(Testing)/d" || die
-		sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/d" || die
-	fi
-}
-
 src_configure() {
 	local mycmakeargs=(
+		-DASAN=OFF
 		-DPLATFORM_EXTENSIONS=$(usex X)
-		-DUPDATE_CHECK=OFF
-		-DUSE_CCACHE=OFF
 		-DSPELL_CHECK=$(usex spellcheck)
-		-DSVGZ_ICON=ON
-		-DASAN=OFF
-		-DDESKTOP_NOTIFICATIONS=OFF
 		-DSTRICT_OPTIONS=OFF
+		-DSVGZ_ICON=ON
+		-DTSAN=OFF
+		-DUBSAN=ON
+		-DUPDATE_CHECK=OFF
+		-DUSE_CCACHE=OFF
 	)
 
 	[[ ${PV} != 9999 ]] && mycmakeargs+=( -DGIT_DESCRIBE=${PV} )


             reply	other threads:[~2024-12-07 15:52 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-07 15:51 Jimi Huotari [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-28  4:27 [gentoo-commits] repo/gentoo:master commit in: net-im/qtox/ Ionen Wolkens
2025-03-09 22:05 Andreas Sturmlechner
2025-03-06 23:49 Sam James
2025-02-25 14:08 Jimi Huotari
2025-02-25 14:08 Jimi Huotari
2025-01-15 10:14 Jimi Huotari
2025-01-15 10:14 Jimi Huotari
2025-01-09 21:21 Jimi Huotari
2025-01-09 21:21 Jimi Huotari
2023-12-16 20:35 Jimi Huotari
2023-12-16 20:35 Jimi Huotari
2023-12-16 19:16 Arthur Zamarin
2023-10-21 19:37 Jimi Huotari
2022-11-23  1:45 Sam James
2022-09-08 16:05 Andreas Sturmlechner
2022-09-08 16:05 Andreas Sturmlechner
2022-09-02 21:45 Sam James
2022-03-15 20:03 Ionen Wolkens
2022-01-22  0:34 Ionen Wolkens
2022-01-22  0:34 Ionen Wolkens
2021-11-25 20:07 Sam James
2021-11-25  1:07 Ionen Wolkens
2021-10-25  4:35 Ionen Wolkens
2021-10-25  4:35 Ionen Wolkens
2021-04-15  8:56 Joonas Niilola
2021-04-15  8:56 Joonas Niilola
2021-01-09 10:36 Sam James
2020-01-19 23:53 Andreas Sturmlechner
2020-01-19 23:53 Andreas Sturmlechner
2018-10-12 19:29 Michał Górny
2018-09-18  6:57 Michał Górny
2018-09-15 13:37 Pacho Ramos
2018-08-12 16:58 Michał Górny
2018-07-19 19:51 Jonas Stein
2017-12-06 12:36 Michael Palimaka
2017-09-26 13:10 Michael Palimaka
2017-08-19  7:32 Michał Górny
2017-08-18 19:24 Michał Górny
2017-08-18 19:24 Michał Górny
2017-08-18 19:24 Michał Górny
2017-02-08 20:28 Göktürk Yüksek
2017-02-07 19:42 Göktürk Yüksek
2017-01-27 18:48 Göktürk Yüksek
2017-01-04 20:19 Göktürk Yüksek
2016-12-19 20:17 Michał Górny
2016-12-11  2:35 Göktürk Yüksek
2016-12-01 17:46 Göktürk Yüksek
2016-11-17  5:31 Göktürk Yüksek
2016-09-08 10:08 Patrick Lauer
2016-09-08  7:06 Patrice Clement
2016-08-10 13:53 Marek Szuba
2016-07-13 18:22 Michael Palimaka
2016-06-22  6:43 Patrice Clement
2016-04-25 10:08 Sam Jorna
2016-04-25 10:08 Sam Jorna
2016-04-11 20:21 Patrice Clement
2016-03-26 19:16 Patrice Clement
2016-03-15 17:19 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1733586696.db08cc147b7ce4f6729e49428b815b03dd688de8.chiitoo@gentoo \
    --to=chiitoo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox