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 6A79E15800A for ; Fri, 1 Sep 2023 11:13:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DF652BC013; Fri, 1 Sep 2023 11:13:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82C7D2BC013 for ; Fri, 1 Sep 2023 11:13:15 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2CDF335D7F for ; Fri, 1 Sep 2023 11:13:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2435EEA2 for ; Fri, 1 Sep 2023 11:13:13 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1693566770.ba4b1a1ce282be0246b3d77b7b694eacc79194a5.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/featherpad/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/featherpad/featherpad-1.4.1.ebuild X-VCS-Directories: app-editors/featherpad/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: ba4b1a1ce282be0246b3d77b7b694eacc79194a5 X-VCS-Branch: master Date: Fri, 1 Sep 2023 11:13:13 +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: ae2c2daf-2227-49d4-ba0c-6613065095f1 X-Archives-Hash: aacc4e91c7a0149feb69cba1b64d212e commit: ba4b1a1ce282be0246b3d77b7b694eacc79194a5 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 1 11:12:00 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 1 11:12:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4b1a1c app-editors/featherpad: enable building with qt6 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/featherpad/featherpad-1.4.1.ebuild | 42 +++++++++++++++++--------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/app-editors/featherpad/featherpad-1.4.1.ebuild b/app-editors/featherpad/featherpad-1.4.1.ebuild index 88d6e56287b5..69a1e0841b09 100644 --- a/app-editors/featherpad/featherpad-1.4.1.ebuild +++ b/app-editors/featherpad/featherpad-1.4.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit xdg cmake +inherit cmake xdg DESCRIPTION="Lightweight Qt5 Plain-Text Editor for Linux" HOMEPAGE="https://github.com/tsujan/FeatherPad" @@ -13,26 +13,38 @@ S="${WORKDIR}/FeatherPad-${PV}" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~riscv ~x86" -IUSE="+X" +IUSE="+qt5 qt6 +X" +REQUIRED_USE="^^ ( qt5 qt6 )" -RDEPEND="app-text/hunspell:= - >=dev-qt/qtcore-5.15.0:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - X? ( - dev-qt/qtx11extras:5 - x11-libs/libX11 - )" +RDEPEND=" + app-text/hunspell:= + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + X? ( dev-qt/qtx11extras:5 ) + ) + qt6? ( + dev-qt/qtbase:6[cups,dbus,gui,widgets] + dev-qt/qtsvg:6 + ) + X? ( x11-libs/libX11 ) +" DEPEND="${RDEPEND} - X? ( x11-base/xorg-proto )" -BDEPEND="dev-qt/linguist-tools:5" + X? ( x11-base/xorg-proto ) +" +BDEPEND=" + qt5? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" src_configure() { local mycmakeargs=( -DWITHOUT_X11=$(usex !X) + -DENABLE_QT5=$(usex qt5) ) cmake_src_configure }