forked from pool/cura-engine
Accepting request 847580 from home:StefanBruens:branches:science
- Update to version 4.8.0 Release notes: * https://github.com/Ultimaker/Cura/releases/tag/4.8 - Use system RapidJSON and polyclipping when available OBS-URL: https://build.opensuse.org/request/show/847580 OBS-URL: https://build.opensuse.org/package/show/science/cura-engine?expand=0&rev=51
This commit is contained in:
parent
711a2fa364
commit
fafd3e47d9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:619d3f0f77a54b5a20391a1ae6b948f1d799f9833c8ff276bae7e9315075b1f9
|
|
||||||
size 5429773
|
|
@ -1,5 +0,0 @@
|
|||||||
name: CuraEngine
|
|
||||||
version: 4.7.1
|
|
||||||
mtime: 1597401266
|
|
||||||
commit: fadb5d6b43c3793eaed5b4e6b0337b08975fa9d5
|
|
||||||
|
|
15
_service
15
_service
@ -1,15 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="obs_scm" mode="disabled">
|
|
||||||
<param name="url">https://github.com/Ultimaker/CuraEngine.git</param>
|
|
||||||
<param name="scm">git</param>
|
|
||||||
<param name="revision">4.7.1</param>
|
|
||||||
<param name="version">4.7.1</param>
|
|
||||||
</service>
|
|
||||||
<service mode="disabled" name="set_version" />
|
|
||||||
|
|
||||||
<service mode="buildtime" name="tar" />
|
|
||||||
<service mode="buildtime" name="recompress">
|
|
||||||
<param name="file">*.tar</param>
|
|
||||||
<param name="compression">xz</param>
|
|
||||||
</service>
|
|
||||||
</services>
|
|
3
cura-engine-4.8.0.tar.gz
Normal file
3
cura-engine-4.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6a2a06700b553a5240a3025b74a43353a97e5be9b1f741eb6f01e67b2a6a222d
|
||||||
|
size 1690006
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 10 18:19:18 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Update to version 4.8.0
|
||||||
|
Release notes:
|
||||||
|
* https://github.com/Ultimaker/Cura/releases/tag/4.8
|
||||||
|
- Use system RapidJSON and polyclipping when available
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 15 21:26:14 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Tue Sep 15 21:26:14 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -17,13 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cura-engine
|
Name: cura-engine
|
||||||
Version: 4.7.1
|
%define sversion 4.8
|
||||||
|
Version: 4.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: 3D printer control software
|
Summary: 3D printer control software
|
||||||
License: AGPL-3.0-only
|
License: AGPL-3.0-only
|
||||||
Group: Hardware/Printing
|
Group: Hardware/Printing
|
||||||
URL: https://github.com/Ultimaker/CuraEngine
|
URL: https://github.com/Ultimaker/CuraEngine
|
||||||
Source0: CuraEngine-%{version}.tar.xz
|
Source0: https://github.com/Ultimaker/CuraEngine/archive/%{sversion}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: CuraEngine.1
|
Source1: CuraEngine.1
|
||||||
# X-OPENSUSE-PATCH fix-build.patch follow openSUSE policies
|
# X-OPENSUSE-PATCH fix-build.patch follow openSUSE policies
|
||||||
Patch1: fix-build.patch
|
Patch1: fix-build.patch
|
||||||
@ -31,8 +32,12 @@ BuildRequires: cmake
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gmock
|
BuildRequires: gmock
|
||||||
BuildRequires: gtest
|
BuildRequires: gtest
|
||||||
BuildRequires: libArcus-devel
|
BuildRequires: libArcus-devel >= %{version}
|
||||||
BuildRequires: stb-devel
|
BuildRequires: stb-devel
|
||||||
|
%if 0%{suse_version} >= 1550
|
||||||
|
BuildRequires: cmake(RapidJSON)
|
||||||
|
BuildRequires: pkgconfig(polyclipping)
|
||||||
|
%endif
|
||||||
# No 32bit support anymore
|
# No 32bit support anymore
|
||||||
ExcludeArch: %ix86 %arm s390
|
ExcludeArch: %ix86 %arm s390
|
||||||
|
|
||||||
@ -42,7 +47,7 @@ instruction for Ultimaker and other GCode-based 3D printers.
|
|||||||
It is part of the larger project called "Cura".
|
It is part of the larger project called "Cura".
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n CuraEngine-%version
|
%setup -q -n CuraEngine-%sversion
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
# the test is hardcoding the version number
|
# the test is hardcoding the version number
|
||||||
sed -i -e 's,"master","%{version}",' tests/GCodeExportTest.cpp
|
sed -i -e 's,"master","%{version}",' tests/GCodeExportTest.cpp
|
||||||
@ -52,12 +57,14 @@ sed -i -e 's,"master","%{version}",' tests/GCodeExportTest.cpp
|
|||||||
%cmake -DCURA_ENGINE_VERSION=%version \
|
%cmake -DCURA_ENGINE_VERSION=%version \
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE="true" \
|
-DCMAKE_POSITION_INDEPENDENT_CODE="true" \
|
||||||
-DBUILD_SHARED_LIBS="false" \
|
-DBUILD_SHARED_LIBS="false" \
|
||||||
|
%if 0%{suse_version} >= 1550
|
||||||
|
-DUSE_SYSTEM_LIBS=ON \
|
||||||
|
%endif
|
||||||
-DBUILD_TESTS=ON
|
-DBUILD_TESTS=ON
|
||||||
%make_jobs
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
%cmake_install
|
||||||
%make_install
|
|
||||||
|
|
||||||
install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine.1
|
install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine.1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user