summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-01-10 00:49:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-01-10 01:04:34 +0100
commitf74337bbd00038bede4f847d990f90afa7ba2b2d (patch)
treedd04251a0cd1399e6322338a59776c041f8fa59f /dev-qt
parentdev-qt/qtnetwork: Bump to QT5_KDEPATCHSET_REV=2 (diff)
downloadgentoo-f74337bbd00038bede4f847d990f90afa7ba2b2d.tar.gz
gentoo-f74337bbd00038bede4f847d990f90afa7ba2b2d.tar.bz2
gentoo-f74337bbd00038bede4f847d990f90afa7ba2b2d.zip
dev-qt/qtdeclarative: Bump to QT5_KDEPATCHSET_REV=2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtdeclarative/Manifest1
-rw-r--r--dev-qt/qtdeclarative/qtdeclarative-5.15.8-r1.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-qt/qtdeclarative/Manifest b/dev-qt/qtdeclarative/Manifest
index a67365f7f3a8..36bff9fc1c2d 100644
--- a/dev-qt/qtdeclarative/Manifest
+++ b/dev-qt/qtdeclarative/Manifest
@@ -1,5 +1,6 @@
DIST qtdeclarative-5.15.7-gentoo-kde-1.tar.xz 24768 BLAKE2B 4595a64432e7c05eb51d9b565189d7f1d76e4d372db4247f1c21f8b4a655a0243c2487203ea669ac88143bb3f3d5dad969370d56522b046bc8fcc28d6597e124 SHA512 96859b52ccc453379c9137587176a26f99f2d4339bbf9008f8268585e77852339b32ffd86b57715109d573b5c6e2ad4963638ae946359d5b46e7a2e570ab2c64
DIST qtdeclarative-5.15.8-gentoo-kde-1.tar.xz 19932 BLAKE2B e889597ce322d642f0a1a60fd47b23a34b7d40585ab34841cfbce2225c24a4c56075698a3c9b9b93eb8dce80f2a42140269b84538a6c2817997221404892c180 SHA512 88c9483fca6eb10ecf4810dac369260b7d85372a1b698ea9587201398f65d442b6f8bd87603a277acc71f94e6f7cff2cca750888261a3b31c2734c09415d1fd3
+DIST qtdeclarative-5.15.8-gentoo-kde-2.tar.xz 20772 BLAKE2B ff77a5abd7e21cc80ba65cc236b7c7319f026b2b75df171c53043f766393b46da518c9dfe64a191b7445b6152bb91acb5ae628d8e354dfb701cf855d61960dbe SHA512 bea576f5b3366c21c2ef7f1225db9a355c9a6d8e643d5a084e02b2c6567ca4c93d910ba1f0c0a2620b4f6ac25ce4fd0d6276b14f8b77040b1d3a91a802294cd8
DIST qtdeclarative-everywhere-opensource-src-5.15.7.tar.xz 21591224 BLAKE2B bdb11b3929419a80a3ccd4bbcbc38c17069f1ddbfe5a8bb06345afda7d1cec66396b262b8e2783227912fca90c62b83b388922f631fb284b3b4476c43882276a SHA512 909721a7c756ad3f55fa30b539ddd7f459449edc599883a4e04acbe6f1cecaf44b3a5f2b3b17adb83adaf8cd3e1e5e7e09829b30b0df3dacb1e203892b996508
DIST qtdeclarative-everywhere-opensource-src-5.15.8.tar.xz 21592984 BLAKE2B 623264ffcca9f623896d73ce946cc0f621bdae50b520e454b59a1888a2c767f0ff089f69ed1c5e028d01fd28ae447add826fb09c615718af61e787fa1849b16e SHA512 c611cc1d25b7eea1da3e5932d253d024459044d8fff6a31066033ea5867dd20aeb183b2d2ba8a2ca71cf263fc1921126509212dd43ab680134e7a9df8d937d73
DIST qtdeclarative-everywhere-src-6.4.0.tar.xz 30538764 BLAKE2B 919081ba8a29a07daa01084388454a3d5f814e12ff5d1a4d3b647650e4bd6a839876baee1ab09e664e55e814338dbf675e70e4c44c28842a363c8f2dcf1a2b18 SHA512 6d43c09a14e2ca236fc50166ed477e37084e89a67a04d914f30f31662a18a4e6d0433cb9b2f0654ba9ffcbcd7abcb5dadcb7b12f0ef5928fc11b10925ee6f41e
diff --git a/dev-qt/qtdeclarative/qtdeclarative-5.15.8-r1.ebuild b/dev-qt/qtdeclarative/qtdeclarative-5.15.8-r1.ebuild
new file mode 100644
index 000000000000..27750dcfd317
--- /dev/null
+++ b/dev-qt/qtdeclarative/qtdeclarative-5.15.8-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2009-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} != *9999* ]]; then
+ QT5_KDEPATCHSET_REV=2
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit flag-o-matic python-any-r1 qt5-build
+
+DESCRIPTION="The QML and Quick modules for the Qt5 framework"
+
+IUSE="gles2-only +jit localstorage vulkan +widgets"
+
+# qtgui[gles2-only=] is needed because of bug 504322
+DEPEND="
+ =dev-qt/qtcore-${QT5_PV}*
+ =dev-qt/qtgui-${QT5_PV}*:5=[gles2-only=,vulkan=]
+ =dev-qt/qtnetwork-${QT5_PV}*
+ =dev-qt/qttest-${QT5_PV}*
+ media-libs/libglvnd
+ localstorage? ( =dev-qt/qtsql-${QT5_PV}* )
+ widgets? ( =dev-qt/qtwidgets-${QT5_PV}*[gles2-only=] )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.14.2-QQuickItemView-fix-maxXY-extent.patch" # QTBUG-83890
+)
+
+src_prepare() {
+ qt_use_disable_mod localstorage sql \
+ src/imports/imports.pro
+
+ qt_use_disable_mod widgets widgets \
+ src/src.pro \
+ src/qmltest/qmltest.pro \
+ tests/auto/auto.pro \
+ tools/tools.pro \
+ tools/qmlscene/qmlscene.pro \
+ tools/qml/qml.pro
+
+ qt5-build_src_prepare
+}
+
+src_configure() {
+ replace-flags "-Os" "-O2" # bug 840861
+
+ local myqmakeargs=(
+ --
+ -qml-debug
+ $(qt_use jit feature-qml-jit)
+ )
+ qt5-build_src_configure
+}
+
+src_install() {
+ qt5-build_src_install
+ qt5_symlink_binary_to_path qml 5
+ qt5_symlink_binary_to_path qmleasing 5
+ qt5_symlink_binary_to_path qmlpreview 5
+ qt5_symlink_binary_to_path qmlscene 5
+}