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, 02 Jan 2021 01:23:06
Message-Id: 1609550551.707b07691c5bf451f9d96e746d82a21624d20e4d.asturm@gentoo
1 commit: 707b07691c5bf451f9d96e746d82a21624d20e4d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 16:58:31 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 01:22:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=707b0769
7
8 dev-qt/qtcore: Drop 5.15.2 (r0)
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.ebuild | 104 -------------------------------------
14 1 file changed, 104 deletions(-)
15
16 diff --git a/dev-qt/qtcore/qtcore-5.15.2.ebuild b/dev-qt/qtcore/qtcore-5.15.2.ebuild
17 deleted file mode 100644
18 index 930bd912dbd..00000000000
19 --- a/dev-qt/qtcore/qtcore-5.15.2.ebuild
20 +++ /dev/null
21 @@ -1,104 +0,0 @@
22 -# Copyright 1999-2020 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 -)
73 -
74 -pkg_pretend() {
75 - use kernel_linux || return
76 - get_running_version
77 - if kernel_is -lt 4 11 && ! use old-kernel; then
78 - ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for"
79 - ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856"
80 - fi
81 -}
82 -
83 -src_prepare() {
84 - # don't add -O3 to CXXFLAGS, bug 549140
85 - sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die
86 -
87 - # fix missing qt_version_tag symbol w/ LTO, bug 674382
88 - sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die
89 -
90 - qt5-build_src_prepare
91 -}
92 -
93 -src_configure() {
94 - local myconf=(
95 - $(qt_use icu)
96 - $(qt_use !icu iconv)
97 - $(qt_use systemd journald)
98 - )
99 - use old-kernel && myconf+=(
100 - -no-feature-renameat2 # needs Linux 3.16, bug 669994
101 - -no-feature-getentropy # needs Linux 3.17, bug 669994
102 - -no-feature-statx # needs Linux 4.11, bug 672856
103 - )
104 - qt5-build_src_configure
105 -}
106 -
107 -src_install() {
108 - qt5-build_src_install
109 -
110 - local flags=(
111 - DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG
112 - OPENGL OPENSSL SSL WIDGETS
113 - )
114 -
115 - for flag in ${flags[@]}; do
116 - cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die
117 -
118 - #if defined(QT_NO_${flag}) && defined(QT_${flag})
119 - # undef QT_NO_${flag}
120 - #elif !defined(QT_NO_${flag}) && !defined(QT_${flag})
121 - # define QT_NO_${flag}
122 - #endif
123 - _EOF_
124 - done
125 -}