public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-qt/
Date: Thu, 11 Jan 2024 00:22:06 +0000 (UTC)	[thread overview]
Message-ID: <1704932397.e935a9f905755aee27fd8b221b878655ac58257b.dlan@gentoo> (raw)

commit:     e935a9f905755aee27fd8b221b878655ac58257b
Author:     Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Fri Jan  5 04:32:19 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> 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 <tanekliang <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> 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
+}


             reply	other threads:[~2024-01-11  0:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11  0:22 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-08  0:18 [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-qt/ Yixun Lan
2024-12-02  7:15 Yixun Lan
2024-11-24 14:25 Joonas Niilola
2024-11-24  8:45 Joonas Niilola
2024-10-21  5:36 Yixun Lan
2024-10-11  0:07 Yixun Lan
2024-07-29  6:35 Joonas Niilola
2024-07-29  6:22 Joonas Niilola
2024-04-04  2:52 Yixun Lan
2024-04-04  2:52 Yixun Lan
2024-03-09  1:07 Yixun Lan
2024-03-08 12:16 Yixun Lan
2024-03-08  9:12 Yixun Lan
2024-01-17  9:04 Jakov Smolić
2024-01-16 17:50 Arthur Zamarin
2024-01-11  0:22 Yixun Lan
2024-01-02  3:56 WANG Xuerui

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=1704932397.e935a9f905755aee27fd8b221b878655ac58257b.dlan@gentoo \
    --to=dlan@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