$ git diff --patch-with-stat --summary 793586d581309e3ebcb94486d279627019bf778d..ec15953121b0862b46c943b96231c8d39fe68ef4
.abf.yml | 4 +++-
krita.rpmlintrc | 1 +
krita.spec | 12 +++++++++++-
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index 0b3a249..ef71e6d 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,4 +1,6 @@
removed_sources:
krita-3.3.1.tar.gz: 37f7e0042af09b28ad4d978655d450a8f615430b
-sources:
krita-3.3.3.tar.gz: 66c868ffd00d5bb86e55f8e38ceda81d8003e133
+ krita-4.0.0.51.tar.gz: 12e1cb03789984c439926000cd16f1dcd42b4475
+sources:
+ krita-4.0.0.tar.gz: 75cfb256f8634ea70cb8fdcd5e718c8de2e07cdf
diff --git a/krita.rpmlintrc b/krita.rpmlintrc
index 883a137..89c31b1 100644
--- a/krita.rpmlintrc
+++ b/krita.rpmlintrc
@@ -2,3 +2,4 @@
# like libraries...
addFilter("E: devel-file-in-non-devel-package")
addFilter("E: executable-in-library-package")
+addFilter("E: incoherent-version-in-name")
diff --git a/krita.spec b/krita.spec
index 5a4bd5c..953756a 100644
--- a/krita.spec
+++ b/krita.spec
@@ -6,7 +6,7 @@
Name: krita
# Needs to match/outnumber calligra
Epoch: 16
-Version: 3.3.3
+Version: 4.0.0
Release: 1
Source0: http://download.kde.org/stable/krita/%{version}/%{name}-%{version}.tar.gz
Source1000: %{name}.rpmlintrc
@@ -26,6 +26,7 @@ BuildRequires: cmake(Qt5PrintSupport)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Test)
+BuildRequires: cmake(Qt5QuickWidgets)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(ECM)
BuildRequires: cmake(KF5Archive)
@@ -72,6 +73,9 @@ BuildRequires: gomp-devel
BuildRequires: pkgconfig(IlmBase)
BuildRequires: pkgconfig(OpenEXR)
BuildRequires: pkgconfig(gsl)
+BuildRequires: giflib-devel
+BuildRequires: python-qt5-devel
+BuildRequires: python-sip
# Those used to be separate libpackages in 2.x, but it didn't make much
# sense, nothing outside of krita uses those libraries (and nothing can,
@@ -100,6 +104,9 @@ and textures for rendering.
export CC=gcc
export CXX=g++
+# check wrongly requires qt5.9 but really can be 5.8
+sed -i 's/0x050900/0x050800/' plugins/impex/raw/3rdparty/libkdcraw/src/kdcraw_p.cpp
+
%cmake_kde5 -G Ninja
%build
@@ -115,11 +122,14 @@ rm -f %{buildroot}%{_datadir}/color-schemes/Breeze*.colors
%files -f krita.lang
%config %{_sysconfdir}/xdg/kritarc
%{_bindir}/krita
+%{_bindir}/kritarunner
%{_datadir}/metainfo/org.kde.krita.appdata.xml
%{_datadir}/applications/*
%{_libdir}/libkrita*.so*
%dir %{_libdir}/kritaplugins
%{_libdir}/kritaplugins/*.so
+%{_libdir}/krita-python-libs
+%{_libdir}/qt5/qml/org/krita
%{_datadir}/icons/*/*/*/calligrakrita.*
%{_datadir}/icons/*/*/*/application-x-krita.*
%{_datadir}/%{name}