summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-08-24 00:14:24 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-08-24 00:14:24 +0900
commit85107599b7bd7a0fc6f6475aa392a3363f3001e1 (patch)
tree102d24c8d9e2843bf56253b84ce516f7884818c8 /dev-libs/eekboard
parentapp-i18n/ibus-pinyin: fix build with USE=boost (diff)
downloadgentoo-85107599b7bd7a0fc6f6475aa392a3363f3001e1.tar.gz
gentoo-85107599b7bd7a0fc6f6475aa392a3363f3001e1.tar.bz2
gentoo-85107599b7bd7a0fc6f6475aa392a3363f3001e1.zip
dev-libs/eekboard: initial import
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-libs/eekboard')
-rw-r--r--dev-libs/eekboard/Manifest1
-rw-r--r--dev-libs/eekboard/eekboard-1.0.8_pre20121001.ebuild81
-rw-r--r--dev-libs/eekboard/files/eekboard-vala.patch33
-rw-r--r--dev-libs/eekboard/metadata.xml19
4 files changed, 134 insertions, 0 deletions
diff --git a/dev-libs/eekboard/Manifest b/dev-libs/eekboard/Manifest
new file mode 100644
index 000000000000..230549260742
--- /dev/null
+++ b/dev-libs/eekboard/Manifest
@@ -0,0 +1 @@
+DIST eekboard-1.0.8_pre20121001.tar.gz 330923 SHA256 b15c81a982bd8fbbf72946dd01ec33105b973cd8cd7b96f8a1dd0e46ed3113cd SHA512 3c6ccbaac55a4680ba4d2bd5d214b1738b7fb17f83b66b11621149b6f8a945eb6b39c47be51dfcf53f84317d860ae28b8f83e3071d5d4474fbcfbdc72f6e4c87 WHIRLPOOL 02be33b3aef4351c5794a90483123925d8a6740ff5a5fcda720a77a8179af5beaa2ad35a8a4b4d1eb899df284d607ad1d971a4dda8cfdecc268a46e123d1ad4d
diff --git a/dev-libs/eekboard/eekboard-1.0.8_pre20121001.ebuild b/dev-libs/eekboard/eekboard-1.0.8_pre20121001.ebuild
new file mode 100644
index 000000000000..ca6e8505a0ab
--- /dev/null
+++ b/dev-libs/eekboard/eekboard-1.0.8_pre20121001.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python2_7 )
+VALA_USE_DEPEND="vapigen"
+
+inherit autotools gnome2-utils ltprune python-any-r1 vala vcs-snapshot virtualx xdg-utils
+
+DESCRIPTION="An easy to use virtual keyboard toolkit"
+HOMEPAGE="https://github.com/ueno/eekboard"
+SRC_URI="https://github.com/ueno/${PN}/archive/e212262f29e022bdf7047861263ceea0c373e916.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +introspection libcanberra static-libs +vala +xtest"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="app-accessibility/at-spi2-core
+ dev-libs/glib:2
+ dev-libs/libcroco
+ virtual/libintl
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libxklavier
+ x11-libs/pango
+ introspection? ( dev-libs/gobject-introspection )
+ libcanberra? ( media-libs/libcanberra[gtk3(+)] )
+ vala? ( $(vala_depend) )
+ xtest? ( x11-libs/libXtst )"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-util/gtk-doc
+ dev-util/gtk-doc-am
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-vala.patch )
+
+src_prepare() {
+ use vala && vala_src_prepare
+ default
+ eautoreconf
+ xdg_environment_reset
+}
+
+src_configure() {
+ econf \
+ $(use_enable doc gtk-doc) \
+ $(use_enable introspection) \
+ $(use_enable libcanberra) \
+ $(use_enable static-libs static) \
+ $(use_enable vala) \
+ $(use_enable xtest)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
+
+src_test() {
+ virtx default
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
diff --git a/dev-libs/eekboard/files/eekboard-vala.patch b/dev-libs/eekboard/files/eekboard-vala.patch
new file mode 100644
index 000000000000..0b95c7849874
--- /dev/null
+++ b/dev-libs/eekboard/files/eekboard-vala.patch
@@ -0,0 +1,33 @@
+--- a/bindings/vala/Makefile.am
++++ b/bindings/vala/Makefile.am
+@@ -59,12 +59,14 @@
+
+ eek_gtk_vapi_deps = \
++ eek-$(EEK_API_VERSION).vapi \
+ $(srcdir)/EekGtk-$(EEK_API_VERSION).metadata \
+ | \
+ $(top_builddir)/eek/EekGtk-$(EEK_API_VERSION).gir \
+ $(NULL)
+
+ eek-gtk-$(EEK_API_VERSION).vapi: $(eek_gtk_vapi_deps)
+ $(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \
++ --girdir=$(top_builddir)/eek \
+ --library eek-gtk-$(EEK_API_VERSION) \
+ --pkg eek-$(EEK_API_VERSION) \
+ --pkg gio-2.0 \
+@@ -74,6 +76,7 @@
+
+ eek_xkl_vapi_deps = \
++ eek-$(EEK_API_VERSION).vapi \
+ $(srcdir)/EekXkl-$(EEK_API_VERSION).metadata \
+ | \
+ $(top_builddir)/eek/EekXkl-$(EEK_API_VERSION).gir \
+ $(NULL)
+@@ -81,6 +84,7 @@
+ eek-xkl-$(EEK_API_VERSION).vapi: $(eek_xkl_vapi_deps)
+ $(VAPIGEN_V)$(VAPIGEN) \
+ --vapidir=$(builddir) \
++ --girdir=$(top_builddir)/eek \
+ --library eek-xkl-$(EEK_API_VERSION) \
+ --pkg eek-$(EEK_API_VERSION) \
+ --pkg gio-2.0 \
diff --git a/dev-libs/eekboard/metadata.xml b/dev-libs/eekboard/metadata.xml
new file mode 100644
index 000000000000..8b3df112eeb3
--- /dev/null
+++ b/dev-libs/eekboard/metadata.xml
@@ -0,0 +1,19 @@
+<?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>
+ <longdescription lang="en">
+ eekboard is a virtual keyboard software package, including a set of tools
+ to implement desktop virtual keyboards.
+ </longdescription>
+ <use>
+ <flag name="libcanberra">Enable support for <pkg>media-libs/libcanberra</pkg></flag>
+ <flag name="xtest">Enable support for <pkg>x11-libs/libXtst</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ueno/eekboard</remote-id>
+ </upstream>
+</pkgmetadata>