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
This commit is contained in:
Michael Palimaka
2017-09-26 23:18:16 +10:00
parent c9cee44806
commit 96970cfb33
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST qtvirtualkeyboard-opensource-src-5.7.1.tar.xz 10014088 SHA256 b28b8b937ed15d794c5ebc93e9556d08a0c9761a434864ebf2b454554e652add SHA512 31481a88b91ef936437e54c863d39a63917496bd5701670ed38f1695c7cc6d867b8cc0eede62a523d5fea3819bc2688845277c9737349a0982de711cc464f00f WHIRLPOOL 9a99dd194e69b68cf4144f9f6349caf747b177ddf23330ab1b66e189d37943c18fe8a1a4da94550d6034b5919c619e7c53f0c869eb8b99f938b7786e75ebb029

View File

@@ -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>

View File

@@ -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
}