summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-09-26 23:18:16 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-09-26 23:18:33 +1000
commit96970cfb33aedf2a831813e48fb722e4b54acf77 (patch)
tree28418f64feecd360db3e0d33557bd78ecf0d4687 /dev-qt
parentnet-im/qtox: fix build failure when dev-qt/qttest:5 is not present (diff)
downloadgentoo-96970cfb33aedf2a831813e48fb722e4b54acf77.tar.gz
gentoo-96970cfb33aedf2a831813e48fb722e4b54acf77.tar.bz2
gentoo-96970cfb33aedf2a831813e48fb722e4b54acf77.zip
dev-qt/qtvirtualkeyboard: new package
Imported from Qt overlay. Closes: https://bugs.gentoo.org/604914 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtvirtualkeyboard/Manifest1
-rw-r--r--dev-qt/qtvirtualkeyboard/metadata.xml20
-rw-r--r--dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.7.1.ebuild38
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-qt/qtvirtualkeyboard/Manifest b/dev-qt/qtvirtualkeyboard/Manifest
new file mode 100644
index 000000000000..9a92fce1df80
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/Manifest
@@ -0,0 +1 @@
+DIST qtvirtualkeyboard-opensource-src-5.7.1.tar.xz 10014088 SHA256 b28b8b937ed15d794c5ebc93e9556d08a0c9761a434864ebf2b454554e652add SHA512 31481a88b91ef936437e54c863d39a63917496bd5701670ed38f1695c7cc6d867b8cc0eede62a523d5fea3819bc2688845277c9737349a0982de711cc464f00f WHIRLPOOL 9a99dd194e69b68cf4144f9f6349caf747b177ddf23330ab1b66e189d37943c18fe8a1a4da94550d6034b5919c619e7c53f0c869eb8b99f938b7786e75ebb029
diff --git a/dev-qt/qtvirtualkeyboard/metadata.xml b/dev-qt/qtvirtualkeyboard/metadata.xml
new file mode 100644
index 000000000000..1f6a41cfea6b
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <use>
+ <flag name="handwriting">Adds handwriting recognition integration support</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://bugreports.qt.io/</bugs-to>
+ <doc>https://doc.qt.io/</doc>
+ </upstream>
+ <slots>
+ <subslots>
+ Must only be used by packages that are known to use private parts of the Qt API.
+ </subslots>
+ </slots>
+</pkgmetadata>
diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.7.1.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.7.1.ebuild
new file mode 100644
index 000000000000..2cbcca31ea53
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.7.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qt5-build
+
+DESCRIPTION="Virtual keyboard plugin for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~x86"
+fi
+
+# TODO: unbudle libraries for more layouts
+IUSE="handwriting +spell +xcb"
+
+DEPEND="
+ ~dev-qt/qtcore-${PV}
+ ~dev-qt/qtdeclarative-${PV}
+ ~dev-qt/qtgui-${PV}
+ ~dev-qt/qtsvg-${PV}
+ spell? ( app-text/hunspell:= )
+ xcb? ( x11-libs/libxcb:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local myqmakeargs=(
+ $(usex handwriting CONFIG+=lipi-toolkit "")
+ $(usex spell "" CONFIG+=disable-hunspell)
+ $(usex xcb "" CONFIG+=disable-desktop)
+ CONFIG+="lang-ar_AR lang-da_DK lang-de_DE lang-en_GB \
+ lang-es_ES lang-fa_FA lang-fi_FI lang-fr_FR \
+ lang-hi_IN lang-it_IT lang-nb_NO lang-pl_PL \
+ lang-pt_PT lang-ro_RO lang-ru_RU lang-sv_SE"
+ )
+
+ qt5-build_src_configure
+}