1 |
commit: 1b6279c10a63bb853538ad5fa269225ac97fd084 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 6 09:19:12 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 6 10:27:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6279c1 |
7 |
|
8 |
dev-qt/qtcore: Drop 5.15.5 (r0) |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-qt/qtcore/qtcore-5.15.5.ebuild | 117 ------------------------------------- |
14 |
1 file changed, 117 deletions(-) |
15 |
|
16 |
diff --git a/dev-qt/qtcore/qtcore-5.15.5.ebuild b/dev-qt/qtcore/qtcore-5.15.5.ebuild |
17 |
deleted file mode 100644 |
18 |
index 5ae91ec69b8c..000000000000 |
19 |
--- a/dev-qt/qtcore/qtcore-5.15.5.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,117 +0,0 @@ |
22 |
-# Copyright 1999-2022 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=8 |
26 |
- |
27 |
-QT5_KDEPATCHSET_REV=1 |
28 |
-QT5_MODULE="qtbase" |
29 |
-inherit linux-info flag-o-matic qt5-build |
30 |
- |
31 |
-DESCRIPTION="Cross-platform application development framework" |
32 |
-SLOT=5/${QT5_PV} |
33 |
- |
34 |
-if [[ ${QT5_BUILD_TYPE} == release ]]; then |
35 |
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
36 |
-fi |
37 |
- |
38 |
-IUSE="icu old-kernel systemd" |
39 |
- |
40 |
-DEPEND=" |
41 |
- dev-libs/double-conversion:= |
42 |
- dev-libs/glib:2 |
43 |
- dev-libs/libpcre2[pcre16,unicode] |
44 |
- sys-libs/zlib:= |
45 |
- icu? ( dev-libs/icu:= ) |
46 |
- !icu? ( virtual/libiconv ) |
47 |
- systemd? ( sys-apps/systemd:= ) |
48 |
-" |
49 |
-RDEPEND="${DEPEND}" |
50 |
- |
51 |
-QT5_TARGET_SUBDIRS=( |
52 |
- src/tools/bootstrap |
53 |
- src/tools/moc |
54 |
- src/tools/rcc |
55 |
- src/corelib |
56 |
- src/tools/qlalr |
57 |
- doc |
58 |
-) |
59 |
- |
60 |
-QT5_GENTOO_PRIVATE_CONFIG=( |
61 |
- !:network |
62 |
- !:sql |
63 |
- !:testlib |
64 |
- !:xml |
65 |
-) |
66 |
- |
67 |
-pkg_pretend() { |
68 |
- use kernel_linux || return |
69 |
- get_running_version |
70 |
- if kernel_is -lt 4 11 && ! use old-kernel; then |
71 |
- ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for" |
72 |
- ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856" |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_prepare() { |
77 |
- # don't add -O3 to CXXFLAGS, bug 549140 |
78 |
- sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die |
79 |
- |
80 |
- # fix missing qt_version_tag symbol w/ LTO, bug 674382 |
81 |
- sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die |
82 |
- |
83 |
- # Broken with FORTIFY_SOURCE=3 |
84 |
- # Our toolchain sets F_S=2 by default w/ >= -O2, so we need |
85 |
- # to unset F_S first, then explicitly set 2, to negate any default |
86 |
- # and anything set by the user if they're choosing 3 (or if they've |
87 |
- # modified GCC to set 3). |
88 |
- # |
89 |
- # Refs: |
90 |
- # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105078 |
91 |
- # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105709 |
92 |
- # https://bugreports.qt.io/browse/QTBUG-103782 |
93 |
- # bug #847145 |
94 |
- if is-flagq '-O[23]' || is-flagq '-Ofast' ; then |
95 |
- # We can't unconditionally do this b/c we fortify needs |
96 |
- # some level of optimisation. |
97 |
- filter-flags -D_FORTIFY_SOURCE=3 |
98 |
- # (Qt doesn't seem to respect CPPFLAGS?) |
99 |
- append-flags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 |
100 |
- fi |
101 |
- |
102 |
- qt5-build_src_prepare |
103 |
-} |
104 |
- |
105 |
-src_configure() { |
106 |
- local myconf=( |
107 |
- $(qt_use icu) |
108 |
- $(qt_use !icu iconv) |
109 |
- $(qt_use systemd journald) |
110 |
- ) |
111 |
- use old-kernel && myconf+=( |
112 |
- -no-feature-renameat2 # needs Linux 3.16, bug 669994 |
113 |
- -no-feature-getentropy # needs Linux 3.17, bug 669994 |
114 |
- -no-feature-statx # needs Linux 4.11, bug 672856 |
115 |
- ) |
116 |
- qt5-build_src_configure |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- qt5-build_src_install |
121 |
- qt5_symlink_binary_to_path qmake 5 |
122 |
- |
123 |
- local flags=( |
124 |
- DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG |
125 |
- OPENGL OPENSSL SSL WIDGETS |
126 |
- ) |
127 |
- |
128 |
- for flag in ${flags[@]}; do |
129 |
- cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die |
130 |
- |
131 |
- #if defined(QT_NO_${flag}) && defined(QT_${flag}) |
132 |
- # undef QT_NO_${flag} |
133 |
- #elif !defined(QT_NO_${flag}) && !defined(QT_${flag}) |
134 |
- # define QT_NO_${flag} |
135 |
- #endif |
136 |
- _EOF_ |
137 |
- done |
138 |
-} |