1 |
commit: 0dcf5b3010ab33e7f058ea910b3798f47d7a040d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 13 14:14:09 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 13 15:01:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dcf5b30 |
7 |
|
8 |
dev-qt/qtcore: Drop 5.15.1 (r0) |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-qt/qtcore/qtcore-5.15.1.ebuild | 100 ------------------------------------- |
14 |
1 file changed, 100 deletions(-) |
15 |
|
16 |
diff --git a/dev-qt/qtcore/qtcore-5.15.1.ebuild b/dev-qt/qtcore/qtcore-5.15.1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 449fddfc065..00000000000 |
19 |
--- a/dev-qt/qtcore/qtcore-5.15.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,100 +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 |
-" |
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 |
-PATCHES=( "${FILESDIR}/${PN}-5.14.1-cmake-macro-backward-compat.patch" ) # bug 703306 |
69 |
- |
70 |
-pkg_pretend() { |
71 |
- use kernel_linux || return |
72 |
- get_running_version |
73 |
- if kernel_is -lt 4 11 && ! use old-kernel; then |
74 |
- ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for" |
75 |
- ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856" |
76 |
- fi |
77 |
-} |
78 |
- |
79 |
-src_prepare() { |
80 |
- # don't add -O3 to CXXFLAGS, bug 549140 |
81 |
- sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die |
82 |
- |
83 |
- # fix missing qt_version_tag symbol w/ LTO, bug 674382 |
84 |
- sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die |
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 |
- |
106 |
- local flags=( |
107 |
- DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG |
108 |
- OPENGL OPENSSL SSL WIDGETS |
109 |
- ) |
110 |
- |
111 |
- for flag in ${flags[@]}; do |
112 |
- cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die |
113 |
- |
114 |
- #if defined(QT_NO_${flag}) && defined(QT_${flag}) |
115 |
- # undef QT_NO_${flag} |
116 |
- #elif !defined(QT_NO_${flag}) && !defined(QT_${flag}) |
117 |
- # define QT_NO_${flag} |
118 |
- #endif |
119 |
- _EOF_ |
120 |
- done |
121 |
-} |