diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index b08384d..c027195 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -7,7 +7,7 @@ Name: webkit2gtk3 Version: 2.22.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ Web content engine library License: LGPLv2 @@ -64,6 +64,7 @@ BuildRequires: libwayland-server-devel BuildRequires: mesa-libEGL-devel BuildRequires: mesa-libGL-devel BuildRequires: mesa-libGLES-devel +BuildRequires: ninja-build BuildRequires: pcre-devel BuildRequires: perl-File-Copy-Recursive BuildRequires: perl-JSON-PP @@ -185,6 +186,7 @@ rm -rf Source/ThirdParty/qunit/ mkdir -p %{_target_platform} pushd %{_target_platform} %cmake \ + -GNinja \ -DPORT=GTK \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_GTKDOC=ON \ @@ -196,10 +198,12 @@ pushd %{_target_platform} .. popd -make %{?_smp_mflags} -C %{_target_platform} +# Show the build time in the status +export NINJA_STATUS="[%f/%t][%e] " +%ninja_build -C %{_target_platform} %install -%make_install -C %{_target_platform} +%ninja_install -C %{_target_platform} %find_lang WebKit2GTK-4.0 @@ -274,6 +278,9 @@ make %{?_smp_mflags} -C %{_target_platform} %{_datadir}/gtk-doc/html/webkitdomgtk-4.0/ %changelog +* Tue Sep 25 2018 Tomas Popela - 2.22.2-2 +- Switch to Ninja - 7 minutes speedup in the koji build on x86_64. + * Sun Sep 23 2018 Tomas Popela - 2.22.2-1 - Update to 2.22.2