forked from pool/krita
This commit is contained in:
parent
455b67ba90
commit
4425ffbabf
@ -23,6 +23,7 @@ License: GPL-2.0+ and LGPL-2.1+
|
||||
Group: Productivity/Office/Suite
|
||||
Url: http://www.krita.org/
|
||||
Source0: http://download.kde.org/stable/krita/%{version}/krita-%{version}.tgz
|
||||
Source99: %{name}.changes
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: OpenColorIO-devel
|
||||
BuildRequires: OpenEXR-devel
|
||||
@ -101,6 +102,13 @@ Krita is the image manipulation application of the Calligra Suite.
|
||||
%prep
|
||||
%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
|
||||
%cmake_kf5 -d build
|
||||
%make_jobs
|
||||
|
Loading…
Reference in New Issue
Block a user