diff --git a/_constraints b/_constraints
index 293f62f..891c663 100644
--- a/_constraints
+++ b/_constraints
@@ -4,7 +4,7 @@
4
- 10
+ 28
diff --git a/krita-5.0.8.tar.xz b/krita-5.0.8.tar.xz
deleted file mode 100644
index b647ce6..0000000
--- a/krita-5.0.8.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4c221a3c7bbbb8d3297ffe9032c8946cbd835623f22b27f08f617aaa4e496083
-size 179344256
diff --git a/krita-5.0.8.tar.xz.sig b/krita-5.0.8.tar.xz.sig
deleted file mode 100644
index df92418..0000000
--- a/krita-5.0.8.tar.xz.sig
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAABCgAdFiEEBkGCRAxnTZ+ND2+LTaee2iMchSsFAmKN7wcACgkQTaee2iMc
-hSt3OhAA5W09aPttRhiFqnqrFHF+IJPUOdEi7zsvRMG/PsriTIhPsnNnRSFV0hDP
-g8LzTAxnkWBK0PEWUU8jIsPmtTv1UTGC43gZXq89W/iN/ZBTPynhcSEsGa9p78kk
-surPCmirBjWSW9NHmBTMUxk+x0nR7pqnHWaPeP6tkPEafTGhRxqUpLhuGJgeHji0
-acuyJzjQjHkn2hpwRR0ahV2BcB+aQF8oPDUei9KeytPdmLFIEeUyKlk4T71pQwG2
-wdr5bKXHxND7XBEB0wutV66BnxUO4n5Jt89EhrAfkSFFEGFLvZlTxWKBRPa/EVQx
-mMfsMAfUE2SeA1RRsfgSd/PSW3wdlvJ1ayfjreWpqKDqLevYi47S+zTWKzcSEuZi
-dpe+a2Z44dypBvq92ZoKwhqthZEDpiLXbUARYzn/MaTz0Dm5y0QgC/iPELrjN9Oo
-wQ2VhScrgugz8QHo2FNISiiAlUwCYcG/V//A1YMvOdhoDwUJdZhkuL7jWNRU5B7c
-aPKaeXKwa7Y6flLHNwsfYyGnaEyQO1T9ZLhExKUBxZE8LfjEAbtZ/t55kZEFLw/e
-AxPJolFphJKKBZ9FBoDXftzsSGIrtsPl++LOJZ2iHmapnqO4z+9mDi7emPfv8QpZ
-dqA25i9Y96oPEMynKK5sdkEH2oDYB9P8BGgK5WJfPr65EjNCITs=
-=O9Lj
------END PGP SIGNATURE-----
diff --git a/krita-5.1.0.tar.xz b/krita-5.1.0.tar.xz
new file mode 100644
index 0000000..ddf585e
--- /dev/null
+++ b/krita-5.1.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:700a4b82da6c9565141eb5cf5377ec6c57878b7043812b6fc48ab8355a5d0954
+size 185046076
diff --git a/krita-5.1.0.tar.xz.sig b/krita-5.1.0.tar.xz.sig
new file mode 100644
index 0000000..b3bad83
--- /dev/null
+++ b/krita-5.1.0.tar.xz.sig
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEEBkGCRAxnTZ+ND2+LTaee2iMchSsFAmL8qO0ACgkQTaee2iMc
+hSucTg//RCRv3dgaKOSwKj3/v1V5qLEhwBBAj8xyXRwezhRJ38cN4gHttRUEnRGB
+GDdfGuRrKUHZE3RnfiskkLNUDTtdR3gkRpr0x0OSaMTRRNwhzCB1TUI6lX3jMAZJ
+O/lCoYkH/JOPX0CkveCjLc4XiyeRY9zzfRGA7l+8Px0MdXeBzBY/PuMFC2S6guiP
+xQPc1i0mrpVTBeYzjzNPH7WaUnAva/92yLIgRCzyde5Jlzw/C0IK8Ejp9nrTyxCm
+30hu72KdaEEHuY1IaTYILvNvHricK3K3K+PJQlB4ZTuShjaI8cghvpW5b1M9ZsRy
+gIjOw5+adeXm+DMFPHcRPYiLkwoHqcZpcyuqRv2VvcyEu6TTDl60ZJugEMtg6zfR
+tFmSDJZEnZB0sVJ/O5wUxTZlUr0FO8Vu6xGtqqqeIIW0d2Zp7nZTAqgucLU5X8yy
+LWI3+L8ZS9HLcQks7TP4fFicbhlpSezqJ2/UUAGjQ9ekPzbR9JUC25fCiTcj0eyB
+jBOvxIUo18qeZ+dVTlXkgpSjNCYjJfEZ0OlCamVlOSdJXPaTb5W6vQFB9ZxA0ts6
+Hhqf02G027Db5K8ZJpATclsJuBFlWK+qtNfLZSbmiQt6A7N7z/QUaYwIJ/Xk2caj
+og/YYm7T5c9VJou+X4iYMShNiaM7lubPCX8ifLwJJZpqas2O+cQ=
+=4NAX
+-----END PGP SIGNATURE-----
diff --git a/krita.changes b/krita.changes
index 3306863..d007998 100644
--- a/krita.changes
+++ b/krita.changes
@@ -1,3 +1,24 @@
+-------------------------------------------------------------------
+Tue Aug 23 15:25:29 UTC 2022 - Wolfgang Bauer
+
+- Update to 5.1.0
+ * See https://krita.org/en/item/krita-5-1-0-released/
+ * Even more operations can handle multiple selected layers
+ * Improved support for WebP, Photoshop layered TIFF and Photoshop
+ files
+ * Now uses XSIMD instead of VC
+ * The fill tools have been extended with continuous fill and a
+ new Enclose and fill tool
+ * You can now configure touch controls in canvas input settings,
+ like "Tap to Undo"
+ * Bug fixes, performance improvements, user interface polishing
+- Increase minimum disksize in _constraints to avoid build failures
+ due to lack of disk space
+- Build with boost 1.75 on Leap, compilation fails with the default
+ version
+- Drop Vc build requirement, it's not used anymore
+- Remove no longer necessary workaround to fix build on ARM
+
-------------------------------------------------------------------
Fri May 27 06:38:23 UTC 2022 - Christophe Giboudeaux
diff --git a/krita.spec b/krita.spec
index 0bdde7b..02a9cec 100644
--- a/krita.spec
+++ b/krita.spec
@@ -17,14 +17,8 @@
%bcond_without released
-# Enable VC only on x86*
-%ifarch %{ix86} x86_64
-%bcond_without vc
-%else
-%bcond_with vc
-%endif
Name: krita
-Version: 5.0.8
+Version: 5.1.0
Release: 0
Summary: Digital Painting Application
License: BSD-2-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later AND CC0-1.0 AND LGPL-2.0-only
@@ -41,7 +35,12 @@ BuildRequires: fftw3-devel
BuildRequires: giflib-devel
BuildRequires: gsl-devel
BuildRequires: kseexpr-devel
+%if 0%{?suse_version} > 1500
BuildRequires: libboost_system-devel
+%else
+BuildRequires: libboost_system1_75_0-devel
+#!BuildIgnore: libboost_headers1_66_0-devel
+%endif
BuildRequires: libeigen3-devel
BuildRequires: libexiv2-devel
%if 0%{?suse_version} > 1500 || (0%{?is_opensuse} && 0%{?sle_version} >= 150300)
@@ -95,9 +94,6 @@ BuildRequires: pkgconfig(xi) >= 1.4.99.1
Recommends: python3-qt5
Obsoletes: calligra-krita < %{version}
Provides: calligra-krita = %{version}
-%if %{with vc}
-BuildRequires: Vc-devel-static
-%endif
Recommends: krita-plugin-gmic
%description
@@ -119,10 +115,6 @@ Development headers and libraries for Krita.
%autosetup -p1
%build
-%ifarch %{arm} aarch64
-# workaround to avoid build failure on ARM, see https://bugs.kde.org/show_bug.cgi?id=421136
-export CXXFLAGS="%{optflags} -DHAS_ONLY_OPENGL_ES"
-%endif
# install translations to %%{_kf5_localedir} so they don't clash with the krita translations in calligra-l10n (KDE4 based)
# can probably be changed back to the standard location when calligra is KF5 based...
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}