summaryrefslogtreecommitdiff
path: root/dev-libs/eekboard
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/eekboard
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/eekboard')
-rw-r--r--dev-libs/eekboard/Manifest4
-rw-r--r--dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild81
-rw-r--r--dev-libs/eekboard/files/eekboard-vala.patch33
-rw-r--r--dev-libs/eekboard/metadata.xml19
4 files changed, 137 insertions, 0 deletions
diff --git a/dev-libs/eekboard/Manifest b/dev-libs/eekboard/Manifest
new file mode 100644
index 000000000000..10526e32ec9c
--- /dev/null
+++ b/dev-libs/eekboard/Manifest
@@ -0,0 +1,4 @@
+AUX eekboard-vala.patch 971 SHA256 ed3e0daf0c67a09ac1c48abd4162167b7106865d580750f34090bb652d0293a1 SHA512 0e33141e6e8bbdee661b12083e5e261b013a1c83603dd06ef93b5b9360d89153ff53225e1c8068ebccd5d92c3dfd1c439f7b0fb27ed5e8f21d9ca201c7db01fc WHIRLPOOL 390e5094d275d14f65bdbb4ab5bb6a9c9e31aee6839473c3f4812ad0fbda25e263b2c5c59dc88c6472143cb7c3c91ad76685a834bff54626d90ac658a4c5defd
+DIST eekboard-1.0.8_p20121001.tar.gz 330923 SHA256 b15c81a982bd8fbbf72946dd01ec33105b973cd8cd7b96f8a1dd0e46ed3113cd SHA512 3c6ccbaac55a4680ba4d2bd5d214b1738b7fb17f83b66b11621149b6f8a945eb6b39c47be51dfcf53f84317d860ae28b8f83e3071d5d4474fbcfbdc72f6e4c87 WHIRLPOOL 02be33b3aef4351c5794a90483123925d8a6740ff5a5fcda720a77a8179af5beaa2ad35a8a4b4d1eb899df284d607ad1d971a4dda8cfdecc268a46e123d1ad4d
+EBUILD eekboard-1.0.8_p20121001.ebuild 1702 SHA256 80166d0c6159cae04424b24e1c1d61e236ed6b705a4c544e7a8a7bdf24c7a021 SHA512 3614c5a5791c6bd9ec7d059678da944e7640ed84d4922be159fd37d7343c62e67136fdec4d88f4a24493899c004fca42fc7fb1bf5af09fcad3cfaef705d683a2 WHIRLPOOL 26985b241d0edc96223de7eb9601fa2e184bd27c6e62e68318739b36e918ef86096dcbb8419796efa5d260483c3adb8d4cc5f6eb901fbe763d654514e31f5a5f
+MISC metadata.xml 678 SHA256 9e8618a3443da1b1c1d0de5e033c34f6ccf825b73a481c36e1ab2647f9eca3ea SHA512 6ae8cfdff8c6df95729329152c2d853301b2d795c1aa22fe0a45fe0d37c1e3b60339523e35fb58fcf90ca7ab82aea8061baf816f694f8fde25afa53ddc98f0e5 WHIRLPOOL ee1e65292ff6b34f41a18e785feee48ca861188250836718496dc50f2ea72ef576ced096f184720e21a55db2c5646679a800c2d1c04c7cedbc7ea3a714e4928e
diff --git a/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild b/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild
new file mode 100644
index 000000000000..ca6e8505a0ab
--- /dev/null
+++ b/dev-libs/eekboard/eekboard-1.0.8_p20121001.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>