aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Brethome <thomas.brethome@c-s.fr>2016-07-07 17:37:07 +0200
committerMichael Palimaka <kensington@gentoo.org>2017-07-23 17:34:34 +1000
commite5a6f897b984e718c7bea05675cb5d4d11751dea (patch)
treed50ebeb9a76b80830984b8c5cff0bfaff56b314f /dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.9999.ebuild
parentprofiles: Add dev-qt/qtvirtualkeyboard-5.9.1 to package.mask (diff)
downloadqt-e5a6f897b984e718c7bea05675cb5d4d11751dea.tar.gz
qt-e5a6f897b984e718c7bea05675cb5d4d11751dea.tar.bz2
qt-e5a6f897b984e718c7bea05675cb5d4d11751dea.zip
dev-qt/qtvirtualkeyboard: New package
Thanks-to: Thomas Brethome <thomas.brethome@c-s.fr> Gentoo-bug: 604914 Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.9999.ebuild')
-rw-r--r--dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.9999.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.9999.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.9999.ebuild
new file mode 100644
index 00000000..57a82cd7
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="ar da de en es fa fi fr hi it nb pl pt ro ru sv"
+# TODO: forcing 3rdparty libs PLOCALES+=" ja ko zh_CN zh_TW"
+
+inherit qt5-build l10n
+
+DESCRIPTION="Virtual keyboard plugin for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~x86"
+fi
+
+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)
+ )
+
+ local x
+ for x in $(l10n_get_locales); do
+ use linguas_${x} && myqmakeargs+=( CONFIG+=lang-${x} )
+ done
+
+ qt5-build_src_configure
+}