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: Wed, 29 Jan 2020 20:28:32
Message-Id: 1580329678.c87e6b815222baf8914ae58f8b65122cbfd3f6bf.asturm@gentoo
1 commit: c87e6b815222baf8914ae58f8b65122cbfd3f6bf
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 29 20:17:58 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 29 20:27:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87e6b81
7
8 dev-qt/qtcore: Security cleanup
9
10 Bug: https://bugs.gentoo.org/699226
11 Package-Manager: Portage-2.3.86, Repoman-2.3.20
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-qt/qtcore/qtcore-5.12.3.ebuild | 84 --------------------------------------
15 1 file changed, 84 deletions(-)
16
17 diff --git a/dev-qt/qtcore/qtcore-5.12.3.ebuild b/dev-qt/qtcore/qtcore-5.12.3.ebuild
18 deleted file mode 100644
19 index e952fc2cc0c..00000000000
20 --- a/dev-qt/qtcore/qtcore-5.12.3.ebuild
21 +++ /dev/null
22 @@ -1,84 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -QT5_MODULE="qtbase"
28 -inherit qt5-build
29 -
30 -DESCRIPTION="Cross-platform application development framework"
31 -
32 -if [[ ${QT5_BUILD_TYPE} == release ]]; then
33 - KEYWORDS="arm x86"
34 -fi
35 -
36 -IUSE="icu systemd"
37 -
38 -DEPEND="
39 - dev-libs/double-conversion:=
40 - dev-libs/glib:2
41 - dev-libs/libpcre2[pcre16,unicode]
42 - sys-libs/zlib:=
43 - icu? ( dev-libs/icu:= )
44 - !icu? ( virtual/libiconv )
45 - systemd? ( sys-apps/systemd:= )
46 -"
47 -RDEPEND="${DEPEND}
48 - !<dev-qt/qtcore-4.8.7-r4:4
49 -"
50 -
51 -QT5_TARGET_SUBDIRS=(
52 - src/tools/bootstrap
53 - src/tools/moc
54 - src/tools/rcc
55 - src/tools/qfloat16-tables
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 -src_prepare() {
69 - # don't add -O3 to CXXFLAGS, bug 549140
70 - sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die
71 -
72 - # fix missing qt_version_tag symbol w/ LTO, bug 674382
73 - sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die
74 -
75 - qt5-build_src_prepare
76 -}
77 -
78 -src_configure() {
79 - local myconf=(
80 - -no-feature-statx # bug 672856
81 - $(qt_use icu)
82 - $(qt_use !icu iconv)
83 - $(qt_use systemd journald)
84 - )
85 - qt5-build_src_configure
86 -}
87 -
88 -src_install() {
89 - qt5-build_src_install
90 -
91 - local flags=(
92 - DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG
93 - OPENGL OPENSSL SSL WIDGETS
94 - )
95 -
96 - for flag in ${flags[@]}; do
97 - cat >> "${D%/}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die
98 -
99 - #if defined(QT_NO_${flag}) && defined(QT_${flag})
100 - # undef QT_NO_${flag}
101 - #elif !defined(QT_NO_${flag}) && !defined(QT_${flag})
102 - # define QT_NO_${flag}
103 - #endif
104 - _EOF_
105 - done
106 -}