]>
Commit | Line | Data |
---|---|---|
1 | # TODO: review configure options: | |
2 | # - FTL_JIT on !x86_64? | |
3 | # - WEB_RTC+MEDIA_STREAM (experimental; BR: openwebrtc) | |
4 | # - SPEECH_SYNTHESIS? (experimental; BR: flite-devel >= 2.2) | |
5 | # - THUNDER? (BR: Thunder + ThunderClientLibraries) | |
6 | # | |
7 | # Conditional build: | |
8 | %bcond_without introspection # GObject introspection | |
9 | %bcond_without libsoup2 # webkit-4.0 (libsoup2 based) variant | |
10 | %bcond_without libsoup3 # webkit-4.1 (libsoup3 based) variant (HTTP/2 support) | |
11 | %bcond_without gtk3 # webkit-4.x (gtk3 based) variants | |
12 | %bcond_without gtk4 # webkit-6.0 (gtk4/libsoup3 based) variant | |
13 | %bcond_without wayland # Wayland target (requires GTK+ wayland target) | |
14 | %bcond_with lowmem # try to reduce build memory usage by adjusting gcc gc | |
15 | %bcond_with lowmem2 # try to reduce build memory usage by disabling unified build (long) | |
16 | # | |
17 | # it's not possible to build this with debuginfo on 32bit archs due to | |
18 | # memory constraints during linking | |
19 | %ifarch %{ix86} x32 | |
20 | %define _enable_debug_packages 0 | |
21 | %endif | |
22 | Summary: Port of WebKit embeddable web component to GTK+ 3 | |
23 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 3 | |
24 | Name: gtk-webkit4 | |
25 | # NOTE: 2.42.x is stable, 2.43.x devel | |
26 | Version: 2.42.1 | |
27 | Release: 1 | |
28 | License: BSD-like | |
29 | Group: X11/Libraries | |
30 | Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz | |
31 | # Source0-md5: 57b59842ee1e9987a3efce221fe8c69d | |
32 | Patch0: x32.patch | |
33 | Patch1: %{name}-icu59.patch | |
34 | Patch2: parallel-gir.patch | |
35 | Patch3: %{name}-driver-version-suffix.patch | |
36 | URL: https://webkitgtk.org/ | |
37 | BuildRequires: /usr/bin/ld.gold | |
38 | BuildRequires: EGL-devel | |
39 | BuildRequires: OpenGL-GLX-devel | |
40 | BuildRequires: OpenGLESv2-devel | |
41 | BuildRequires: at-spi2-core-devel >= 2.5.3 | |
42 | BuildRequires: atk-devel >= 1:2.16.0 | |
43 | BuildRequires: bubblewrap >= 0.3.1 | |
44 | BuildRequires: cairo-devel >= 1.16.0 | |
45 | BuildRequires: cmake >= 3.20 | |
46 | BuildRequires: docbook-dtd412-xml | |
47 | BuildRequires: enchant2-devel >= 2 | |
48 | BuildRequires: fontconfig-devel >= 2.13.0 | |
49 | BuildRequires: freetype-devel >= 1:2.9.0 | |
50 | BuildRequires: gettext-devel | |
51 | BuildRequires: gettext-tools | |
52 | BuildRequires: gi-docgen | |
53 | BuildRequires: glib2-devel >= 1:2.70.0 | |
54 | BuildRequires: glibc-misc | |
55 | %{?with_introspection:BuildRequires: gobject-introspection-devel >= 1.32.0} | |
56 | BuildRequires: gperf >= 3.0.1 | |
57 | BuildRequires: gstreamer-devel >= 1.14 | |
58 | BuildRequires: gstreamer-gl-devel >= 1.10.0 | |
59 | # codecparsers,mpegts with -DUSE_GSTREAMER_MPEGTS=ON | |
60 | #BuildRequires: gstreamer-plugins-bad-devel >= 1.10.0 | |
61 | # app,audio,fft,pbutils,tag,video | |
62 | BuildRequires: gstreamer-plugins-base-devel >= 1.10.0 | |
63 | BuildRequires: gstreamer-transcoder-devel >= 1.20 | |
64 | %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.22.0} | |
65 | %{?with_gtk4:BuildRequires: gtk4-devel >= 4.4} | |
66 | BuildRequires: gtk-doc >= 1.10 | |
67 | BuildRequires: harfbuzz-devel >= 1.4.2 | |
68 | BuildRequires: harfbuzz-icu-devel >= 1.4.2 | |
69 | BuildRequires: hyphen-devel | |
70 | BuildRequires: lcms2-devel >= 2 | |
71 | %ifarch %arch64 | |
72 | %ifnarch %arch_with_atomics128 | |
73 | BuildRequires: libatomic-devel | |
74 | %endif | |
75 | %endif | |
76 | BuildRequires: libavif-devel >= 0.9.0 | |
77 | BuildRequires: libepoxy-devel >= 1.4.0 | |
78 | BuildRequires: libgcrypt-devel >= 1.7.0 | |
79 | BuildRequires: libicu-devel >= 61.2 | |
80 | BuildRequires: libjpeg-devel | |
81 | BuildRequires: libjxl-devel >= 0.7.0 | |
82 | BuildRequires: libmanette-devel >= 0.2.4 | |
83 | BuildRequires: libnotify-devel | |
84 | BuildRequires: libpng-devel | |
85 | BuildRequires: libseccomp-devel | |
86 | BuildRequires: libsecret-devel | |
87 | %{?with_libsoup2:BuildRequires: libsoup-devel >= 2.54} | |
88 | %{?with_libsoup3:BuildRequires: libsoup3-devel >= 3.0} | |
89 | # -std=c++2a; WebKitCommon.cmake says gcc 9.3.0 is minimum, but 9.5.0 fails to build | |
90 | BuildRequires: libstdc++-devel >= 6:10.2 | |
91 | BuildRequires: libtasn1-devel | |
92 | BuildRequires: libwebp-devel | |
93 | BuildRequires: libwpe-devel >= 1.3.0 | |
94 | BuildRequires: libxml2-devel >= 1:2.8.0 | |
95 | BuildRequires: libxslt-devel >= 1.1.7 | |
96 | BuildRequires: openjpeg2-devel >= 2.2.0 | |
97 | BuildRequires: pango-devel >= 1:1.32.0 | |
98 | BuildRequires: perl-base >= 1:5.10.0 | |
99 | BuildRequires: pkgconfig | |
100 | BuildRequires: python >= 1:2.7.0 | |
101 | BuildRequires: rpm-build >= 4.6 | |
102 | BuildRequires: rpmbuild(macros) >= 2.026 | |
103 | BuildRequires: ruby >= 1:2.5 | |
104 | BuildRequires: ruby-modules >= 1:2.5 | |
105 | BuildRequires: sqlite3-devel >= 3 | |
106 | BuildRequires: systemd-devel | |
107 | BuildRequires: tar >= 1:1.22 | |
108 | BuildRequires: unifdef | |
109 | %if %{with wayland} | |
110 | BuildRequires: wayland-devel >= 1.15 | |
111 | BuildRequires: wayland-egl-devel | |
112 | BuildRequires: wayland-protocols >= 1.15 | |
113 | %endif | |
114 | BuildRequires: wpebackend-fdo-devel >= 1.6.0 | |
115 | BuildRequires: woff2-devel >= 1.0.2 | |
116 | BuildRequires: xdg-dbus-proxy | |
117 | BuildRequires: xorg-lib-libICE-devel | |
118 | BuildRequires: xorg-lib-libXcomposite-devel | |
119 | BuildRequires: xorg-lib-libXdamage-devel | |
120 | BuildRequires: xorg-lib-libXext-devel | |
121 | BuildRequires: xorg-lib-libXrender-devel | |
122 | BuildRequires: xorg-lib-libXt-devel | |
123 | BuildRequires: xz | |
124 | BuildRequires: zlib-devel | |
125 | Requires: at-spi2-core-libs >= 2.5.3 | |
126 | Requires: atk >= 1:2.16.0 | |
127 | Requires: cairo >= 1.16.0 | |
128 | Requires: fontconfig-libs >= 2.13.0 | |
129 | Requires: freetype >= 1:2.9.0 | |
130 | Requires: glib2 >= 1:2.70.0 | |
131 | Requires: gstreamer >= 1.2.3 | |
132 | Requires: gstreamer-plugins-base >= 1.2.3 | |
133 | Requires: gtk+3 >= 3.22.0 | |
134 | Requires: harfbuzz >= 1.4.2 | |
135 | Requires: libgcrypt >= 1.7.0 | |
136 | Requires: libjxl >= 0.7.0 | |
137 | Requires: libsoup >= 2.54 | |
138 | Requires: libwpe >= 1.3.0 | |
139 | Requires: libxml2 >= 1:2.8.0 | |
140 | Requires: libxslt >= 1.1.7 | |
141 | Requires: openjpeg2 >= 2.2.0 | |
142 | Requires: pango >= 1:1.32.0 | |
143 | Requires: wayland >= 1.15 | |
144 | Requires: woff2 >= 1.0.2 | |
145 | Requires: wpebackend-fdo >= 1.6.0 | |
146 | %{?with_introspection:Conflicts: gir-repository < 0.6.5-7} | |
147 | # Source/JavaScriptCore/CMakeLists.txt /WTF_CPU_ | |
148 | ExclusiveArch: %{ix86} %{x8664} x32 %{arm} aarch64 hppa mips ppc ppc64 ppc64le s390 s390x sh4 | |
149 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
150 | ||
151 | # __once_call, __once_called non-function symbols from libstdc++ | |
152 | %define skip_post_check_so lib.*gtk-4.0.* | |
153 | ||
154 | %description | |
155 | gtk-webkit4 is a port of the WebKit embeddable web component to GTK+ | |
156 | 3. | |
157 | ||
158 | %description -l pl.UTF-8 | |
159 | gtk-webkit4 to port osadzalnego komponentu WWW WebKit do GTK+ 3. | |
160 | ||
161 | %package devel | |
162 | Summary: Development files for WebKit for GTK+ 3 | |
163 | Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla GTK+ 3 | |
164 | Group: X11/Development/Libraries | |
165 | Requires: %{name} = %{version}-%{release} | |
166 | Requires: glib2-devel >= 1:2.70.0 | |
167 | Requires: gtk+3-devel >= 3.22.0 | |
168 | Requires: libsoup-devel >= 2.54 | |
169 | Requires: libstdc++-devel >= 6:10.2 | |
170 | ||
171 | %description devel | |
172 | Development files for WebKit for GTK+ 3. | |
173 | ||
174 | %description devel -l pl.UTF-8 | |
175 | Pliki programistyczne komponentu WebKit dla GTK+ 3. | |
176 | ||
177 | %package apidocs | |
178 | Summary: API documentation for WebKit GTK+ 3 port | |
179 | Summary(pl.UTF-8): Dokumentacja API portu WebKitu do GTK+ 3 | |
180 | Group: Documentation | |
181 | Requires: gtk-doc-common | |
182 | BuildArch: noarch | |
183 | ||
184 | %description apidocs | |
185 | API documentation for WebKit GTK+ 3 port. | |
186 | ||
187 | %description apidocs -l pl.UTF-8 | |
188 | Dokumentacja API portu WebKitu do GTK+ 3. | |
189 | ||
190 | %package -n gtk-webkit4.1 | |
191 | Summary: Port of WebKit embeddable web component to GTK+ 3 with HTTP/2 support | |
192 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 3 z obsługą HTTP/2 | |
193 | Group: X11/Libraries | |
194 | Requires: at-spi2-core-libs >= 2.5.3 | |
195 | Requires: atk >= 1:2.16.0 | |
196 | Requires: cairo >= 1.16.0 | |
197 | Requires: fontconfig-libs >= 2.13.0 | |
198 | Requires: freetype >= 1:2.9.0 | |
199 | Requires: glib2 >= 1:2.70.0 | |
200 | Requires: gstreamer >= 1.2.3 | |
201 | Requires: gstreamer-plugins-base >= 1.2.3 | |
202 | Requires: gtk+3 >= 3.22.0 | |
203 | Requires: harfbuzz >= 1.4.2 | |
204 | Requires: libgcrypt >= 1.7.0 | |
205 | Requires: libjxl >= 0.7.0 | |
206 | Requires: libsoup3 >= 3.0 | |
207 | Requires: libwpe >= 1.3.0 | |
208 | Requires: libxml2 >= 1:2.8.0 | |
209 | Requires: libxslt >= 1.1.7 | |
210 | Requires: openjpeg2 >= 2.2.0 | |
211 | Requires: pango >= 1:1.32.0 | |
212 | Requires: wayland >= 1.15 | |
213 | Requires: woff2 >= 1.0.2 | |
214 | Requires: wpebackend-fdo >= 1.6.0 | |
215 | ||
216 | %description -n gtk-webkit4.1 | |
217 | gtk-webkit4.1 is a port of the WebKit embeddable web component to GTK+ | |
218 | 3 with HTTP/2 (libsoup 3) support. | |
219 | ||
220 | %description -n gtk-webkit4.1 -l pl.UTF-8 | |
221 | gtk-webkit4.1 to port osadzalnego komponentu WWW WebKit do GTK+ 3 z | |
222 | obsługą HTTP/2 (libsoup 3). | |
223 | ||
224 | %package -n gtk-webkit4.1-devel | |
225 | Summary: Development files for WebKit for GTK+ 3 with HTTP/2 support | |
226 | Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla GTK+ 3 z obsługą HTTP/2 | |
227 | Group: X11/Development/Libraries | |
228 | Requires: gtk-webkit4.1 = %{version}-%{release} | |
229 | Requires: glib2-devel >= 1:2.70.0 | |
230 | Requires: gtk+3-devel >= 3.22.0 | |
231 | Requires: libsoup3-devel >= 3.0 | |
232 | Requires: libstdc++-devel >= 6:10.2 | |
233 | ||
234 | %description -n gtk-webkit4.1-devel | |
235 | Development files for WebKit for GTK+ 3 with HTTP/2 support. | |
236 | ||
237 | %description -n gtk-webkit4.1-devel -l pl.UTF-8 | |
238 | Pliki programistyczne komponentu WebKit dla GTK+ 3 z obsługą HTTP/2. | |
239 | ||
240 | %package -n gtk-webkit4.1-apidocs | |
241 | Summary: API documentation for WebKit GTK+ 3 port with HTTP/2 support | |
242 | Summary(pl.UTF-8): Dokumentacja API portu WebKitu do GTK+ 3 z obsługą HTTP/2 | |
243 | Group: Documentation | |
244 | Requires: gtk-doc-common | |
245 | BuildArch: noarch | |
246 | ||
247 | %description -n gtk-webkit4.1-apidocs | |
248 | API documentation for WebKit GTK+ 3 port with HTTP/2 support. | |
249 | ||
250 | %description -n gtk-webkit4.1-apidocs -l pl.UTF-8 | |
251 | Dokumentacja API portu WebKitu do GTK+ 3 z obsługą HTTP/2. | |
252 | ||
253 | %package -n gtk-webkit6 | |
254 | Summary: Port of WebKit embeddable web component to GTK 4 | |
255 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK 4 | |
256 | Group: X11/Libraries | |
257 | Requires: at-spi2-core-libs >= 2.5.3 | |
258 | Requires: atk >= 1:2.16.0 | |
259 | Requires: cairo >= 1.16.0 | |
260 | Requires: fontconfig-libs >= 2.13.0 | |
261 | Requires: freetype >= 1:2.9.0 | |
262 | Requires: glib2 >= 1:2.70.0 | |
263 | Requires: gstreamer >= 1.2.3 | |
264 | Requires: gstreamer-plugins-base >= 1.2.3 | |
265 | Requires: gtk4 >= 4.4 | |
266 | Requires: harfbuzz >= 1.4.2 | |
267 | Requires: libgcrypt >= 1.7.0 | |
268 | Requires: libjxl >= 0.7.0 | |
269 | Requires: libsoup3 >= 3.0 | |
270 | Requires: libwpe >= 1.3.0 | |
271 | Requires: libxml2 >= 1:2.8.0 | |
272 | Requires: libxslt >= 1.1.7 | |
273 | Requires: openjpeg2 >= 2.2.0 | |
274 | Requires: pango >= 1:1.32.0 | |
275 | Requires: wayland >= 1.15 | |
276 | Requires: woff2 >= 1.0.2 | |
277 | Requires: wpebackend-fdo >= 1.6.0 | |
278 | ||
279 | %description -n gtk-webkit6 | |
280 | gtk-webkit6 is a port of the WebKit embeddable web component to GTK 4. | |
281 | ||
282 | %description -n gtk-webkit6 -l pl.UTF-8 | |
283 | gtk-webkit6 to port osadzalnego komponentu WWW WebKit do GTK+ 4. | |
284 | ||
285 | %package -n gtk-webkit6-devel | |
286 | Summary: Development files for WebKit for GTK 4 | |
287 | Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla GTK 4 | |
288 | Group: X11/Development/Libraries | |
289 | Requires: gtk-webkit6 = %{version}-%{release} | |
290 | Requires: glib2-devel >= 1:2.70.0 | |
291 | Requires: gtk4-devel >= 4.4 | |
292 | Requires: libsoup3-devel >= 3.0 | |
293 | Requires: libstdc++-devel >= 6:10.2 | |
294 | ||
295 | %description -n gtk-webkit6-devel | |
296 | Development files for WebKit for GTK 4. | |
297 | ||
298 | %description -n gtk-webkit6-devel -l pl.UTF-8 | |
299 | Pliki programistyczne komponentu WebKit dla GTK 4. | |
300 | ||
301 | %package -n gtk-webkit6-apidocs | |
302 | Summary: API documentation for WebKit GTK 4 port | |
303 | Summary(pl.UTF-8): Dokumentacja API portu WebKitu do GTK 4 | |
304 | Group: Documentation | |
305 | Requires: gtk-doc-common | |
306 | BuildArch: noarch | |
307 | ||
308 | %description -n gtk-webkit6-apidocs | |
309 | API documentation for WebKit GTK 4 port. | |
310 | ||
311 | %description -n gtk-webkit6-apidocs -l pl.UTF-8 | |
312 | Dokumentacja API portu WebKitu do GTK 4. | |
313 | ||
314 | %prep | |
315 | %setup -q -n webkitgtk-%{version} | |
316 | %patch0 -p1 | |
317 | %patch1 -p1 | |
318 | %patch2 -p1 | |
319 | %patch3 -p1 | |
320 | ||
321 | %build | |
322 | %if %{with lowmem} | |
323 | CXXFLAGS="%{rpmcxxflags} --param ggc-min-expand=20 --param ggc-min-heapsize=65536" | |
324 | %endif | |
325 | for kind in %{?with_gtk3:%{?with_libsoup2:soup2} %{?with_libsoup3:soup3}} %{?with_gtk4:gtk4} ; do | |
326 | %cmake -B build-${kind} \ | |
327 | -DENABLE_GEOLOCATION=ON \ | |
328 | -DENABLE_GTKDOC=ON \ | |
329 | %{!?with_introspection:-DENABLE_INTROSPECTION=OFF} \ | |
330 | %{?with_lowmem2:-DENABLE_UNIFIED_BUILDS=OFF} \ | |
331 | -DENABLE_VIDEO=ON \ | |
332 | %{!?with_wayland:-DENABLE_WAYLAND_TARGET=OFF} \ | |
333 | -DENABLE_WEB_AUDIO=ON \ | |
334 | -DENABLE_WEBGL=ON \ | |
335 | %ifarch x32 | |
336 | -DENABLE_C_LOOP=ON \ | |
337 | -DENABLE_JIT=OFF \ | |
338 | -DENABLE_SAMPLING_PROFILER=OFF \ | |
339 | %endif | |
340 | %ifarch %{ix86} %{x8664} x32 | |
341 | -DHAVE_SSE2_EXTENSIONS=ON \ | |
342 | %endif | |
343 | -DPORT=GTK \ | |
344 | -DSHOULD_INSTALL_JS_SHELL=ON \ | |
345 | $([ "$kind" = "gtk4" ] && echo -DUSE_GTK4=ON) \ | |
346 | $([ "$kind" = "soup2" ] && echo -DUSE_SOUP2=ON) | |
347 | ||
348 | %{__make} -C build-${kind} | |
349 | done | |
350 | ||
351 | %install | |
352 | rm -rf $RPM_BUILD_ROOT | |
353 | ||
354 | for kind in %{?with_gtk3:%{?with_libsoup2:soup2} %{?with_libsoup3:soup3}} %{?with_gtk4:gtk4} ; do | |
355 | %{__make} -C build-${kind} install \ | |
356 | DESTDIR=$RPM_BUILD_ROOT | |
357 | done | |
358 | ||
359 | %if "%{_gtkdocdir}" != "%{_datadir}/gtk-doc/html" | |
360 | install -d $RPM_BUILD_ROOT%{_gtkdocdir} | |
361 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/* $RPM_BUILD_ROOT%{_gtkdocdir} | |
362 | %endif | |
363 | ||
364 | %{?with_gtk3:%{?with_libsoup2:%find_lang WebKitGTK-4.0}} | |
365 | %{?with_gtk3:%{?with_libsoup3:%find_lang WebKitGTK-4.1}} | |
366 | %{?with_gtk4:%find_lang WebKitGTK-6.0} | |
367 | ||
368 | %clean | |
369 | rm -rf $RPM_BUILD_ROOT | |
370 | ||
371 | %post -p /sbin/ldconfig | |
372 | %postun -p /sbin/ldconfig | |
373 | ||
374 | %post -n gtk-webkit4.1 -p /sbin/ldconfig | |
375 | %postun -n gtk-webkit4.1 -p /sbin/ldconfig | |
376 | ||
377 | %post -n gtk-webkit6 -p /sbin/ldconfig | |
378 | %postun -n gtk-webkit6 -p /sbin/ldconfig | |
379 | ||
380 | %if %{with gtk3} && %{with libsoup2} | |
381 | %files -f WebKitGTK-4.0.lang | |
382 | %defattr(644,root,root,755) | |
383 | %doc NEWS | |
384 | %attr(755,root,root) %{_bindir}/WebKitWebDriver-4.0 | |
385 | %attr(755,root,root) %{_libdir}/libwebkit2gtk-4.0.so.*.*.* | |
386 | %attr(755,root,root) %ghost %{_libdir}/libwebkit2gtk-4.0.so.37 | |
387 | %attr(755,root,root) %{_libdir}/libjavascriptcoregtk-4.0.so.*.*.* | |
388 | %attr(755,root,root) %ghost %{_libdir}/libjavascriptcoregtk-4.0.so.18 | |
389 | %if %{with introspection} | |
390 | %{_libdir}/girepository-1.0/JavaScriptCore-4.0.typelib | |
391 | %{_libdir}/girepository-1.0/WebKit2-4.0.typelib | |
392 | %{_libdir}/girepository-1.0/WebKit2WebExtension-4.0.typelib | |
393 | %endif | |
394 | %if "%{_libexecdir}" != "%{_libdir}" | |
395 | %dir %{_libexecdir}/webkit2gtk-4.0 | |
396 | %endif | |
397 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.0/MiniBrowser | |
398 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.0/WebKitNetworkProcess | |
399 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.0/WebKitWebProcess | |
400 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.0/jsc | |
401 | %dir %{_libdir}/webkit2gtk-4.0 | |
402 | %dir %{_libdir}/webkit2gtk-4.0/injected-bundle | |
403 | %attr(755,root,root) %{_libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so | |
404 | ||
405 | %files devel | |
406 | %defattr(644,root,root,755) | |
407 | %attr(755,root,root) %{_libdir}/libwebkit2gtk-4.0.so | |
408 | %attr(755,root,root) %{_libdir}/libjavascriptcoregtk-4.0.so | |
409 | %if %{with introspection} | |
410 | %{_datadir}/gir-1.0/JavaScriptCore-4.0.gir | |
411 | %{_datadir}/gir-1.0/WebKit2-4.0.gir | |
412 | %{_datadir}/gir-1.0/WebKit2WebExtension-4.0.gir | |
413 | %endif | |
414 | %{_includedir}/webkitgtk-4.0 | |
415 | %{_pkgconfigdir}/javascriptcoregtk-4.0.pc | |
416 | %{_pkgconfigdir}/webkit2gtk-4.0.pc | |
417 | %{_pkgconfigdir}/webkit2gtk-web-extension-4.0.pc | |
418 | ||
419 | %files apidocs | |
420 | %defattr(644,root,root,755) | |
421 | %{_gtkdocdir}/javascriptcoregtk-4.0 | |
422 | %{_gtkdocdir}/webkit2gtk-4.0 | |
423 | %{_gtkdocdir}/webkit2gtk-web-extension-4.0 | |
424 | %endif | |
425 | ||
426 | %if %{with gtk3} && %{with libsoup3} | |
427 | %files -n gtk-webkit4.1 -f WebKitGTK-4.1.lang | |
428 | %defattr(644,root,root,755) | |
429 | %doc NEWS | |
430 | %attr(755,root,root) %{_bindir}/WebKitWebDriver-4.1 | |
431 | %attr(755,root,root) %{_libdir}/libwebkit2gtk-4.1.so.*.*.* | |
432 | %attr(755,root,root) %ghost %{_libdir}/libwebkit2gtk-4.1.so.0 | |
433 | %attr(755,root,root) %{_libdir}/libjavascriptcoregtk-4.1.so.*.*.* | |
434 | %attr(755,root,root) %ghost %{_libdir}/libjavascriptcoregtk-4.1.so.0 | |
435 | %if %{with introspection} | |
436 | %{_libdir}/girepository-1.0/JavaScriptCore-4.1.typelib | |
437 | %{_libdir}/girepository-1.0/WebKit2-4.1.typelib | |
438 | %{_libdir}/girepository-1.0/WebKit2WebExtension-4.1.typelib | |
439 | %endif | |
440 | %if "%{_libexecdir}" != "%{_libdir}" | |
441 | %dir %{_libexecdir}/webkit2gtk-4.1 | |
442 | %endif | |
443 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.1/MiniBrowser | |
444 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.1/WebKitNetworkProcess | |
445 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.1/WebKitWebProcess | |
446 | %attr(755,root,root) %{_libexecdir}/webkit2gtk-4.1/jsc | |
447 | %dir %{_libdir}/webkit2gtk-4.1 | |
448 | %dir %{_libdir}/webkit2gtk-4.1/injected-bundle | |
449 | %attr(755,root,root) %{_libdir}/webkit2gtk-4.1/injected-bundle/libwebkit2gtkinjectedbundle.so | |
450 | ||
451 | %files -n gtk-webkit4.1-devel | |
452 | %defattr(644,root,root,755) | |
453 | %attr(755,root,root) %{_libdir}/libwebkit2gtk-4.1.so | |
454 | %attr(755,root,root) %{_libdir}/libjavascriptcoregtk-4.1.so | |
455 | %if %{with introspection} | |
456 | %{_datadir}/gir-1.0/JavaScriptCore-4.1.gir | |
457 | %{_datadir}/gir-1.0/WebKit2-4.1.gir | |
458 | %{_datadir}/gir-1.0/WebKit2WebExtension-4.1.gir | |
459 | %endif | |
460 | %{_includedir}/webkitgtk-4.1 | |
461 | %{_pkgconfigdir}/javascriptcoregtk-4.1.pc | |
462 | %{_pkgconfigdir}/webkit2gtk-4.1.pc | |
463 | %{_pkgconfigdir}/webkit2gtk-web-extension-4.1.pc | |
464 | ||
465 | %files -n gtk-webkit4.1-apidocs | |
466 | %defattr(644,root,root,755) | |
467 | %{_gtkdocdir}/javascriptcoregtk-4.1 | |
468 | %{_gtkdocdir}/webkit2gtk-4.1 | |
469 | %{_gtkdocdir}/webkit2gtk-web-extension-4.1 | |
470 | %endif | |
471 | ||
472 | %if %{with gtk4} | |
473 | %files -n gtk-webkit6 -f WebKitGTK-6.0.lang | |
474 | %defattr(644,root,root,755) | |
475 | %doc NEWS | |
476 | %attr(755,root,root) %{_bindir}/WebKitWebDriver-6.0 | |
477 | %attr(755,root,root) %{_libdir}/libjavascriptcoregtk-6.0.so.*.*.* | |
478 | %attr(755,root,root) %ghost %{_libdir}/libjavascriptcoregtk-6.0.so.1 | |
479 | %attr(755,root,root) %{_libdir}/libwebkitgtk-6.0.so.*.*.* | |
480 | %attr(755,root,root) %ghost %{_libdir}/libwebkitgtk-6.0.so.4 | |
481 | %if %{with introspection} | |
482 | %{_libdir}/girepository-1.0/JavaScriptCore-6.0.typelib | |
483 | %{_libdir}/girepository-1.0/WebKit-6.0.typelib | |
484 | %{_libdir}/girepository-1.0/WebKitWebProcessExtension-6.0.typelib | |
485 | %endif | |
486 | %if "%{_libexecdir}" != "%{_libdir}" | |
487 | %dir %{_libexecdir}/webkitgtk-6.0 | |
488 | %endif | |
489 | %attr(755,root,root) %{_libexecdir}/webkitgtk-6.0/MiniBrowser | |
490 | %attr(755,root,root) %{_libexecdir}/webkitgtk-6.0/WebKitNetworkProcess | |
491 | %attr(755,root,root) %{_libexecdir}/webkitgtk-6.0/WebKitWebProcess | |
492 | %attr(755,root,root) %{_libexecdir}/webkitgtk-6.0/jsc | |
493 | %dir %{_libdir}/webkitgtk-6.0 | |
494 | %dir %{_libdir}/webkitgtk-6.0/injected-bundle | |
495 | %attr(755,root,root) %{_libdir}/webkitgtk-6.0/injected-bundle/libwebkitgtkinjectedbundle.so | |
496 | ||
497 | %files -n gtk-webkit6-devel | |
498 | %defattr(644,root,root,755) | |
499 | %attr(755,root,root) %{_libdir}/libwebkitgtk-6.0.so | |
500 | %attr(755,root,root) %{_libdir}/libjavascriptcoregtk-6.0.so | |
501 | %if %{with introspection} | |
502 | %{_datadir}/gir-1.0/JavaScriptCore-6.0.gir | |
503 | %{_datadir}/gir-1.0/WebKit-6.0.gir | |
504 | %{_datadir}/gir-1.0/WebKitWebProcessExtension-6.0.gir | |
505 | %endif | |
506 | %{_includedir}/webkitgtk-6.0 | |
507 | %{_pkgconfigdir}/javascriptcoregtk-6.0.pc | |
508 | %{_pkgconfigdir}/webkitgtk-6.0.pc | |
509 | %{_pkgconfigdir}/webkitgtk-web-process-extension-6.0.pc | |
510 | ||
511 | %files -n gtk-webkit6-apidocs | |
512 | %defattr(644,root,root,755) | |
513 | %{_gtkdocdir}/javascriptcoregtk-6.0 | |
514 | %{_gtkdocdir}/webkitgtk-6.0 | |
515 | %{_gtkdocdir}/webkitgtk-web-process-extension-6.0 | |
516 | %endif |