Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtcore/
Date: Sat, 05 Nov 2022 16:35:59
Message-Id: 1667666147.17c0974925e74910eca31090b67689b3058cd4a2.asturm@gentoo
1 commit: 17c0974925e74910eca31090b67689b3058cd4a2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 5 09:29:02 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 5 16:35:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17c09749
7
8 dev-qt/qtcore: drop 5.15.5-r2
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-qt/qtcore/qtcore-5.15.5-r2.ebuild | 102 ----------------------------------
13 1 file changed, 102 deletions(-)
14
15 diff --git a/dev-qt/qtcore/qtcore-5.15.5-r2.ebuild b/dev-qt/qtcore/qtcore-5.15.5-r2.ebuild
16 deleted file mode 100644
17 index 8bdc3597ff8b..000000000000
18 --- a/dev-qt/qtcore/qtcore-5.15.5-r2.ebuild
19 +++ /dev/null
20 @@ -1,102 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -QT5_KDEPATCHSET_REV=2
27 -QT5_MODULE="qtbase"
28 -inherit linux-info qt5-build
29 -
30 -DESCRIPTION="Cross-platform application development framework"
31 -SLOT=5/${QT5_PV}
32 -
33 -if [[ ${QT5_BUILD_TYPE} == release ]]; then
34 - KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
35 -fi
36 -
37 -IUSE="icu old-kernel systemd"
38 -
39 -DEPEND="
40 - dev-libs/double-conversion:=
41 - dev-libs/glib:2
42 - dev-libs/libpcre2[pcre16,unicode]
43 - sys-libs/zlib:=
44 - icu? ( dev-libs/icu:= )
45 - !icu? ( virtual/libiconv )
46 - systemd? ( sys-apps/systemd:= )
47 -"
48 -RDEPEND="${DEPEND}"
49 -
50 -PATCHES=( "${FILESDIR}/${P}-hack_never_use_execinfo.patch" )
51 -
52 -QT5_TARGET_SUBDIRS=(
53 - src/tools/bootstrap
54 - src/tools/moc
55 - src/tools/rcc
56 - src/corelib
57 - src/tools/qlalr
58 - doc
59 -)
60 -
61 -QT5_GENTOO_PRIVATE_CONFIG=(
62 - !:network
63 - !:sql
64 - !:testlib
65 - !:xml
66 -)
67 -
68 -pkg_pretend() {
69 - use kernel_linux || return
70 - get_running_version
71 - if kernel_is -lt 4 11 && ! use old-kernel; then
72 - ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for"
73 - ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856"
74 - fi
75 -}
76 -
77 -src_prepare() {
78 - # don't add -O3 to CXXFLAGS, bug 549140
79 - sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die
80 -
81 - # fix missing qt_version_tag symbol w/ LTO, bug 674382
82 - sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die
83 -
84 - eapply "${FILESDIR}/${P}-slibtool.patch" # bug 792804, TODO: merge into _QT5_GENTOOPATCHSET_REV
85 -
86 - qt5-build_src_prepare
87 -}
88 -
89 -src_configure() {
90 - local myconf=(
91 - $(qt_use icu)
92 - $(qt_use !icu iconv)
93 - $(qt_use systemd journald)
94 - )
95 - use old-kernel && myconf+=(
96 - -no-feature-renameat2 # needs Linux 3.16, bug 669994
97 - -no-feature-getentropy # needs Linux 3.17, bug 669994
98 - -no-feature-statx # needs Linux 4.11, bug 672856
99 - )
100 - qt5-build_src_configure
101 -}
102 -
103 -src_install() {
104 - qt5-build_src_install
105 - qt5_symlink_binary_to_path qmake 5
106 -
107 - local flags=(
108 - DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG
109 - OPENGL OPENSSL SSL WIDGETS
110 - )
111 -
112 - for flag in ${flags[@]}; do
113 - cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die
114 -
115 - #if defined(QT_NO_${flag}) && defined(QT_${flag})
116 - # undef QT_NO_${flag}
117 - #elif !defined(QT_NO_${flag}) && !defined(QT_${flag})
118 - # define QT_NO_${flag}
119 - #endif
120 - _EOF_
121 - done
122 -}