summaryrefslogtreecommitdiff
path: root/x11-libs
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-17 20:47:36 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-17 20:47:36 -0400
commit48d08da26f7905933ddf5d358424656d5fec1adc (patch)
tree9b9f5b6a1a03a28522af9826e4230e23e217cf5b /x11-libs
parent5fbb34e4230bd9cc5fb263acdefaac3f762ded97 (diff)
downloadppo-48d08da26f7905933ddf5d358424656d5fec1adc.tar.xz
add dependency of fcitx (also from gentoo-zh).
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/xcb-imdkit/Manifest2
-rw-r--r--x11-libs/xcb-imdkit/xcb-imdkit-1.0.3.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/x11-libs/xcb-imdkit/Manifest b/x11-libs/xcb-imdkit/Manifest
new file mode 100644
index 0000000..3b5f8fe
--- /dev/null
+++ b/x11-libs/xcb-imdkit/Manifest
@@ -0,0 +1,2 @@
+DIST xcb-imdkit-1.0.3.tar.gz 660108 BLAKE2B 94ae7c5aea33e9de664583c27b2eceef847fd8768af6122ec61215f4eaf7363a1d1676ac7bd58e736752f2809b39a0c01f3db3125e910bd26a4bde0360e47e84 SHA512 ff2530ed4b172c33466169ec0f7b52abd049796f3328f336a5e839775242ce0500d40148448f82a78e16cfb8da428ad664a3479db697ee14f3336bcaa969e762
+EBUILD xcb-imdkit-1.0.3.ebuild 740 BLAKE2B 07fdcd553d12f09b0449e4bfdb37a5f335dfe980adad18b672eda6ab6a0707c204afbf07d4cbc0e59a47a74eab8771b913a279cf6b4dc2d37196eab246c411ba SHA512 0ff4bbf2240eb1aee5fb2ee8ab39ec7e90c6dfe680c690d3dd29cdb11430b890686e323a8601c5a772c42c69a04454766d47b9a3215e81a3c196145eea417bd3
diff --git a/x11-libs/xcb-imdkit/xcb-imdkit-1.0.3.ebuild b/x11-libs/xcb-imdkit/xcb-imdkit-1.0.3.ebuild
new file mode 100644
index 0000000..71c9f99
--- /dev/null
+++ b/x11-libs/xcb-imdkit/xcb-imdkit-1.0.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Input method development support for xcb"
+HOMEPAGE="https://github.com/fcitx/xcb-imdkit"
+SRC_URI="https://github.com/fcitx/xcb-imdkit/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="
+ MIT
+ LGPL-2.1+
+ !system-uthash? ( BSD-1 )
+"
+SLOT="5"
+KEYWORDS="~amd64 ~x86"
+IUSE="+system-uthash"
+
+RDEPEND="
+ x11-libs/libxcb
+ x11-libs/xcb-util
+ x11-libs/xcb-util-keysyms
+"
+DEPEND="
+ ${RDEPEND}
+ kde-frameworks/extra-cmake-modules:5
+ system-uthash? ( dev-libs/uthash )
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_SYSTEM_UTHASH=$(usex system-uthash ON OFF)
+ )
+ cmake_src_configure
+} \ No newline at end of file