From 5fbb34e4230bd9cc5fb263acdefaac3f762ded97 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 17 Oct 2021 20:34:28 -0400 Subject: Rip fcitx5 from gentoo-zh. --- app-i18n/fcitx5-qt/Manifest | 2 ++ app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild | 45 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 app-i18n/fcitx5-qt/Manifest create mode 100644 app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild (limited to 'app-i18n/fcitx5-qt') diff --git a/app-i18n/fcitx5-qt/Manifest b/app-i18n/fcitx5-qt/Manifest new file mode 100644 index 0000000..be9f75d --- /dev/null +++ b/app-i18n/fcitx5-qt/Manifest @@ -0,0 +1,2 @@ +DIST fcitx5-qt-5.0.7.tar.gz 125327 BLAKE2B 4e9c0ca07351ea53eaeb278ce62d80ae70c4571bc9851215dc5ec23b6ea8c7a6f308b5d4c0fa6c4deb288239c974ded043dc3b04d9ddaadc9c844cf640606434 SHA512 894d14814f46a2abcbcb2238f71b7a821ac43652a85d5e108b04c85edd3791739034f09c1ae254ac49dc4e47656346b1d06093f83df762b8b8f63d66a818a66c +EBUILD fcitx5-qt-5.0.7-r1.ebuild 1028 BLAKE2B de9c4e96f1d26afcdaed12460783941025e4b69dbb31923056b09000d11061a0e4927e439723365024ade6368bb9a87da727ddda8e3677a3689bad987a11f439 SHA512 2a13a47bb8dceff494c690579dd26d03f7456e70961622ef23f513b4117a464d5fba4f1bd1ab45885c9ff72ec03be335ebf15d704535d997407589d8bcaef656 diff --git a/app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild b/app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild new file mode 100644 index 0000000..b551ecb --- /dev/null +++ b/app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fcitx/fcitx5-qt.git" + KEYWORDS="" +else + SRC_URI="https://github.com/fcitx/fcitx5-qt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Qt library and IM module for fcitx5" +HOMEPAGE="https://github.com/fcitx/fcitx5-qt" + +LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT" +SLOT="5" +IUSE="qt5 only_plugin" + +RDEPEND="app-i18n/fcitx5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + x11-libs/libX11 + dev-qt/qtconcurrent:5 + kde-frameworks/extra-cmake-modules" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" + -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -DCMAKE_BUILD_TYPE=Release + -DENABLE_QT4=no + -DENABLE_QT5=$(usex qt5) + -DBUILD_ONLY_PLUGIN=$(usex only_plugin) + ) + cmake_src_configure +} \ No newline at end of file -- cgit v1.2.3