diff options
Diffstat (limited to 'dev-qt/qtscript')
-rw-r--r-- | dev-qt/qtscript/Manifest | 10 | ||||
-rw-r--r-- | dev-qt/qtscript/files/4.8.6-javascriptcore-x32.patch | 53 | ||||
-rw-r--r-- | dev-qt/qtscript/metadata.xml | 22 | ||||
-rw-r--r-- | dev-qt/qtscript/qtscript-4.8.7.ebuild | 38 | ||||
-rw-r--r-- | dev-qt/qtscript/qtscript-5.11.1.ebuild | 36 | ||||
-rw-r--r-- | dev-qt/qtscript/qtscript-5.9.4.ebuild | 36 | ||||
-rw-r--r-- | dev-qt/qtscript/qtscript-5.9.6.ebuild | 36 |
7 files changed, 231 insertions, 0 deletions
diff --git a/dev-qt/qtscript/Manifest b/dev-qt/qtscript/Manifest new file mode 100644 index 000000000000..3658046ed8f0 --- /dev/null +++ b/dev-qt/qtscript/Manifest @@ -0,0 +1,10 @@ +AUX 4.8.6-javascriptcore-x32.patch 1826 BLAKE2B 2a695f9c563675e0d1a36c9edda8b01dd83db6b377a4e72dd3b6ced8d11d0c206aadf56c35423d11841407452ab3e8f4ff3509a803e757536ad76cb87eaea76a SHA512 9b93ebdb9c474ad4e4d09de9d99d97351022863ae3a58fb0b03d1cd103dd012d0a12643f6e00f60cf0a9a4ac24db98039e87d5dd9a1afcf8dc65696b4bcd4efb +DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 BLAKE2B 6e9b8870692c36e894dc401b65fa38961cf7d033cd712770c273fd45b3221720648087c53787eae7d455c417d64e09f716da48377837fb5f2b52b901d06b1cf3 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 +DIST qtscript-everywhere-src-5.11.1.tar.xz 2671428 BLAKE2B 8cc74db4f5b33e299964f81b00e634965f7471d191726521726a5f2556a8eccf344e7277071f817a9fa0c40856acdb955258e9491966b6f773701e809b73982d SHA512 609ac6675341fb2707ad3b91e955a430846253741931ada2343ab2d1ad27169a60548b1a2621369384043a4c5b983e392c3fafcffd50237563b9f4204123e411 +DIST qtscript-opensource-src-5.9.4.tar.xz 2612372 BLAKE2B 8213e2b70e23dfa6e42ffd0aaa1818a4794670de24fa5b30cdf4c7bd17f1a438d9d6a8bf9c03f2995a60b6e3ad6d57bf0273c6e1027ed3d0b77fc2987d285603 SHA512 e0c49e1286c4b1de6d197c42d8e4bcd82a5ea07e8c89f6f222fa62579b5d466336a5baa50372e5a9b514bd8be098e80f3793123cae09d7a923c4d1466b0e13c9 +DIST qtscript-opensource-src-5.9.6.tar.xz 2607812 BLAKE2B 3f11ae2270b1bdc6ac195a4a398754df16d4599211ba291fd0a5793cc7e586f0034f1f5d63a185541e35c744de1d3c8facf12bef2cbbf98abd94b3c27e40b6ba SHA512 2ddecda376b79edc8cfe9215a531a8f0b1892f3e6b39c298a679903c2600a1df43bb59baeed3392e92fefb476ec2ebdd2ffd351d14918fea00025d2cbd48da46 +EBUILD qtscript-4.8.7.ebuild 1072 BLAKE2B eb4d2995271b4c1b3b083df9b9b657b49a6aebc66bdceddf78269590db9ae47f99a72112f6d2c2de9cd737cabffa8679eaa6545af5c509a58b5c7a962d2a5adf SHA512 c3b6a2933cbf054228051ae4eddc50940915a269aa5130dccdb9bbfc895678632cbdb3935f061565eed532faa48aa661c194549b62fb1c83c11057512afad8e5 +EBUILD qtscript-5.11.1.ebuild 686 BLAKE2B 2b5a8207e0fbb0f7f5222688b6f8e3c391a3684481e5fb9b71bd543d3111b3cf8d62a56d44ca030c0f2b1019585f740de542dbb78323e1389dd617d0c684d943 SHA512 8fecd4ac008262217070af2efb26729fd21c75818f0555697d6e04a3f6e3c536bf3efc14008a64cbffd7ca4c9092bd3b1746141a1648310133306a298b9df97a +EBUILD qtscript-5.9.4.ebuild 682 BLAKE2B fc04d73b06779e8abfec714ae6b59e59a72237b56fbcf48eb24a5cceaf9860e5fc88ad36b68d9cacb6dc470a795c7d783908a55b638b1e884faf4bd3a143df05 SHA512 91eb46966db41a9718404c74cc2f18b723b9630fbd9b2a3fbbc42bc2eaf0edca796a0fcb72e32731880a3c13631eb7b92241180161b94f88a7f5cda949f6a75d +EBUILD qtscript-5.9.6.ebuild 685 BLAKE2B 19a77ca6d324ece261144a16276d85a630b06b62adce2416074d692f7612e433d24ab2cc12d08f7be49bf140a72a30918bea668da007d4aea29114154ce1740b SHA512 6be3366270ffba5f22d44a226cd2b14392f70a2280f9049a1cb1c2283838fd44e005da6e9382191b85bb59dc42bf38888000252ba84bd805c994dc4a8626bd26 +MISC metadata.xml 714 BLAKE2B ad5f2175907ab5167fa16d75c1c538e4e66fcfb96d4a2dd2d19d92ccc39fc3283dc7b67505636834ea772727e5e50aaefc8468b9ecdc448fff33e6806c93d805 SHA512 8324b4dc7a26ce06a5c8af58768e337f1e96a2077b65f5996a4af535a07ac3a13c05af2fb0c89796335ea106eb82d0857dc20cb9d4c8131907313557a0319b6e diff --git a/dev-qt/qtscript/files/4.8.6-javascriptcore-x32.patch b/dev-qt/qtscript/files/4.8.6-javascriptcore-x32.patch new file mode 100644 index 000000000000..cde4cfb93f51 --- /dev/null +++ b/dev-qt/qtscript/files/4.8.6-javascriptcore-x32.patch @@ -0,0 +1,53 @@ +From 4e7126ea1488f3e1df0b76cacf83cb73f9d4b54c Mon Sep 17 00:00:00 2001 +From: Allan Sandfeld Jensen <allan.jensen@digia.com> +Date: Tue, 4 Mar 2014 10:46:18 +0100 +Subject: Fix build on x32 + +Recognize x32 and disable JIT in this configuration. + +Task-number: QTBUG-35463 +Change-Id: Ie5bf64f22f3e58a9b3f12190cf790ad6c39f415e +--- + src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h +index 0b95639..85ed8a7 100644 +--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h ++++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h +@@ -202,6 +202,11 @@ + #if defined(__x86_64__) \ + || defined(_M_X64) + #define WTF_CPU_X86_64 1 ++ ++#if defined(__ILP32__) ++#define WTF_CPU_X32 1 ++#endif ++ + #endif + + /* 64-bit mode on AIX */ +@@ -906,7 +911,7 @@ + #endif + + #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64) +-#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64) ++#if (CPU(X86_64) && !CPU(X32) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64) + #define WTF_USE_JSVALUE64 1 + #elif CPU(ARM) || CPU(PPC64) + #define WTF_USE_JSVALUE32 1 +@@ -923,6 +928,11 @@ on MinGW. See https://bugs.webkit.org/show_bug.cgi?id=29268 */ + #define ENABLE_REPAINT_THROTTLING 0 + #endif + ++/* Disable JIT on x32 */ ++#if CPU(X32) ++#define ENABLE_JIT 0 ++#endif ++ + #if !defined(ENABLE_JIT) + + /* The JIT is tested & working on x86_64 Mac */ +-- +cgit v0.11.0 + diff --git a/dev-qt/qtscript/metadata.xml b/dev-qt/qtscript/metadata.xml new file mode 100644 index 000000000000..a559e6341854 --- /dev/null +++ b/dev-qt/qtscript/metadata.xml @@ -0,0 +1,22 @@ +<?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="exceptions">Add support for exceptions - like catching them + inside the event loop (recommended by upstream)</flag> + <flag name="scripttools">Build the QtScriptTools module (requires QtWidgets)</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/qtscript/qtscript-4.8.7.ebuild b/dev-qt/qtscript/qtscript-4.8.7.ebuild new file mode 100644 index 000000000000..ce3c8d0893c2 --- /dev/null +++ b/dev-qt/qtscript/qtscript-4.8.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit qt4-build-multilib + +DESCRIPTION="The QtScript module for the Qt toolkit" + +if [[ ${QT4_BUILD_TYPE} == release ]]; then + KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +fi + +IUSE="+jit" + +DEPEND=" + ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] +" +RDEPEND="${DEPEND}" + +QT4_TARGET_DIRECTORIES="src/script" + +QCONFIG_ADD="script" +QCONFIG_DEFINE="QT_SCRIPT" + +PATCHES=( "${FILESDIR}/4.8.6-javascriptcore-x32.patch" ) + +multilib_src_configure() { + local myconf=( + $(qt_use jit javascript-jit) + -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama + -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif + -no-libpng -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon + -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff + -no-accessibility -no-fontconfig -no-glib -no-opengl -no-svg + -no-gtkstyle + ) + qt4_multilib_src_configure +} diff --git a/dev-qt/qtscript/qtscript-5.11.1.ebuild b/dev-qt/qtscript/qtscript-5.11.1.ebuild new file mode 100644 index 000000000000..2644fc6ec232 --- /dev/null +++ b/dev-qt/qtscript/qtscript-5.11.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd" +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 +} diff --git a/dev-qt/qtscript/qtscript-5.9.4.ebuild b/dev-qt/qtscript/qtscript-5.9.4.ebuild new file mode 100644 index 000000000000..54141c4a6bac --- /dev/null +++ b/dev-qt/qtscript/qtscript-5.9.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 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 ~arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-fbsd" +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 +} diff --git a/dev-qt/qtscript/qtscript-5.9.6.ebuild b/dev-qt/qtscript/qtscript-5.9.6.ebuild new file mode 100644 index 000000000000..a1f1da28d553 --- /dev/null +++ b/dev-qt/qtscript/qtscript-5.9.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd" +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 +} |