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/qtgui/
Date: Sat, 02 Jan 2021 01:23:07
Message-Id: 1609550552.540d8edd60aa46709b72baebc91f0058527ff20a.asturm@gentoo
1 commit: 540d8edd60aa46709b72baebc91f0058527ff20a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 17:03:51 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 01:22:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=540d8edd
7
8 dev-qt/qtgui: 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/qtgui/qtgui-5.15.2.ebuild | 187 ---------------------------------------
14 1 file changed, 187 deletions(-)
15
16 diff --git a/dev-qt/qtgui/qtgui-5.15.2.ebuild b/dev-qt/qtgui/qtgui-5.15.2.ebuild
17 deleted file mode 100644
18 index 2e272cfbc2f..00000000000
19 --- a/dev-qt/qtgui/qtgui-5.15.2.ebuild
20 +++ /dev/null
21 @@ -1,187 +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 qt5-build
29 -
30 -DESCRIPTION="The GUI module and platform plugins for the Qt5 framework"
31 -SLOT=5/$(ver_cut 1-3) # bug 707658
32 -
33 -if [[ ${QT5_BUILD_TYPE} == release ]]; then
34 - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
35 -fi
36 -
37 -# TODO: linuxfb
38 -
39 -IUSE="accessibility dbus egl eglfs evdev +gif gles2-only ibus jpeg
40 - +libinput +png tslib tuio +udev vnc vulkan wayland +X"
41 -REQUIRED_USE="
42 - || ( eglfs X )
43 - accessibility? ( dbus X )
44 - eglfs? ( egl )
45 - ibus? ( dbus )
46 - libinput? ( udev )
47 - X? ( gles2-only? ( egl ) )
48 -"
49 -
50 -COMMON_DEPEND="
51 - dev-libs/glib:2
52 - ~dev-qt/qtcore-${PV}:5=
53 - dev-util/gtk-update-icon-cache
54 - media-libs/fontconfig
55 - >=media-libs/freetype-2.6.1:2
56 - >=media-libs/harfbuzz-1.6.0:=
57 - sys-libs/zlib:=
58 - dbus? ( ~dev-qt/qtdbus-${PV} )
59 - egl? ( media-libs/mesa[egl] )
60 - eglfs? (
61 - media-libs/mesa[gbm]
62 - x11-libs/libdrm
63 - )
64 - evdev? ( sys-libs/mtdev )
65 - gles2-only? ( media-libs/mesa[gles2] )
66 - !gles2-only? ( virtual/opengl )
67 - jpeg? ( virtual/jpeg:0 )
68 - libinput? (
69 - dev-libs/libinput:=
70 - >=x11-libs/libxkbcommon-0.5.0
71 - )
72 - png? ( media-libs/libpng:0= )
73 - tslib? ( >=x11-libs/tslib-1.21 )
74 - tuio? ( ~dev-qt/qtnetwork-${PV} )
75 - udev? ( virtual/libudev:= )
76 - vnc? ( ~dev-qt/qtnetwork-${PV} )
77 - vulkan? ( dev-util/vulkan-headers )
78 - X? (
79 - x11-libs/libICE
80 - x11-libs/libSM
81 - x11-libs/libX11
82 - >=x11-libs/libxcb-1.12:=[xkb]
83 - >=x11-libs/libxkbcommon-0.5.0[X]
84 - x11-libs/xcb-util-image
85 - x11-libs/xcb-util-keysyms
86 - x11-libs/xcb-util-renderutil
87 - x11-libs/xcb-util-wm
88 - )
89 -"
90 -DEPEND="${COMMON_DEPEND}
91 - evdev? ( sys-kernel/linux-headers )
92 - udev? ( sys-kernel/linux-headers )
93 -"
94 -RDEPEND="${COMMON_DEPEND}
95 - dev-qt/qtchooser
96 -"
97 -PDEPEND="
98 - ibus? ( app-i18n/ibus )
99 - wayland? ( ~dev-qt/qtwayland-${PV} )
100 -"
101 -
102 -QT5_TARGET_SUBDIRS=(
103 - src/tools/qvkgen
104 - src/gui
105 - src/openglextensions
106 - src/platformheaders
107 - src/platformsupport
108 - src/plugins/generic
109 - src/plugins/imageformats
110 - src/plugins/platforms
111 - src/plugins/platforminputcontexts
112 -)
113 -
114 -QT5_GENTOO_CONFIG=(
115 - accessibility:accessibility-atspi-bridge
116 - egl:egl:
117 - eglfs:eglfs:
118 - eglfs:eglfs_egldevice:
119 - eglfs:eglfs_gbm:
120 - evdev:evdev:
121 - evdev:mtdev:
122 - :fontconfig:
123 - :system-freetype:FREETYPE
124 - !:no-freetype:
125 - !gif:no-gif:
126 - gles2-only::OPENGL_ES
127 - gles2-only:opengles2:OPENGL_ES_2
128 - !:no-gui:
129 - :system-harfbuzz:
130 - !:no-harfbuzz:
131 - jpeg:system-jpeg:IMAGEFORMAT_JPEG
132 - !jpeg:no-jpeg:
133 - libinput
134 - libinput:xkbcommon:
135 - :opengl
136 - png:png:
137 - png:system-png:IMAGEFORMAT_PNG
138 - !png:no-png:
139 - tslib:tslib:
140 - udev:libudev:
141 - vulkan:vulkan:
142 - X:xcb:
143 - X:xcb-glx:
144 - X:xcb-plugin:
145 - X:xcb-render:
146 - X:xcb-sm:
147 - X:xcb-xlib:
148 - X:xcb-xinput:
149 -)
150 -
151 -QT5_GENTOO_PRIVATE_CONFIG=(
152 - :gui
153 -)
154 -
155 -PATCHES=(
156 - "${FILESDIR}/qt-5.12-gcc-avx2.patch" # bug 672946
157 - "${FILESDIR}/${PN}-5.14.1-cmake-macro-backward-compat.patch" # bug 703306
158 -)
159 -
160 -src_prepare() {
161 - # don't add -O3 to CXXFLAGS, bug 549140
162 - sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/gui/gui.pro || die
163 -
164 - # egl_x11 is activated when both egl and X are enabled
165 - use egl && QT5_GENTOO_CONFIG+=(X:egl_x11:) || QT5_GENTOO_CONFIG+=(egl:egl_x11:)
166 -
167 - qt_use_disable_config dbus dbus \
168 - src/platformsupport/themes/genericunix/genericunix.pri
169 -
170 - qt_use_disable_config tuio tuiotouch src/plugins/generic/generic.pro
171 -
172 - qt_use_disable_mod ibus dbus \
173 - src/plugins/platforminputcontexts/platforminputcontexts.pro
174 -
175 - use vnc || sed -i -e '/SUBDIRS += vnc/d' \
176 - src/plugins/platforms/platforms.pro || die
177 -
178 - qt5-build_src_prepare
179 -}
180 -
181 -src_configure() {
182 - local myconf=(
183 - $(usex dbus -dbus-linked '')
184 - $(qt_use egl)
185 - $(qt_use eglfs)
186 - $(usex eglfs '-gbm -kms' '')
187 - $(qt_use evdev)
188 - $(qt_use evdev mtdev)
189 - -fontconfig
190 - -system-freetype
191 - $(usex gif '' -no-gif)
192 - -gui
193 - -system-harfbuzz
194 - $(qt_use jpeg libjpeg system)
195 - $(qt_use libinput)
196 - -opengl $(usex gles2-only es2 desktop)
197 - $(qt_use png libpng system)
198 - $(qt_use tslib)
199 - $(qt_use udev libudev)
200 - $(qt_use vulkan)
201 - $(qt_use X xcb)
202 - $(usex X '-xcb-xlib' '')
203 - )
204 - if use libinput || use X; then
205 - myconf+=( -xkbcommon )
206 - fi
207 - qt5-build_src_configure
208 -}