SHA256
1
0
forked from pool/krita
Raymond Wooninck 2016-06-14 19:07:33 +00:00 committed by Git OBS Bridge
parent 455b67ba90
commit 4425ffbabf

View File

@ -23,6 +23,7 @@ License: GPL-2.0+ and LGPL-2.1+
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
Url: http://www.krita.org/ Url: http://www.krita.org/
Source0: http://download.kde.org/stable/krita/%{version}/krita-%{version}.tgz Source0: http://download.kde.org/stable/krita/%{version}/krita-%{version}.tgz
Source99: %{name}.changes
BuildRequires: Mesa-devel BuildRequires: Mesa-devel
BuildRequires: OpenColorIO-devel BuildRequires: OpenColorIO-devel
BuildRequires: OpenEXR-devel BuildRequires: OpenEXR-devel
@ -101,6 +102,13 @@ Krita is the image manipulation application of the Calligra Suite.
%prep %prep
%setup -q -n krita-%{version} %setup -q -n krita-%{version}
# Remove build time references so build-compare can do its work
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE99} '+%%b %%e %%Y')
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 %build
%cmake_kf5 -d build %cmake_kf5 -d build
%make_jobs %make_jobs