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 10B25158451 for ; Thu, 11 Jan 2024 00:22:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84BA12BC027; Thu, 11 Jan 2024 00:22:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 5FD7C2BC021 for ; Thu, 11 Jan 2024 00:22:09 +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 7390C34327B for ; Thu, 11 Jan 2024 00:22:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9F2E14B1 for ; Thu, 11 Jan 2024 00:22:06 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1704932397.e935a9f905755aee27fd8b221b878655ac58257b.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-qt/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/fcitx-qt/Manifest app-i18n/fcitx-qt/fcitx-qt-5.1.4.ebuild X-VCS-Directories: app-i18n/fcitx-qt/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: e935a9f905755aee27fd8b221b878655ac58257b X-VCS-Branch: master Date: Thu, 11 Jan 2024 00:22:06 +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: 94606776-9482-4baa-87cc-668b0447328e X-Archives-Hash: eb9c3742274daa86aff0ef7be3f6f600 commit: e935a9f905755aee27fd8b221b878655ac58257b Author: Yongxiang Liang gmail com> AuthorDate: Fri Jan 5 04:32:19 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Thu Jan 11 00:19:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e935a9f9 app-i18n/fcitx-qt: add 5.1.4 qt6 doas not depend on X in fcitx-qt. So add X use to make it optional. Signed-off-by: Yongxiang Liang gmail.com> Signed-off-by: Yixun Lan gentoo.org> app-i18n/fcitx-qt/Manifest | 1 + app-i18n/fcitx-qt/fcitx-qt-5.1.4.ebuild | 65 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/app-i18n/fcitx-qt/Manifest b/app-i18n/fcitx-qt/Manifest index 36a15ecbc431..461fde3dae41 100644 --- a/app-i18n/fcitx-qt/Manifest +++ b/app-i18n/fcitx-qt/Manifest @@ -1 +1,2 @@ DIST fcitx-qt-5.1.3.tar.xz 92312 BLAKE2B 84dda11e955ab1317379e0f5a0e95efb1b3108844b52c0e8fd08a02f0d5d6d16094c8729820ad7dce51e3d77994c217710f69edff4d566251f9272a125ffc936 SHA512 7d02409ac8359cea5e199f16b3b06ecfe47886edb00bb2163f9fbe1c319bbef425387e58db25fdfcd2b35261eada35f2acfb93ff0b65ed497da62d35363e8947 +DIST fcitx-qt-5.1.4.tar.xz 92880 BLAKE2B b165740e173fe21e8953b5605713c0250265e4906c25a56c5320f2560d261a9b8d4111f0960287b08fa7ac18c917d0da737fb1022bba7f76ca2e2e00d2d4f060 SHA512 942999327415e3d4195c18c2fb02e12a313e3a2cf1dd1e32d0e6a7a98b625bcc1b3a7278934bb583a029dee43a271dba9bac75face42729249557f60e1146adf diff --git a/app-i18n/fcitx-qt/fcitx-qt-5.1.4.ebuild b/app-i18n/fcitx-qt/fcitx-qt-5.1.4.ebuild new file mode 100644 index 000000000000..8a63118949cc --- /dev/null +++ b/app-i18n/fcitx-qt/fcitx-qt-5.1.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="fcitx5-qt" + +inherit cmake + +DESCRIPTION="Qt library and IM module for fcitx5" +HOMEPAGE="https://github.com/fcitx/fcitx5-qt" +SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.xz -> ${P}.tar.xz" + +LICENSE="BSD LGPL-2.1+" +SLOT="5" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="+qt5 onlyplugin staticplugin qt6 +X wayland" +REQUIRED_USE=" + || ( qt5 qt6 ) + qt5? ( X ) + staticplugin? ( onlyplugin ) +" + +RDEPEND=" + !onlyplugin? ( + >=app-i18n/fcitx-5.1.5:5 + qt5? ( dev-qt/qtconcurrent:5 ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5= + dev-qt/qtwidgets:5 + wayland? ( dev-qt/qtwayland:5 ) + ) + qt6? ( + dev-qt/qtbase:6[dbus,gui,widgets,wayland?] + wayland? ( dev-qt/qtwayland:6 ) + ) + X? ( + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libxkbcommon + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + kde-frameworks/extra-cmake-modules:0 + virtual/pkgconfig + !onlyplugin? ( sys-devel/gettext ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + local mycmakeargs=( + -DENABLE_QT4=no + -DENABLE_QT5=$(usex qt5) + -DENABLE_QT6=$(usex qt6) + -DENABLE_QT6_WAYLAND_WORKAROUND=$(usex qt6 $(usex wayland)) + -DBUILD_ONLY_PLUGIN=$(usex onlyplugin) + -DBUILD_STATIC_PLUGIN=$(usex staticplugin) + ) + cmake_src_configure +}