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: Thu, 07 Jan 2021 16:31:59
Message-Id: 1610037035.1f692d9d537f4405682e4e3a005fcdc949643090.asturm@gentoo
1 commit: 1f692d9d537f4405682e4e3a005fcdc949643090
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 15:56:00 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 16:30:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f692d9d
7
8 dev-qt/qtcore: Drop 5.15.2-r1
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-qt/qtcore/qtcore-5.15.2-r1.ebuild | 105 ----------------------------------
14 1 file changed, 105 deletions(-)
15
16 diff --git a/dev-qt/qtcore/qtcore-5.15.2-r1.ebuild b/dev-qt/qtcore/qtcore-5.15.2-r1.ebuild
17 deleted file mode 100644
18 index b00b449ee60..00000000000
19 --- a/dev-qt/qtcore/qtcore-5.15.2-r1.ebuild
20 +++ /dev/null
21 @@ -1,105 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -QT5_MODULE="qtbase"
28 -inherit linux-info qt5-build
29 -
30 -DESCRIPTION="Cross-platform application development framework"
31 -SLOT=5/$(ver_cut 1-3)
32 -
33 -if [[ ${QT5_BUILD_TYPE} == release ]]; then
34 - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~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 - !<dev-qt/qtcore-4.8.7-r4:4
50 - dev-qt/qtchooser
51 -"
52 -
53 -QT5_TARGET_SUBDIRS=(
54 - src/tools/bootstrap
55 - src/tools/moc
56 - src/tools/rcc
57 - src/corelib
58 - src/tools/qlalr
59 - doc
60 -)
61 -
62 -QT5_GENTOO_PRIVATE_CONFIG=(
63 - !:network
64 - !:sql
65 - !:testlib
66 - !:xml
67 -)
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/${PN}-5.14.1-cmake-macro-backward-compat.patch # bug 703306
71 - "${FILESDIR}"/${PN}-5.15.1-timezone-{1,2}.patch # bug 737914
72 - "${FILESDIR}"/${P}-fix-UB-in-QDateTime.patch # QTBUG-88656
73 -)
74 -
75 -pkg_pretend() {
76 - use kernel_linux || return
77 - get_running_version
78 - if kernel_is -lt 4 11 && ! use old-kernel; then
79 - ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for"
80 - ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856"
81 - fi
82 -}
83 -
84 -src_prepare() {
85 - # don't add -O3 to CXXFLAGS, bug 549140
86 - sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die
87 -
88 - # fix missing qt_version_tag symbol w/ LTO, bug 674382
89 - sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die
90 -
91 - qt5-build_src_prepare
92 -}
93 -
94 -src_configure() {
95 - local myconf=(
96 - $(qt_use icu)
97 - $(qt_use !icu iconv)
98 - $(qt_use systemd journald)
99 - )
100 - use old-kernel && myconf+=(
101 - -no-feature-renameat2 # needs Linux 3.16, bug 669994
102 - -no-feature-getentropy # needs Linux 3.17, bug 669994
103 - -no-feature-statx # needs Linux 4.11, bug 672856
104 - )
105 - qt5-build_src_configure
106 -}
107 -
108 -src_install() {
109 - qt5-build_src_install
110 -
111 - local flags=(
112 - DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG
113 - OPENGL OPENSSL SSL WIDGETS
114 - )
115 -
116 - for flag in ${flags[@]}; do
117 - cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die
118 -
119 - #if defined(QT_NO_${flag}) && defined(QT_${flag})
120 - # undef QT_NO_${flag}
121 - #elif !defined(QT_NO_${flag}) && !defined(QT_${flag})
122 - # define QT_NO_${flag}
123 - #endif
124 - _EOF_
125 - done
126 -}