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/qtwebkit/
Date: Sat, 30 Nov 2019 13:26:04
Message-Id: 1575120326.a1497d8ae044e812a945f8dca106479968b64192.asturm@gentoo
1 commit: a1497d8ae044e812a945f8dca106479968b64192
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 30 13:24:30 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 30 13:25:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1497d8a
7
8 dev-qt/qtwebkit: Drop 5.212.0_pre20180120
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-qt/qtwebkit/Manifest | 1 -
14 .../qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild | 150 ---------------------
15 2 files changed, 151 deletions(-)
16
17 diff --git a/dev-qt/qtwebkit/Manifest b/dev-qt/qtwebkit/Manifest
18 index 1e6cb48c55f..eaf27bbbb9d 100644
19 --- a/dev-qt/qtwebkit/Manifest
20 +++ b/dev-qt/qtwebkit/Manifest
21 @@ -1,2 +1 @@
22 DIST qtwebkit-5.212.0-alpha3.tar.xz 12457896 BLAKE2B 1b6ce78706a9696f0eb1fbe287d0d095d0089daf645a9ca60f9f31b9057669180b14d67a3bdfb387fc09dbbeee658c0e895a95edc46b2020f06f2b58188ba65d SHA512 38794514b886de3fa63a41277c2bcbb970e87a12070962b527e3898466cf7ad3b65ce4588669498415d365310b37729e81aabb457808fe11120558ef8e35445f
23 -DIST qtwebkit-5.212.0_pre20180120.tar.gz 18830192 BLAKE2B a74329c424f5546cbbfda8f398da8547a78661c66e26e8168ba2fc35140070cbd0e826aeadc6b4f1b30ef3f8dc5259a017fb4cb73990b1f03ed541afcab50ec0 SHA512 582b0c5cb10756d88206a9b935a868026f2c2294c6476c0668ad416880b921735efbad32635671daa89792ba9a6d4ff397534df150fe641d984d5784ce0bf047
24
25 diff --git a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild b/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild
26 deleted file mode 100644
27 index 5d0412d03ff..00000000000
28 --- a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild
29 +++ /dev/null
30 @@ -1,150 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -COMMIT=72cfbd7664f21fcc0e62b869a6b01bf73eb5e7da
37 -CMAKE_MAKEFILE_GENERATOR="ninja"
38 -PYTHON_COMPAT=( python2_7 )
39 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
40 -
41 -inherit check-reqs cmake-utils flag-o-matic python-any-r1 qmake-utils ruby-single toolchain-funcs
42 -
43 -DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
44 -HOMEPAGE="https://www.qt.io/"
45 -SRC_URI="mirror://gentoo/${P}.tar.gz"
46 -
47 -LICENSE="BSD LGPL-2+"
48 -SLOT="5/5.212"
49 -KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
50 -IUSE="geolocation gles2 +gstreamer +hyphen +jit multimedia nsplugin opengl orientation +printsupport qml webp X"
51 -
52 -REQUIRED_USE="
53 - nsplugin? ( X )
54 - qml? ( opengl )
55 - ?? ( gstreamer multimedia )
56 -"
57 -
58 -# Dependencies found at Source/cmake/OptionsQt.cmake
59 -QT_MIN_VER="5.9.1:5"
60 -RDEPEND="
61 - dev-db/sqlite:3
62 - dev-libs/icu:=
63 - dev-libs/libxml2
64 - dev-libs/libxslt
65 - >=dev-qt/qtcore-${QT_MIN_VER}
66 - >=dev-qt/qtgui-${QT_MIN_VER}
67 - >=dev-qt/qtnetwork-${QT_MIN_VER}
68 - >=dev-qt/qtwidgets-${QT_MIN_VER}=
69 - media-libs/libpng:0=
70 - virtual/jpeg:0
71 - geolocation? ( >=dev-qt/qtpositioning-${QT_MIN_VER} )
72 - gstreamer? (
73 - dev-libs/glib:2
74 - media-libs/gstreamer:1.0
75 - media-libs/gst-plugins-base:1.0
76 - media-libs/gst-plugins-bad:1.0
77 - )
78 - hyphen? ( dev-libs/hyphen )
79 - multimedia? ( >=dev-qt/qtmultimedia-${QT_MIN_VER}[widgets] )
80 - opengl? (
81 - >=dev-qt/qtgui-${QT_MIN_VER}[gles2=]
82 - >=dev-qt/qtopengl-${QT_MIN_VER}[gles2=]
83 - )
84 - orientation? ( >=dev-qt/qtsensors-${QT_MIN_VER} )
85 - printsupport? ( >=dev-qt/qtprintsupport-${QT_MIN_VER} )
86 - qml? (
87 - >=dev-qt/qtdeclarative-${QT_MIN_VER}
88 - >=dev-qt/qtwebchannel-${QT_MIN_VER}[qml]
89 - )
90 - webp? ( media-libs/libwebp:= )
91 - X? (
92 - x11-libs/libX11
93 - x11-libs/libXcomposite
94 - x11-libs/libXrender
95 - )
96 -"
97 -DEPEND="${RDEPEND}
98 - ${PYTHON_DEPS}
99 - ${RUBY_DEPS}
100 - dev-lang/perl
101 - dev-util/gperf
102 - >=sys-devel/bison-2.4.3
103 - sys-devel/flex
104 - virtual/pkgconfig
105 -"
106 -
107 -S=${WORKDIR}/${COMMIT}
108 -
109 -PATCHES=(
110 - "${FILESDIR}/${P}-functional.patch"
111 - "${FILESDIR}/${P}-fix-pkgconfig.patch"
112 - "${FILESDIR}/${P}-cmake-fix-pkgconfig_deps-spelling.patch"
113 - "${FILESDIR}/${P}-js-build-error.patch"
114 -)
115 -
116 -CHECKREQS_DISK_BUILD="16G" # bug 417307
117 -
118 -_check_reqs() {
119 - if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0"; then
120 - einfo "Checking for sufficient disk space to build ${PN} with debugging flags"
121 - check-reqs_$1
122 - fi
123 -}
124 -
125 -pkg_pretend() {
126 - _check_reqs pkg_pretend
127 -}
128 -
129 -pkg_setup() {
130 - _check_reqs pkg_setup
131 - python-any-r1_pkg_setup
132 -}
133 -
134 -src_configure() {
135 - # Respect CC, otherwise fails on prefix, bug #395875
136 - tc-export CC
137 -
138 - # Multiple rendering bugs on youtube, github, etc without this, bug #547224
139 - append-flags $(test-flags -fno-strict-aliasing)
140 -
141 - local mycmakeargs=(
142 - -DPORT=Qt
143 - -DENABLE_API_TESTS=OFF
144 - -DENABLE_TOOLS=OFF
145 - -DENABLE_GEOLOCATION=$(usex geolocation)
146 - -DUSE_GSTREAMER=$(usex gstreamer)
147 - -DUSE_LIBHYPHEN=$(usex hyphen)
148 - -DENABLE_JIT=$(usex jit)
149 - -DUSE_QT_MULTIMEDIA=$(usex multimedia)
150 - -DENABLE_NETSCAPE_PLUGIN_API=$(usex nsplugin)
151 - -DENABLE_OPENGL=$(usex opengl)
152 - -DENABLE_PRINT_SUPPORT=$(usex printsupport)
153 - -DENABLE_DEVICE_ORIENTATION=$(usex orientation)
154 - -DENABLE_WEBKIT2=$(usex qml)
155 - $(cmake-utils_use_find_package webp WebP)
156 - -DENABLE_X11_TARGET=$(usex X)
157 - )
158 -
159 - if has_version "virtual/rubygems[ruby_targets_ruby26]"; then
160 - mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby26) )
161 - elif has_version "virtual/rubygems[ruby_targets_ruby25]"; then
162 - mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby25) )
163 - elif has_version "virtual/rubygems[ruby_targets_ruby24]"; then
164 - mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby24) )
165 - else
166 - mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby23) )
167 - fi
168 -
169 - cmake-utils_src_configure
170 -}
171 -
172 -src_install() {
173 - cmake-utils_src_install
174 -
175 - # bug 572056
176 - if [[ ! -f ${ED%/}$(qt5_get_libdir)/libQt5WebKit.so ]]; then
177 - eerror "${CATEGORY}/${PF} could not build due to a broken ruby environment."
178 - die 'Check "eselect ruby" and ensure you have a working ruby in your $PATH'
179 - fi
180 -}