commit:     a0471670b62ceebc334424c08e61fd5eaa576805
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 19:59:55 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 21:01:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0471670

dev-qt/qtscript: add 5.15.12

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtscript/Manifest                |  1 +
 dev-qt/qtscript/qtscript-5.15.12.ebuild | 37 +++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-qt/qtscript/Manifest b/dev-qt/qtscript/Manifest
index 71562bcd4258..0707ee578453 100644
--- a/dev-qt/qtscript/Manifest
+++ b/dev-qt/qtscript/Manifest
@@ -1 +1,2 @@
 DIST qtscript-everywhere-opensource-src-5.15.11.tar.xz 2666016 BLAKE2B 
967b367c1e4edb23c52ac3c23466b96e8540300fafd097e9d59feff3e7bcccd30c8c302a4a8a524ab56095f565116e48440d10b874ad97ef5b741ee69c25a60f
 SHA512 
116dc95c804fcd78082100d67c51c68c045a17754c8591cb885925c3b3541439317ae79ba7eefc1102ce12d2f544dc502fd67c4d8724f4d7f1347099cda3f744
+DIST qtscript-everywhere-opensource-src-5.15.12.tar.xz 2664960 BLAKE2B 
2754a33a4c3f3965201c166fab9f96f71938867a597fa14a1862f2d0ba2e149f8e33d7f7dd2b3758f9580776821346a6e458b987ae61bd4f96c2c41a1cc05bb8
 SHA512 
48a00763686a5455d0429d1ecd6b32e3e96a13f05faa6625361c49b91275b8a8b3a1de3627cc3db5c69d346686c07b9466022cf37abf394a6f097933b9dbed4a

diff --git a/dev-qt/qtscript/qtscript-5.15.12.ebuild 
b/dev-qt/qtscript/qtscript-5.15.12.ebuild
new file mode 100644
index 000000000000..45a22fb26ffd
--- /dev/null
+++ b/dev-qt/qtscript/qtscript-5.15.12.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~riscv ~sparc ~x86"
+fi
+
+IUSE="+jit scripttools"
+
+DEPEND="
+       =dev-qt/qtcore-${QT5_PV}*
+       scripttools? (
+               =dev-qt/qtgui-${QT5_PV}*
+               =dev-qt/qtwidgets-${QT5_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)
+       )
+       qt5-build_src_configure
+}

Reply via email to