diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-23 16:00:56 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-23 16:00:56 +0300 |
commit | 57c8c6a8613ffe1e96587e21b34249133e54e4d2 (patch) | |
tree | a95832bfa28a57a4dd7df2a86fc33a19d98fe4cc /dev-qt/qtsensors | |
parent | abbc99af90c96d4f50084e29633b32594b9bbfec (diff) |
qt 5.10 scm from qt repo
Diffstat (limited to 'dev-qt/qtsensors')
-rw-r--r-- | dev-qt/qtsensors/metadata.xml | 20 | ||||
-rw-r--r-- | dev-qt/qtsensors/qtsensors-5.10.9999.ebuild | 28 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-qt/qtsensors/metadata.xml b/dev-qt/qtsensors/metadata.xml new file mode 100644 index 0000000..c33b152 --- /dev/null +++ b/dev-qt/qtsensors/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="qml">Build QML bindings</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/qtsensors/qtsensors-5.10.9999.ebuild b/dev-qt/qtsensors/qtsensors-5.10.9999.ebuild new file mode 100644 index 0000000..28845fe --- /dev/null +++ b/dev-qt/qtsensors/qtsensors-5.10.9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit qt5-build + +DESCRIPTION="Hardware sensor access library for the Qt5 framework" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +fi + +# TODO: simulator +IUSE="qml" + +RDEPEND=" + ~dev-qt/qtcore-${PV} + ~dev-qt/qtdbus-${PV} + qml? ( ~dev-qt/qtdeclarative-${PV} ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + qt_use_disable_mod qml quick \ + src/src.pro + + qt5-build_src_prepare +} |