summaryrefslogtreecommitdiff
path: root/dev-qt/qtscript
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtscript')
-rw-r--r--dev-qt/qtscript/Manifest1
-rw-r--r--dev-qt/qtscript/qtscript-5.9.3.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-qt/qtscript/Manifest b/dev-qt/qtscript/Manifest
new file mode 100644
index 00000000..11614940
--- /dev/null
+++ b/dev-qt/qtscript/Manifest
@@ -0,0 +1 @@
+DIST qtscript-opensource-src-5.9.3.tar.xz 2612056 SHA256 b80bfaaf58f154b68101e438a1881f669cb9974026926be7755adb00af355566 SHA512 a1a320780dbb83e8c5889c528648cd5cace79b29561902474f03e2dfeeef4ab451ac101fecff19130d8b55809f8e457b9198608153a91deed039f529d21a3006 WHIRLPOOL ac6101d1b99c2c66e66278969e776e8446ee7556c3e4103758185947361e8376149ff26342e609cf7bc148136460fabe3847ee0542eadc1843cba26a5e8ad9d0
diff --git a/dev-qt/qtscript/qtscript-5.9.3.ebuild b/dev-qt/qtscript/qtscript-5.9.3.ebuild
new file mode 100644
index 00000000..938c3e6f
--- /dev/null
+++ b/dev-qt/qtscript/qtscript-5.9.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qt5-build
+
+DESCRIPTION="Application scripting library for the Qt5 framework (deprecated)"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="amd64"
+fi
+
+IUSE="+jit scripttools"
+
+DEPEND="
+ ~dev-qt/qtcore-${PV}
+ scripttools? (
+ ~dev-qt/qtgui-${PV}
+ ~dev-qt/qtwidgets-${PV}
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod scripttools widgets \
+ src/src.pro
+
+ qt5-build_src_prepare
+}
+
+src_configure() {
+ local myqmakeargs=(
+ JAVASCRIPTCORE_JIT=$(usex jit 'yes' 'no')
+ )
+ qt5-build_src_configure
+}