Accepting request 446490 from home:Vogtinator:branches:KDE:Extra

Update to version 3.1.1

OBS-URL: https://build.opensuse.org/request/show/446490
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=30
This commit is contained in:
Luca Beltrame 2016-12-16 10:34:07 +00:00 committed by Git OBS Bridge
parent 35a0eed5f5
commit 5624a3fb7f
4 changed files with 50 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b36ce546fd5a469485496171add94c0deda3c26bdb7a688b7d593f5155baa86c
size 206390786

3
krita-3.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62ef2c4b9b19563c1e2e6dc0643dd0880e04469dd5798373401d8dd666720e8f
size 209529508

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Dec 15 16:26:07 UTC 2016 - fabian@ritter-vogt.de
- Sync with KUE:
* Add -devel subpackage
* Use %bcond_without lang
* Don't remove non-existing color schemes any more
- Require Qt 5.6
- Update to version 3.1.1:
* Full Support for OSX
* Render Animations to files
* Animation Curves and Opacity
* New Internal Color Picker
* New Quick Brush Engine
* Stop-Based Gradient Editor
* Lazy Brush/Colorize Mask
* More information on https://krita.org/en/release-notes-for-krita-3-1/
-------------------------------------------------------------------
Sun Nov 6 17:05:13 UTC 2016 - wbauer@tmo.at

View File

@ -15,8 +15,11 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
Name: krita
Version: 3.0.1.1
Version: 3.1.1
Release: 0
Summary: Digital Painting Application
License: GPL-2.0+ and LGPL-2.1+
@ -64,7 +67,7 @@ BuildRequires: perl
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Core) >= 5.6
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
@ -88,7 +91,9 @@ BuildRequires: pkgconfig(xi) >= 1.4.99.1
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xorg-macros) >= 1.3
BuildRequires: pkgconfig(xrandr)
%if %{with lang}
Recommends: %{name}-lang = %{version}
%endif
Recommends: create-resources
%if %{suse_version} > 1320 || 0%{?is_opensuse}
Obsoletes: calligra-krita < %{version}
@ -105,7 +110,18 @@ It is made by artists that want to see affordable art tools for everyone.
* texture and matte painters
* illustrations and comics
%package devel
Summary: Krita Build Environment
Group: Development/Libraries/KDE
Requires: %{name} = %{version}
Conflicts: calligra-devel
%description devel
Development headers and libraries for Krita.
%if %{with lang}
%lang_package
%endif
%prep
%setup -q -n krita-%{version}
@ -116,7 +132,6 @@ FAKE_TIME=$(LC_ALL=C date -u -r %{SOURCE99} '+%%H:%%M')
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" plugins/extensions/gmic/3rdparty/gmic/CImg.h
sed -i "s/__TIME__/\"$FAKE_TIME\"/" plugins/extensions/gmic/3rdparty/gmic/CImg.h
%build
# 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...
@ -129,19 +144,6 @@ sed -i "s/__TIME__/\"$FAKE_TIME\"/" plugins/extensions/gmic/3rdparty/gmic/CImg.h
chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop
#Remove unwanted development files
for i in image libpaintop store libbrush version undo2 odf color ui text plugin widgetutils pigment textlayout vectorimage flake basicflakes global widgets psd
do
rm %{buildroot}%{_kf5_libdir}/libkrita${i}.so
done
# remove color schemes that are already included in breeze5 (kde#368093)
for i in BreezeDark BreezeHighContrast
do
rm %{buildroot}/%{_kf5_sharedir}/color-schemes/${i}.colors
done
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -153,23 +155,33 @@ done
%{_kf5_applicationsdir}/*.desktop
%{_kf5_sharedir}/krita/
%{_kf5_appstreamdir}/
%{_kf5_libdir}/libkrita*.so.*
%{_kf5_libdir}/kritaplugins/
%{_kf5_libdir}/libkritacolord.so
%{_kf5_sharedir}/kritaplugins/
%{_kf5_sharedir}/color/
%{_kf5_sharedir}/color-schemes/
%{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.*
%{_kf5_libdir}/libkrita*.so.*
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-krita.png
%dir %{_kf5_iconsdir}/hicolor/1024x1024
%dir %{_kf5_iconsdir}/hicolor/1024x1024/apps
%dir %{_kf5_iconsdir}/hicolor/1024x1024/mimetypes
%dir %{_kf5_iconsdir}/hicolor/256x256
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
%dir %{_kf5_iconsdir}/hicolor/256x256/mimetypes
%dir %{_kf5_iconsdir}/hicolor/512x512
%dir %{_kf5_iconsdir}/hicolor/512x512/apps
%dir %{_kf5_iconsdir}/hicolor/512x512/mimetypes
%config %{_kf5_configdir}/krita*
%files devel
%{_kf5_libdir}/libkrita*.so
%exclude %{_kf5_libdir}/libkritacolord.so
%if %{with lang}
%files lang
%defattr(-,root,root,-)
%{_kf5_localedir}
%endif
%changelog