1 |
commit: 5f29d90dae3078e63497c2f661c7c99f12a9df50 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 15:35:34 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 15:38:18 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f29d90d |
7 |
|
8 |
net-libs/webkit-gtk: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
net-libs/webkit-gtk/Manifest | 2 - |
13 |
net-libs/webkit-gtk/metadata.xml | 1 - |
14 |
net-libs/webkit-gtk/webkit-gtk-2.4.10-r200.ebuild | 265 --------------------- |
15 |
net-libs/webkit-gtk/webkit-gtk-2.4.10.ebuild | 276 ---------------------- |
16 |
net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild | 251 -------------------- |
17 |
5 files changed, 795 deletions(-) |
18 |
|
19 |
diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest |
20 |
index 460811e..6a7dbb5 100644 |
21 |
--- a/net-libs/webkit-gtk/Manifest |
22 |
+++ b/net-libs/webkit-gtk/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
DIST webkitgtk-2.10.9.tar.xz 10992980 SHA256 bbb18d741780b1b7fa284beb9a97361ac57cda2e42bad2ae2fcdbf797919e969 SHA512 a8eda5381f227098e208a81c093f0b83f4996378e8f54ddfbe5c164254d7e1ff4a260c827e2521c748ca02bc5a691e8bbd0f59da0718cfe18812c3b257ec5228 WHIRLPOOL c6f36d4195bbd9f97358700ac446ad65d5a426ba7f0913d69163b2f37c1aedc623bdea3650f2ad7da009f1d234c9d54a163e9155794d8218342332b82ead76df |
25 |
-DIST webkitgtk-2.4.10.tar.xz 9867504 SHA256 33fda4b20d7fec2d6e9399ba03ef3f6d2a733c628bd77d397880c44e4bf7c614 SHA512 09cff437dadfa6ba1b90674ef4d9db558710247559bb8c2894b54a43504428b99465aa5d35bf3323c22827b67711e8dc031d4b63361eb9906c96e2bfd8ee11a8 WHIRLPOOL af08ef45249313915003a150a56228b1edc25f870c149d4ece5783da302d307b40046a05bf3c157807465f248d083ebe549c48d13eefdf820eb51c2efe0f5f98 |
26 |
DIST webkitgtk-2.4.11.tar.xz 9869100 SHA256 588aea051bfbacced27fdfe0335a957dca839ebe36aa548df39c7bbafdb65bf7 SHA512 2e2cf01a52b8593765a0a3c2d7f0ad306121660019eb402226bd2826c7d4666dab4e91ca6ccbd29abe0ad3993549f256ed1ab88de22e9c8516d5f40a4edd6bfb WHIRLPOOL de86c4abfb22aacbf62163d0398158931c9cf6ab628547d3b30e613f0505d67c85c3200f7db96500e7c2b35f640cdaa7f501346fc13f492c9439dff4056849a3 |
27 |
-DIST webkitgtk-2.8.5.tar.xz 10455256 SHA256 3d1f0c534935f43fd74df90f2648fcee672d60f1f57a30fa557a77891ae04d20 SHA512 b87a4149aa133824c7855d562a872fef9067d8c7a78026b9ec29d9eb0798a4da827aac4a1ec4eb1a117f7ae50b14c415c6f04ba4ddee851cf55e2dc503c3eddb WHIRLPOOL 1bb1c542d73db31985d4afc6a9ab59730118e57f99aba1a8e81820880bf832386f77aee70f4a50cece180fdb905b7aa5a0f08b91a5eb64a77c3ad5dd82792ead |
28 |
|
29 |
diff --git a/net-libs/webkit-gtk/metadata.xml b/net-libs/webkit-gtk/metadata.xml |
30 |
index 3d3909c..6e822e5 100644 |
31 |
--- a/net-libs/webkit-gtk/metadata.xml |
32 |
+++ b/net-libs/webkit-gtk/metadata.xml |
33 |
@@ -10,7 +10,6 @@ |
34 |
<flag name="egl">Enable EGL support.</flag> |
35 |
<flag name="geoloc">Enable geolocation support through <pkg>app-misc/geoclue</pkg></flag> |
36 |
<flag name="gles2">Enable GLESv2 support.</flag> |
37 |
- <flag name="libsecret">Enable libsecret support to store login credentials</flag> |
38 |
<flag name="webgl">Build support for the WebGL HTML API using <pkg>virtual/opengl</pkg></flag> |
39 |
</use> |
40 |
</pkgmetadata> |
41 |
|
42 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.4.10-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.4.10-r200.ebuild |
43 |
deleted file mode 100644 |
44 |
index 6203b0f..0000000 |
45 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.4.10-r200.ebuild |
46 |
+++ /dev/null |
47 |
@@ -1,265 +0,0 @@ |
48 |
-# Copyright 1999-2016 Gentoo Foundation |
49 |
-# Distributed under the terms of the GNU General Public License v2 |
50 |
-# $Id$ |
51 |
- |
52 |
-EAPI="5" |
53 |
-GCONF_DEBUG="no" |
54 |
-PYTHON_COMPAT=( python2_7 ) |
55 |
-USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
56 |
- |
57 |
-inherit autotools check-reqs eutils flag-o-matic gnome2 pax-utils python-any-r1 ruby-single toolchain-funcs versionator virtualx |
58 |
- |
59 |
-MY_P="webkitgtk-${PV}" |
60 |
-DESCRIPTION="Open source web browser engine" |
61 |
-HOMEPAGE="http://www.webkitgtk.org/" |
62 |
-SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz" |
63 |
- |
64 |
-LICENSE="LGPL-2+ BSD" |
65 |
-SLOT="2" # no usable subslot |
66 |
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" |
67 |
- |
68 |
-IUSE="aqua coverage debug +egl +geoloc gles2 gnome-keyring +gstreamer +introspection +jit +opengl spell +webgl +X" |
69 |
-# bugs 372493, 416331 |
70 |
-REQUIRED_USE=" |
71 |
- geoloc? ( introspection ) |
72 |
- gles2? ( egl ) |
73 |
- introspection? ( gstreamer ) |
74 |
- webgl? ( ^^ ( gles2 opengl ) ) |
75 |
- !webgl? ( ?? ( gles2 opengl ) ) |
76 |
- || ( aqua X ) |
77 |
-" |
78 |
- |
79 |
-# use sqlite, svg by default |
80 |
-RDEPEND=" |
81 |
- dev-db/sqlite:3= |
82 |
- >=dev-libs/glib-2.36:2 |
83 |
- >=dev-libs/icu-3.8.1-r1:= |
84 |
- >=dev-libs/libxml2-2.6:2 |
85 |
- >=dev-libs/libxslt-1.1.7 |
86 |
- >=media-libs/fontconfig-2.5:1.0 |
87 |
- >=media-libs/freetype-2.4.2:2 |
88 |
- >=media-libs/harfbuzz-0.9.7:=[icu(+)] |
89 |
- >=media-libs/libpng-1.4:0= |
90 |
- media-libs/libwebp:= |
91 |
- >=net-libs/libsoup-2.42:2.4[introspection?] |
92 |
- virtual/jpeg:0= |
93 |
- >=x11-libs/cairo-1.10:=[X] |
94 |
- >=x11-libs/gtk+-2.24.10:2[aqua?,introspection?] |
95 |
- x11-libs/libXrender |
96 |
- x11-libs/libXt |
97 |
- >=x11-libs/pango-1.30.0 |
98 |
- |
99 |
- egl? ( media-libs/mesa[egl] ) |
100 |
- geoloc? ( >=app-misc/geoclue-2.1.5:2.0 ) |
101 |
- gles2? ( media-libs/mesa[gles2] ) |
102 |
- gnome-keyring? ( app-crypt/libsecret ) |
103 |
- gstreamer? ( |
104 |
- >=media-libs/gstreamer-1.2:1.0 |
105 |
- >=media-libs/gst-plugins-base-1.2:1.0 ) |
106 |
- introspection? ( >=dev-libs/gobject-introspection-1.32.0:= ) |
107 |
- opengl? ( virtual/opengl ) |
108 |
- spell? ( >=app-text/enchant-0.22:= ) |
109 |
- webgl? ( |
110 |
- x11-libs/cairo[opengl] |
111 |
- x11-libs/libXcomposite |
112 |
- x11-libs/libXdamage ) |
113 |
-" |
114 |
- |
115 |
-# paxctl needed for bug #407085 |
116 |
-# Need real bison, not yacc |
117 |
-DEPEND="${RDEPEND} |
118 |
- ${PYTHON_DEPS} |
119 |
- ${RUBY_DEPS} |
120 |
- >=dev-lang/perl-5.10 |
121 |
- >=dev-libs/atk-2.8.0 |
122 |
- >=dev-util/gtk-doc-am-1.10 |
123 |
- >=dev-util/gperf-3.0.1 |
124 |
- >=sys-devel/bison-2.4.3 |
125 |
- >=sys-devel/flex-2.5.34 |
126 |
- || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 ) |
127 |
- sys-devel/gettext |
128 |
- >=sys-devel/make-3.82-r4 |
129 |
- virtual/pkgconfig |
130 |
- |
131 |
- geoloc? ( dev-util/gdbus-codegen ) |
132 |
- introspection? ( jit? ( sys-apps/paxctl ) ) |
133 |
- test? ( |
134 |
- dev-lang/python:2.7 |
135 |
- dev-python/pygobject:3[python_targets_python2_7] |
136 |
- x11-themes/hicolor-icon-theme |
137 |
- jit? ( sys-apps/paxctl ) ) |
138 |
-" |
139 |
- |
140 |
-S="${WORKDIR}/${MY_P}" |
141 |
- |
142 |
-CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 |
143 |
- |
144 |
-pkg_pretend() { |
145 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
146 |
- einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" |
147 |
- check-reqs_pkg_pretend |
148 |
- fi |
149 |
- |
150 |
- if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then |
151 |
- die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" |
152 |
- fi |
153 |
-} |
154 |
- |
155 |
-pkg_setup() { |
156 |
- # Check whether any of the debugging flags is enabled |
157 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
158 |
- if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then |
159 |
- replace-flags -ggdb -g |
160 |
- ewarn "Replacing \"-ggdb\" with \"-g\" in your CFLAGS." |
161 |
- ewarn "Building ${PN} with \"-ggdb\" produces binaries which are too" |
162 |
- ewarn "large for current binutils releases (bug #432784) and has very" |
163 |
- ewarn "high temporary build space and memory requirements." |
164 |
- ewarn "If you really want to build ${PN} with \"-ggdb\", add" |
165 |
- ewarn "WEBKIT_GTK_GGDB=yes" |
166 |
- ewarn "to your make.conf file." |
167 |
- fi |
168 |
- einfo "You need to have at least 18GB of temporary build space available" |
169 |
- einfo "to build ${PN} with debugging CFLAGS. Note that it might still" |
170 |
- einfo "not be enough, as the total space requirements depend on the flags" |
171 |
- einfo "(-ggdb vs -g1) and enabled features." |
172 |
- check-reqs_pkg_setup |
173 |
- fi |
174 |
- |
175 |
- [[ ${MERGE_TYPE} = "binary" ]] || python-any-r1_pkg_setup |
176 |
-} |
177 |
- |
178 |
-src_prepare() { |
179 |
- # intermediate MacPorts hack while upstream bug is not fixed properly |
180 |
- # https://bugs.webkit.org/show_bug.cgi?id=28727 |
181 |
- use aqua && epatch "${FILESDIR}"/${PN}-1.6.1-darwin-quartz.patch |
182 |
- |
183 |
- # Leave optimization level to user CFLAGS |
184 |
- # FORTIFY_SOURCE is enabled by default in Gentoo |
185 |
- sed -e 's/-O[012]//g' \ |
186 |
- -e 's/-D_FORTIFY_SOURCE=2//g' \ |
187 |
- -i Source/autotools/SetupCompilerFlags.m4 || die |
188 |
- |
189 |
- # bug #459978, upstream bug #113397 |
190 |
- epatch "${FILESDIR}"/${PN}-1.11.90-gtk-docize-fix.patch |
191 |
- |
192 |
- # Debian patches to fix support for some arches |
193 |
- # https://bugs.webkit.org/show_bug.cgi?id=129540 |
194 |
- epatch "${FILESDIR}"/${PN}-2.2.5-{hppa,ia64}-platform.patch |
195 |
- # https://bugs.webkit.org/show_bug.cgi?id=129542 |
196 |
- epatch "${FILESDIR}"/${PN}-2.4.1-ia64-malloc.patch |
197 |
- |
198 |
- # Fix build with recent libjpeg, bug #481688 |
199 |
- # https://bugs.webkit.org/show_bug.cgi?id=122412 |
200 |
- epatch "${FILESDIR}"/${PN}-2.4.4-jpeg-9a.patch |
201 |
- |
202 |
- # Fix building with --disable-webgl, bug #500966 |
203 |
- # https://bugs.webkit.org/show_bug.cgi?id=131267 |
204 |
- epatch "${FILESDIR}"/${PN}-2.4.7-disable-webgl.patch |
205 |
- |
206 |
- AT_M4DIR=Source/autotools eautoreconf |
207 |
- |
208 |
- gnome2_src_prepare |
209 |
-} |
210 |
- |
211 |
-src_configure() { |
212 |
- # Respect CC, otherwise fails on prefix #395875 |
213 |
- tc-export CC |
214 |
- |
215 |
- # Arches without JIT support also need this to really disable it in all places |
216 |
- use jit || append-cppflags -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0 |
217 |
- |
218 |
- # It does not compile on alpha without this in LDFLAGS |
219 |
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 |
220 |
- use alpha && append-ldflags "-Wl,--no-relax" |
221 |
- |
222 |
- # Sigbuses on SPARC with mcpu and co., bug #??? |
223 |
- use sparc && filter-flags "-mvis" |
224 |
- |
225 |
- # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 |
226 |
- use ppc64 && append-flags "-mminimal-toc" |
227 |
- |
228 |
- # Try to use less memory, bug #469942 (see Fedora .spec for reference) |
229 |
- # --no-keep-memory doesn't work on ia64, bug #502492 |
230 |
- if ! use ia64; then |
231 |
- append-ldflags "-Wl,--no-keep-memory" |
232 |
- fi |
233 |
- if ! $(tc-getLD) --version | grep -q "GNU gold"; then |
234 |
- append-ldflags "-Wl,--reduce-memory-overheads" |
235 |
- fi |
236 |
- |
237 |
- local ruby_interpreter="" |
238 |
- |
239 |
- if has_version "virtual/rubygems[ruby_targets_ruby23]"; then |
240 |
- ruby_interpreter="RUBY=$(type -P ruby23)" |
241 |
- elif has_version "virtual/rubygems[ruby_targets_ruby22]"; then |
242 |
- ruby_interpreter="RUBY=$(type -P ruby22)" |
243 |
- elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then |
244 |
- ruby_interpreter="RUBY=$(type -P ruby21)" |
245 |
- else |
246 |
- ruby_interpreter="RUBY=$(type -P ruby20)" |
247 |
- fi |
248 |
- |
249 |
- # TODO: Check Web Audio support |
250 |
- # should somehow let user select between them? |
251 |
- # |
252 |
- # * dependency-tracking is required so parallel builds won't fail |
253 |
- gnome2_src_configure \ |
254 |
- $(use_enable aqua quartz-target) \ |
255 |
- $(use_enable coverage) \ |
256 |
- $(use_enable debug) \ |
257 |
- $(use_enable egl) \ |
258 |
- $(use_enable geoloc geolocation) \ |
259 |
- $(use_enable gles2) \ |
260 |
- $(use_enable gnome-keyring credential_storage) \ |
261 |
- $(use_enable gstreamer video) \ |
262 |
- $(use_enable gstreamer web-audio) \ |
263 |
- $(use_enable introspection) \ |
264 |
- $(use_enable jit) \ |
265 |
- $(use_enable opengl glx) \ |
266 |
- $(use_enable spell spellcheck) \ |
267 |
- $(use_enable webgl) \ |
268 |
- $(use_enable webgl accelerated-compositing) \ |
269 |
- $(use_enable X x11-target) \ |
270 |
- --with-gtk=2.0 \ |
271 |
- --disable-webkit2 \ |
272 |
- --enable-dependency-tracking \ |
273 |
- --disable-gtk-doc \ |
274 |
- ${ruby_interpreter} |
275 |
-} |
276 |
- |
277 |
-src_compile() { |
278 |
- # Try to avoid issues like bug #463960 |
279 |
- unset DISPLAY |
280 |
- gnome2_src_compile |
281 |
-} |
282 |
- |
283 |
-src_test() { |
284 |
- # Tests expect an out-of-source build in WebKitBuild |
285 |
- ln -s . WebKitBuild || die "ln failed" |
286 |
- |
287 |
- # Prevents test failures on PaX systems |
288 |
- use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* |
289 |
- |
290 |
- unset DISPLAY |
291 |
- # Tests need virtualx, bug #294691, bug #310695 |
292 |
- # Parallel tests sometimes fail |
293 |
- Xemake -j1 check |
294 |
-} |
295 |
- |
296 |
-src_install() { |
297 |
- DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install |
298 |
- |
299 |
- # https://bugs.webkit.org/show_bug.cgi?id=129242 |
300 |
- MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install |
301 |
- |
302 |
- newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk |
303 |
- newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore |
304 |
- newdoc Source/WebCore/ChangeLog ChangeLog.WebCore |
305 |
- |
306 |
- # Prevents crashes on PaX systems |
307 |
- use jit && pax-mark m "${ED}usr/bin/jsc-1" |
308 |
- |
309 |
- # File collisions with slot 3 |
310 |
- # bug #402699, https://bugs.webkit.org/show_bug.cgi?id=78134 |
311 |
- rm -rf "${ED}usr/share/gtk-doc" || die |
312 |
-} |
313 |
|
314 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.4.10.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.4.10.ebuild |
315 |
deleted file mode 100644 |
316 |
index 88dd378..0000000 |
317 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.4.10.ebuild |
318 |
+++ /dev/null |
319 |
@@ -1,276 +0,0 @@ |
320 |
-# Copyright 1999-2016 Gentoo Foundation |
321 |
-# Distributed under the terms of the GNU General Public License v2 |
322 |
-# $Id$ |
323 |
- |
324 |
-EAPI="5" |
325 |
-GCONF_DEBUG="no" |
326 |
-PYTHON_COMPAT=( python2_7 ) |
327 |
-USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
328 |
- |
329 |
-inherit autotools check-reqs eutils flag-o-matic gnome2 pax-utils python-any-r1 ruby-single toolchain-funcs versionator virtualx |
330 |
- |
331 |
-MY_P="webkitgtk-${PV}" |
332 |
-DESCRIPTION="Open source web browser engine" |
333 |
-HOMEPAGE="http://www.webkitgtk.org/" |
334 |
-SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz" |
335 |
- |
336 |
-LICENSE="LGPL-2+ BSD" |
337 |
-SLOT="3/25" # soname version of libwebkit2gtk-3.0 |
338 |
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" |
339 |
- |
340 |
-IUSE="aqua coverage debug +egl +geoloc gles2 gnome-keyring +gstreamer +introspection +jit +opengl spell wayland +webgl +X" |
341 |
-# bugs 372493, 416331 |
342 |
-REQUIRED_USE=" |
343 |
- geoloc? ( introspection ) |
344 |
- gles2? ( egl ) |
345 |
- introspection? ( gstreamer ) |
346 |
- webgl? ( ^^ ( gles2 opengl ) ) |
347 |
- !webgl? ( ?? ( gles2 opengl ) ) |
348 |
- || ( aqua wayland X ) |
349 |
-" |
350 |
- |
351 |
-# use sqlite, svg by default |
352 |
-# Aqua support in gtk3 is untested |
353 |
-# gtk2 is needed for plugin process support |
354 |
-# gtk3-3.10 required for wayland |
355 |
-RDEPEND=" |
356 |
- dev-db/sqlite:3= |
357 |
- >=dev-libs/glib-2.36:2 |
358 |
- >=dev-libs/icu-3.8.1-r1:= |
359 |
- >=dev-libs/libxml2-2.6:2 |
360 |
- >=dev-libs/libxslt-1.1.7 |
361 |
- >=media-libs/fontconfig-2.5:1.0 |
362 |
- >=media-libs/freetype-2.4.2:2 |
363 |
- >=media-libs/harfbuzz-0.9.7:=[icu(+)] |
364 |
- >=media-libs/libpng-1.4:0= |
365 |
- media-libs/libwebp:= |
366 |
- >=net-libs/libsoup-2.42:2.4[introspection?] |
367 |
- virtual/jpeg:0= |
368 |
- >=x11-libs/cairo-1.10:=[X?] |
369 |
- >=x11-libs/gtk+-3.6.0:3[X?,aqua?,introspection?] |
370 |
- >=x11-libs/pango-1.30.0 |
371 |
- |
372 |
- >=x11-libs/gtk+-2.24.10:2 |
373 |
- |
374 |
- egl? ( media-libs/mesa[egl] ) |
375 |
- geoloc? ( >=app-misc/geoclue-2.1.5:2.0 ) |
376 |
- gles2? ( media-libs/mesa[gles2] ) |
377 |
- gnome-keyring? ( app-crypt/libsecret ) |
378 |
- gstreamer? ( |
379 |
- >=media-libs/gstreamer-1.2:1.0 |
380 |
- >=media-libs/gst-plugins-base-1.2:1.0 ) |
381 |
- introspection? ( >=dev-libs/gobject-introspection-1.32.0:= ) |
382 |
- opengl? ( virtual/opengl ) |
383 |
- spell? ( >=app-text/enchant-0.22:= ) |
384 |
- wayland? ( >=x11-libs/gtk+-3.10:3[wayland] ) |
385 |
- webgl? ( |
386 |
- x11-libs/cairo[opengl] |
387 |
- x11-libs/libXcomposite |
388 |
- x11-libs/libXdamage ) |
389 |
- X? ( |
390 |
- x11-libs/libX11 |
391 |
- x11-libs/libXrender |
392 |
- x11-libs/libXt ) |
393 |
-" |
394 |
- |
395 |
-# paxctl needed for bug #407085 |
396 |
-# Need real bison, not yacc |
397 |
-DEPEND="${RDEPEND} |
398 |
- ${PYTHON_DEPS} |
399 |
- ${RUBY_DEPS} |
400 |
- >=dev-lang/perl-5.10 |
401 |
- >=app-accessibility/at-spi2-core-2.5.3 |
402 |
- >=dev-libs/atk-2.8.0 |
403 |
- >=dev-util/gtk-doc-am-1.10 |
404 |
- >=dev-util/gperf-3.0.1 |
405 |
- >=sys-devel/bison-2.4.3 |
406 |
- >=sys-devel/flex-2.5.34 |
407 |
- || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 ) |
408 |
- sys-devel/gettext |
409 |
- >=sys-devel/make-3.82-r4 |
410 |
- virtual/pkgconfig |
411 |
- |
412 |
- geoloc? ( dev-util/gdbus-codegen ) |
413 |
- introspection? ( jit? ( sys-apps/paxctl ) ) |
414 |
- test? ( |
415 |
- dev-lang/python:2.7 |
416 |
- dev-python/pygobject:3[python_targets_python2_7] |
417 |
- x11-themes/hicolor-icon-theme |
418 |
- jit? ( sys-apps/paxctl ) ) |
419 |
-" |
420 |
- |
421 |
-S="${WORKDIR}/${MY_P}" |
422 |
- |
423 |
-CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 |
424 |
- |
425 |
-pkg_pretend() { |
426 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
427 |
- einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" |
428 |
- check-reqs_pkg_pretend |
429 |
- fi |
430 |
- |
431 |
- if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then |
432 |
- die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" |
433 |
- fi |
434 |
-} |
435 |
- |
436 |
-pkg_setup() { |
437 |
- # Check whether any of the debugging flags is enabled |
438 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
439 |
- if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then |
440 |
- replace-flags -ggdb -g |
441 |
- ewarn "Replacing \"-ggdb\" with \"-g\" in your CFLAGS." |
442 |
- ewarn "Building ${PN} with \"-ggdb\" produces binaries which are too" |
443 |
- ewarn "large for current binutils releases (bug #432784) and has very" |
444 |
- ewarn "high temporary build space and memory requirements." |
445 |
- ewarn "If you really want to build ${PN} with \"-ggdb\", add" |
446 |
- ewarn "WEBKIT_GTK_GGDB=yes" |
447 |
- ewarn "to your make.conf file." |
448 |
- fi |
449 |
- einfo "You need to have at least 18GB of temporary build space available" |
450 |
- einfo "to build ${PN} with debugging CFLAGS. Note that it might still" |
451 |
- einfo "not be enough, as the total space requirements depend on the flags" |
452 |
- einfo "(-ggdb vs -g1) and enabled features." |
453 |
- check-reqs_pkg_setup |
454 |
- fi |
455 |
- |
456 |
- [[ ${MERGE_TYPE} = "binary" ]] || python-any-r1_pkg_setup |
457 |
-} |
458 |
- |
459 |
-src_prepare() { |
460 |
- # intermediate MacPorts hack while upstream bug is not fixed properly |
461 |
- # https://bugs.webkit.org/show_bug.cgi?id=28727 |
462 |
- use aqua && epatch "${FILESDIR}"/${PN}-1.6.1-darwin-quartz.patch |
463 |
- |
464 |
- # Leave optimization level to user CFLAGS |
465 |
- # FORTIFY_SOURCE is enabled by default in Gentoo |
466 |
- sed -e 's/-O[012]//g' \ |
467 |
- -e 's/-D_FORTIFY_SOURCE=2//g' \ |
468 |
- -i Source/autotools/SetupCompilerFlags.m4 || die |
469 |
- |
470 |
- # bug #459978, upstream bug #113397 |
471 |
- epatch "${FILESDIR}"/${PN}-1.11.90-gtk-docize-fix.patch |
472 |
- |
473 |
- # Debian patches to fix support for some arches |
474 |
- # https://bugs.webkit.org/show_bug.cgi?id=129540 |
475 |
- epatch "${FILESDIR}"/${PN}-2.2.5-{hppa,ia64}-platform.patch |
476 |
- # https://bugs.webkit.org/show_bug.cgi?id=129542 |
477 |
- epatch "${FILESDIR}"/${PN}-2.4.1-ia64-malloc.patch |
478 |
- |
479 |
- # Fix building on ppc (from OpenBSD, only needed on slot 3) |
480 |
- # https://bugs.webkit.org/show_bug.cgi?id=130837 |
481 |
- epatch "${FILESDIR}"/${PN}-2.4.4-atomic-ppc.patch |
482 |
- |
483 |
- # Fix build with recent libjpeg, bug #481688 |
484 |
- # https://bugs.webkit.org/show_bug.cgi?id=122412 |
485 |
- epatch "${FILESDIR}"/${PN}-2.4.4-jpeg-9a.patch |
486 |
- |
487 |
- # Fix building with --disable-webgl, bug #500966 |
488 |
- # https://bugs.webkit.org/show_bug.cgi?id=131267 |
489 |
- epatch "${FILESDIR}"/${PN}-2.4.7-disable-webgl.patch |
490 |
- |
491 |
- AT_M4DIR=Source/autotools eautoreconf |
492 |
- |
493 |
- gnome2_src_prepare |
494 |
-} |
495 |
- |
496 |
-src_configure() { |
497 |
- # Respect CC, otherwise fails on prefix #395875 |
498 |
- tc-export CC |
499 |
- |
500 |
- # Arches without JIT support also need this to really disable it in all places |
501 |
- use jit || append-cppflags -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0 |
502 |
- |
503 |
- # It does not compile on alpha without this in LDFLAGS |
504 |
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 |
505 |
- use alpha && append-ldflags "-Wl,--no-relax" |
506 |
- |
507 |
- # Sigbuses on SPARC with mcpu and co., bug #??? |
508 |
- use sparc && filter-flags "-mvis" |
509 |
- |
510 |
- # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 |
511 |
- use ppc64 && append-flags "-mminimal-toc" |
512 |
- |
513 |
- # Try to use less memory, bug #469942 (see Fedora .spec for reference) |
514 |
- # --no-keep-memory doesn't work on ia64, bug #502492 |
515 |
- if ! use ia64; then |
516 |
- append-ldflags "-Wl,--no-keep-memory" |
517 |
- fi |
518 |
- if ! $(tc-getLD) --version | grep -q "GNU gold"; then |
519 |
- append-ldflags "-Wl,--reduce-memory-overheads" |
520 |
- fi |
521 |
- |
522 |
- local ruby_interpreter="" |
523 |
- |
524 |
- if has_version "virtual/rubygems[ruby_targets_ruby23]"; then |
525 |
- ruby_interpreter="RUBY=$(type -P ruby23)" |
526 |
- elif has_version "virtual/rubygems[ruby_targets_ruby22]"; then |
527 |
- ruby_interpreter="RUBY=$(type -P ruby22)" |
528 |
- elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then |
529 |
- ruby_interpreter="RUBY=$(type -P ruby21)" |
530 |
- else |
531 |
- ruby_interpreter="RUBY=$(type -P ruby20)" |
532 |
- fi |
533 |
- |
534 |
- # TODO: Check Web Audio support |
535 |
- # should somehow let user select between them? |
536 |
- # |
537 |
- # * Aqua support in gtk3 is untested |
538 |
- # * dependency-tracking is required so parallel builds won't fail |
539 |
- gnome2_src_configure \ |
540 |
- $(use_enable aqua quartz-target) \ |
541 |
- $(use_enable coverage) \ |
542 |
- $(use_enable debug) \ |
543 |
- $(use_enable egl) \ |
544 |
- $(use_enable geoloc geolocation) \ |
545 |
- $(use_enable gles2) \ |
546 |
- $(use_enable gnome-keyring credential_storage) \ |
547 |
- $(use_enable gstreamer video) \ |
548 |
- $(use_enable gstreamer web-audio) \ |
549 |
- $(use_enable introspection) \ |
550 |
- $(use_enable jit) \ |
551 |
- $(use_enable opengl glx) \ |
552 |
- $(use_enable spell spellcheck) \ |
553 |
- $(use_enable webgl) \ |
554 |
- $(use_enable webgl accelerated-compositing) \ |
555 |
- $(use_enable wayland wayland-target) \ |
556 |
- $(use_enable X x11-target) \ |
557 |
- --with-gtk=3.0 \ |
558 |
- --enable-dependency-tracking \ |
559 |
- --disable-gtk-doc \ |
560 |
- ${ruby_interpreter} |
561 |
-} |
562 |
- |
563 |
-src_compile() { |
564 |
- # Try to avoid issues like bug #463960 |
565 |
- unset DISPLAY |
566 |
- gnome2_src_compile |
567 |
-} |
568 |
- |
569 |
-src_test() { |
570 |
- # Tests expect an out-of-source build in WebKitBuild |
571 |
- ln -s . WebKitBuild || die "ln failed" |
572 |
- |
573 |
- # Prevents test failures on PaX systems |
574 |
- use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* |
575 |
- |
576 |
- unset DISPLAY |
577 |
- # Tests need virtualx, bug #294691, bug #310695 |
578 |
- # Parallel tests sometimes fail |
579 |
- Xemake -j1 check |
580 |
-} |
581 |
- |
582 |
-src_install() { |
583 |
- DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install |
584 |
- |
585 |
- # https://bugs.webkit.org/show_bug.cgi?id=129242 |
586 |
- MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install |
587 |
- |
588 |
- newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk |
589 |
- newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore |
590 |
- newdoc Source/WebCore/ChangeLog ChangeLog.WebCore |
591 |
- |
592 |
- # Prevents crashes on PaX systems, bug #522808 |
593 |
- use jit && pax-mark m "${ED}usr/bin/jsc-3" "${ED}usr/libexec/WebKitWebProcess" |
594 |
- pax-mark m "${ED}usr/libexec/WebKitPluginProcess" |
595 |
-} |
596 |
|
597 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild |
598 |
deleted file mode 100644 |
599 |
index 94f032a..0000000 |
600 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild |
601 |
+++ /dev/null |
602 |
@@ -1,251 +0,0 @@ |
603 |
-# Copyright 1999-2015 Gentoo Foundation |
604 |
-# Distributed under the terms of the GNU General Public License v2 |
605 |
-# $Id$ |
606 |
- |
607 |
-EAPI="5" |
608 |
-CMAKE_MAKEFILE_GENERATOR="ninja" |
609 |
-GCONF_DEBUG="no" |
610 |
-PYTHON_COMPAT=( python2_7 ) |
611 |
- |
612 |
-inherit check-reqs cmake-utils eutils flag-o-matic gnome2 pax-utils python-any-r1 toolchain-funcs versionator virtualx |
613 |
- |
614 |
-MY_P="webkitgtk-${PV}" |
615 |
-DESCRIPTION="Open source web browser engine" |
616 |
-HOMEPAGE="http://www.webkitgtk.org/" |
617 |
-SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz" |
618 |
- |
619 |
-LICENSE="LGPL-2+ BSD" |
620 |
-SLOT="4/37" # soname version of libwebkit2gtk-4.0 |
621 |
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" |
622 |
- |
623 |
-IUSE="coverage doc +egl +geoloc gles2 +gstreamer +introspection +jit libsecret +opengl spell wayland +webgl X" |
624 |
-REQUIRED_USE=" |
625 |
- geoloc? ( introspection ) |
626 |
- gles2? ( egl ) |
627 |
- introspection? ( gstreamer ) |
628 |
- webgl? ( ^^ ( gles2 opengl ) ) |
629 |
- !webgl? ( ?? ( gles2 opengl ) ) |
630 |
- || ( wayland X ) |
631 |
-" |
632 |
- |
633 |
-# Tests fail to link for inexplicable reasons |
634 |
-# https://bugs.webkit.org/show_bug.cgi?id=148210 |
635 |
-RESTRICT="test" |
636 |
- |
637 |
-# use sqlite, svg by default |
638 |
-# Aqua support in gtk3 is untested |
639 |
-# gtk2 is needed for plugin process support, should we add a USE flag to configure this? |
640 |
-RDEPEND=" |
641 |
- dev-db/sqlite:3= |
642 |
- >=dev-libs/glib-2.36:2 |
643 |
- >=dev-libs/icu-3.8.1-r1:= |
644 |
- >=dev-libs/libxml2-2.8:2 |
645 |
- >=dev-libs/libxslt-1.1.7 |
646 |
- >=media-libs/fontconfig-2.8:1.0 |
647 |
- >=media-libs/freetype-2.4.2:2 |
648 |
- >=media-libs/harfbuzz-0.9.18:=[icu(+)] |
649 |
- >=media-libs/libpng-1.4:0= |
650 |
- media-libs/libwebp:= |
651 |
- >=net-libs/gnutls-3 |
652 |
- >=net-libs/libsoup-2.42:2.4[introspection?] |
653 |
- virtual/jpeg:0= |
654 |
- >=x11-libs/cairo-1.10.2:= |
655 |
- >=x11-libs/gtk+-3.14:3[introspection?] |
656 |
- x11-libs/libnotify |
657 |
- >=x11-libs/pango-1.30.0 |
658 |
- |
659 |
- >=x11-libs/gtk+-2.24.10:2 |
660 |
- |
661 |
- egl? ( media-libs/mesa[egl] ) |
662 |
- geoloc? ( >=app-misc/geoclue-2.1.5:2.0 ) |
663 |
- gles2? ( media-libs/mesa[gles2] ) |
664 |
- gstreamer? ( |
665 |
- >=media-libs/gstreamer-1.2:1.0 |
666 |
- >=media-libs/gst-plugins-base-1.2:1.0 ) |
667 |
- introspection? ( >=dev-libs/gobject-introspection-1.32.0 ) |
668 |
- libsecret? ( app-crypt/libsecret ) |
669 |
- opengl? ( virtual/opengl |
670 |
- x11-libs/cairo[opengl] ) |
671 |
- spell? ( >=app-text/enchant-0.22:= ) |
672 |
- wayland? ( >=x11-libs/gtk+-3.14:3[wayland] ) |
673 |
- webgl? ( |
674 |
- x11-libs/cairo[opengl] |
675 |
- x11-libs/libXcomposite |
676 |
- x11-libs/libXdamage ) |
677 |
- X? ( |
678 |
- x11-libs/cairo[X] |
679 |
- >=x11-libs/gtk+-3.14:3[X] |
680 |
- x11-libs/libX11 |
681 |
- x11-libs/libXrender |
682 |
- x11-libs/libXt ) |
683 |
-" |
684 |
- |
685 |
-# paxctl needed for bug #407085 |
686 |
-# Need real bison, not yacc |
687 |
-DEPEND="${RDEPEND} |
688 |
- ${PYTHON_DEPS} |
689 |
- >=dev-lang/perl-5.10 |
690 |
- || ( |
691 |
- virtual/rubygems[ruby_targets_ruby20] |
692 |
- virtual/rubygems[ruby_targets_ruby21] |
693 |
- virtual/rubygems[ruby_targets_ruby22] |
694 |
- virtual/rubygems[ruby_targets_ruby19] |
695 |
- ) |
696 |
- >=app-accessibility/at-spi2-core-2.5.3 |
697 |
- >=dev-libs/atk-2.8.0 |
698 |
- >=dev-util/gtk-doc-am-1.10 |
699 |
- >=dev-util/gperf-3.0.1 |
700 |
- >=sys-devel/bison-2.4.3 |
701 |
- >=sys-devel/flex-2.5.34 |
702 |
- || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 ) |
703 |
- sys-devel/gettext |
704 |
- virtual/pkgconfig |
705 |
- |
706 |
- doc? ( >=dev-util/gtk-doc-1.10 ) |
707 |
- geoloc? ( dev-util/gdbus-codegen ) |
708 |
- introspection? ( jit? ( sys-apps/paxctl ) ) |
709 |
- test? ( |
710 |
- dev-lang/python:2.7 |
711 |
- dev-python/pygobject:3[python_targets_python2_7] |
712 |
- x11-themes/hicolor-icon-theme |
713 |
- jit? ( sys-apps/paxctl ) ) |
714 |
-" |
715 |
- |
716 |
-S="${WORKDIR}/${MY_P}" |
717 |
- |
718 |
-CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 |
719 |
- |
720 |
-pkg_pretend() { |
721 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
722 |
- einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" |
723 |
- check-reqs_pkg_pretend |
724 |
- fi |
725 |
- |
726 |
- if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then |
727 |
- die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" |
728 |
- fi |
729 |
-} |
730 |
- |
731 |
-pkg_setup() { |
732 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
733 |
- check-reqs_pkg_setup |
734 |
- fi |
735 |
- |
736 |
- [[ ${MERGE_TYPE} = "binary" ]] || python-any-r1_pkg_setup |
737 |
-} |
738 |
- |
739 |
-src_prepare() { |
740 |
- # https://bugs.gentoo.org/show_bug.cgi?id=555504 |
741 |
- epatch "${FILESDIR}"/${PN}-2.8.5-fix-ia64-build.patch |
742 |
- |
743 |
- # https://bugs.gentoo.org/show_bug.cgi?id=564352 |
744 |
- epatch "${FILESDIR}"/${PN}-2.8.5-fix-alpha-build.patch |
745 |
- |
746 |
- # https://bugs.webkit.org/show_bug.cgi?id=148379 |
747 |
- epatch "${FILESDIR}"/${PN}-2.8.5-webkit2gtkinjectedbundle-j1.patch |
748 |
- |
749 |
- gnome2_src_prepare |
750 |
-} |
751 |
- |
752 |
-src_configure() { |
753 |
- # Respect CC, otherwise fails on prefix #395875 |
754 |
- tc-export CC |
755 |
- |
756 |
- # Arches without JIT support also need this to really disable it in all places |
757 |
- use jit || append-cppflags -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0 |
758 |
- |
759 |
- # It does not compile on alpha without this in LDFLAGS |
760 |
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 |
761 |
- use alpha && append-ldflags "-Wl,--no-relax" |
762 |
- |
763 |
- # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 |
764 |
- use ia64 && append-ldflags "-Wl,--no-as-needed" |
765 |
- |
766 |
- # Sigbuses on SPARC with mcpu and co., bug #??? |
767 |
- use sparc && filter-flags "-mvis" |
768 |
- |
769 |
- # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 |
770 |
- use ppc64 && append-flags "-mminimal-toc" |
771 |
- |
772 |
- # Try to use less memory, bug #469942 (see Fedora .spec for reference) |
773 |
- # --no-keep-memory doesn't work on ia64, bug #502492 |
774 |
- if ! use ia64; then |
775 |
- append-ldflags "-Wl,--no-keep-memory" |
776 |
- fi |
777 |
- if ! $(tc-getLD) --version | grep -q "GNU gold"; then |
778 |
- append-ldflags "-Wl,--reduce-memory-overheads" |
779 |
- fi |
780 |
- |
781 |
- # older glibc needs this for INTPTR_MAX, bug #533976 |
782 |
- if has_version "<sys-libs/glibc-2.18" ; then |
783 |
- append-cppflags "-D__STDC_LIMIT_MACROS" |
784 |
- fi |
785 |
- |
786 |
- # Multiple rendering bugs on youtube, github, etc without this, bug #547224 |
787 |
- append-flags $(test-flags -fno-strict-aliasing) |
788 |
- |
789 |
- local ruby_interpreter="" |
790 |
- |
791 |
- if has_version "virtual/rubygems[ruby_targets_ruby22]"; then |
792 |
- ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby22)" |
793 |
- elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then |
794 |
- ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby21)" |
795 |
- elif has_version "virtual/rubygems[ruby_targets_ruby20]"; then |
796 |
- ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby20)" |
797 |
- else |
798 |
- ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby19)" |
799 |
- fi |
800 |
- |
801 |
- # TODO: Check Web Audio support |
802 |
- # should somehow let user select between them? |
803 |
- # |
804 |
- # FTL_JIT requires llvm |
805 |
- local mycmakeargs=( |
806 |
- $(cmake-utils_use_enable test API_TESTS) |
807 |
- $(cmake-utils_use_enable doc GTKDOC) |
808 |
- $(cmake-utils_use_enable geoloc GEOLOCATION) |
809 |
- $(cmake-utils_use_find_package gles2 OpenGLES2) |
810 |
- $(cmake-utils_use_enable gles2 GLES2) |
811 |
- $(cmake-utils_use_enable gstreamer VIDEO) |
812 |
- $(cmake-utils_use_enable gstreamer WEB_AUDIO) |
813 |
- $(cmake-utils_use_enable introspection) |
814 |
- $(cmake-utils_use_enable jit) |
815 |
- $(cmake-utils_use_enable libsecret CREDENTIAL_STORAGE) |
816 |
- $(cmake-utils_use_enable spell SPELLCHECK SPELLCHECK) |
817 |
- $(cmake-utils_use_enable wayland WAYLAND_TARGET) |
818 |
- $(cmake-utils_use_enable webgl WEBGL) |
819 |
- $(cmake-utils_use_find_package egl EGL) |
820 |
- $(cmake-utils_use_find_package opengl OpenGL) |
821 |
- $(cmake-utils_use_enable X X11_TARGET) |
822 |
- -DCMAKE_BUILD_TYPE=Release |
823 |
- -DPORT=GTK |
824 |
- -DENABLE_PLUGIN_PROCESS_GTK2=ON |
825 |
- ${ruby_interpreter} |
826 |
- ) |
827 |
- if $(tc-getLD) --version | grep -q "GNU gold"; then |
828 |
- mycmakeargs+=( -DUSE_LD_GOLD=ON ) |
829 |
- else |
830 |
- mycmakeargs+=( -DUSE_LD_GOLD=OFF ) |
831 |
- fi |
832 |
- |
833 |
- cmake-utils_src_configure |
834 |
-} |
835 |
- |
836 |
-src_compile() { |
837 |
- cmake-utils_src_compile |
838 |
-} |
839 |
- |
840 |
-src_test() { |
841 |
- # Prevents test failures on PaX systems |
842 |
- use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* |
843 |
- |
844 |
- cmake-utils_src_test |
845 |
-} |
846 |
- |
847 |
-src_install() { |
848 |
- cmake-utils_src_install |
849 |
- |
850 |
- # Prevents crashes on PaX systems, bug #522808 |
851 |
- use jit && pax-mark m "${ED}usr/bin/jsc" "${ED}usr/libexec/webkit2gtk-4.0/WebKitWebProcess" |
852 |
- pax-mark m "${ED}usr/libexec/webkit2gtk-4.0/WebKitPluginProcess"{,2} |
853 |
-} |