diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/ibus-handwrite | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/ibus-handwrite')
-rw-r--r-- | app-i18n/ibus-handwrite/Manifest | 7 | ||||
-rw-r--r-- | app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch | 20 | ||||
-rw-r--r-- | app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch | 11 | ||||
-rw-r--r-- | app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild | 44 | ||||
-rw-r--r-- | app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild | 34 | ||||
-rw-r--r-- | app-i18n/ibus-handwrite/metadata.xml | 11 |
6 files changed, 127 insertions, 0 deletions
diff --git a/app-i18n/ibus-handwrite/Manifest b/app-i18n/ibus-handwrite/Manifest new file mode 100644 index 000000000000..14b6ccdd8c5e --- /dev/null +++ b/app-i18n/ibus-handwrite/Manifest @@ -0,0 +1,7 @@ +AUX ibus-handwrite-headers.patch 406 BLAKE2B cb683592e24d58d2fcd4718374e0d5e8cb51c6300f5123a3d9d43c34e24a3f3413dac5b256e6e7fb74494870d449ccc4a22fc5916a27407fe7c11af391ced5b3 SHA512 4629c68451d3b3ede478b03241d58c66f1a94be0caa05b4cf22d0287beb059c807e398457f0aaaccc6d0f85b9cb987153bae213d949e78afc2c66a6880baa7d7 +AUX ibus-handwrite-link.patch 194 BLAKE2B 6a39b000d1ad3b8e8e16acc1f049f493eb302f7154d0007eac40dc707591f7622417eca998d2f1aef3978a5377c25c32c56b9bf6360f83642fb2503a65633063 SHA512 52d376687473a4dac3f679eae8d68d6457669f0587fb9d4a141b40318060acf552c00cff1f048497699f0a7d3f33f2b0271ed727f2c747f5fa7539d2550fd8b1 +DIST ibus-handwrite-2.1.4.tar.bz2 237980 BLAKE2B 7f8fae383a779b2893e5e014b5dcbdcb48a7f541f04e6b829dffd008fa95b73eb3e1af395c29e68a9c80e7cfdc95928f0a360f84df62c1dc06a9431d1dcf4eec SHA512 fca7129edb7433e7ea6df1ce67b3f27285fe102cc029a7a1bdb8ba0402407bd81724d1b14667d342ef41491acff03e9c152b748e4fee5387f315d4673c2964e6 +DIST ibus-handwrite-3.0.0.tar.bz2 239452 BLAKE2B 379b283565efc16c75c1811e096f814a4a0f009ab469a7bc251f34889bd62c7158379a63b71529db942969a3444a6be42f3db3bc5787993f8e15f86a6a7ddb76 SHA512 ed9b2b35919f3e061230c7085c88e5ce80ee978ffa7f8391e74364e8d6152f0d88a08f91ec58b55fc7067e9fe45d03018760ccfca7b026f36211fa344d16c9b1 +EBUILD ibus-handwrite-2.1.4-r1.ebuild 910 BLAKE2B 32ca39689bc0db16936328edc36c82c4fb789f74e6823d2d81ead14c255d17da3ff515dc6c6706a9719027b5806f464ae5f38f304ec849d528778c6436b249cf SHA512 d40ca6abf5ae79c4edf80821c22fc67b834a854e68e0e8019c23a35b0c377061921ef96a919397427fb3e1219a6608b3eb426e3e03704370d04908e1d9e17179 +EBUILD ibus-handwrite-3.0.0.ebuild 794 BLAKE2B 6d7015cf64cea92740acea89fbf601b2c01208a7379fb69e482f2e94a5234f09cbbf9468568e2f10948f24293b2cf7dbc246ba2b36ea8f88eb8eae64a5302eab SHA512 3047b4d6131a5b7127823883a2e8851e0696a4e25a07e120124410a792f8a873165a7ecef499cf542bb822e20cc40fc8f72b1c0bc451a7180f5e426cee6d01ee +MISC metadata.xml 334 BLAKE2B 229fb7df1c57b5810055e7a61a05a330eff00738b85c15a0b47b9d8e93a57b420cbe7bac0c163289f59441fd4252bffe7afd4b6451fc68fce18569187ce77fac SHA512 628e07c785b2e40e4885e4b59a8c8f7c264ed651490f7cc4e0ac253c6f263def9aa9fdb8a5edc41e56381335510a654b171ab05ff9b6006f3c4a77a004226227 diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch new file mode 100644 index 000000000000..f1cb4d574624 --- /dev/null +++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch @@ -0,0 +1,20 @@ +--- a/src/handrecog_lucykila.c ++++ b/src/handrecog_lucykila.c +@@ -14,6 +14,7 @@ + #include <sys/fcntl.h> + #include <sys/mman.h> + #include <math.h> ++#include <stdlib.h> + #include <string.h> + #include <glib.h> + +--- a/src/main.c ++++ b/src/main.c +@@ -3,6 +3,7 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <ibus.h> + #include <locale.h> + #include <gtk/gtkgl.h> diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch new file mode 100644 index 000000000000..1d8415fbaf8f --- /dev/null +++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -80,6 +80,8 @@ + AM_CONDITIONAL(WITH_ZINNIA,[false]) + ]) + ++AC_CHECK_LIB([m],[atan2]) ++ + # check ibus + PKG_CHECK_MODULES(IBUS, [ + ibus-1.0 >= 1.3 diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild new file mode 100644 index 000000000000..6965a9cf27eb --- /dev/null +++ b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Hand write recognition/input for IBus" +HOMEPAGE="https://github.com/microcai/ibus-handwrite" +SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls +zinnia" + +RDEPEND="app-i18n/ibus + x11-libs/gtk+:2 + x11-libs/gtkglext + nls? ( virtual/libintl ) + zinnia? ( + app-i18n/zinnia + app-i18n/zinnia-tomoe + )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-headers.patch + "${FILESDIR}"/${PN}-link.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable zinnia) \ + $(use_with zinnia zinnia-tomoe "${EPREFIX}"/usr/$(get_libdir)/zinnia/model/tomoe) +} diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild new file mode 100644 index 000000000000..25419a692eb1 --- /dev/null +++ b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Hand write recognition/input for IBus" +HOMEPAGE="https://github.com/microcai/ibus-handwrite" +SRC_URI="https://github.com/microcai/${PN}/releases/download/${PV%.0}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls +zinnia" + +RDEPEND="app-i18n/ibus + x11-libs/gtk+:3 + x11-libs/gtkglext + nls? ( virtual/libintl ) + zinnia? ( + app-i18n/zinnia + app-i18n/zinnia-tomoe + )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( "${FILESDIR}"/${PN}-headers.patch ) + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable zinnia) \ + $(use_with zinnia zinnia-tomoe "${EPREFIX}"/usr/$(get_libdir)/zinnia/model/tomoe) +} diff --git a/app-i18n/ibus-handwrite/metadata.xml b/app-i18n/ibus-handwrite/metadata.xml new file mode 100644 index 000000000000..23f5c6be388a --- /dev/null +++ b/app-i18n/ibus-handwrite/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <use> + <flag name="zinnia">Enable support for <pkg>app-i18n/zinnia</pkg></flag> + </use> +</pkgmetadata> |