Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
cura-engine-lulzbot
cura-engine-lulzbot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cura-engine-lulzbot.spec of Package cura-engine-lulzbot
# # spec file for package cura-engine-lulzbot # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: cura-engine-lulzbot Version: 3.6.21 Release: 0 Summary: 3D printer control software License: AGPL-3.0-only Group: Hardware/Printing Conflicts: cura-engine URL: https://code.alephobjects.com/diffusion/CTE/cura-engine.git Source0: CuraEngine-%{version}.tar.xz Source1: CuraEngine.1 # X-OPENSUSE-PATCH fix-build.patch for new libArcus Patch1: fix-build.patch # PATCH-FIX-OPENSUSE CuraEngine-gcc9.patch loose based on a patch from fedora Patch2: CuraEngine-gcc9.patch %if 0%{?suse_version} < 1500 BuildRequires: gcc6-c++ #!BuildIgnore: libgcc_s1 %else BuildRequires: gcc-c++ %endif BuildRequires: cmake BuildRequires: cppunit-devel BuildRequires: libArcus-devel BuildRequires: stb-devel # No 32bit support anymore. aarch64 support was added later (please use regular cura-engine for aarch64) ExcludeArch: %ix86 %arm aarch64 %description CuraEngine is an engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers. It is part of the larger open source project called "Cura". This is the LulzBot variation of the engine. %prep %setup -q -n CuraEngine-%version %patch1 -p1 %if 0%{?suse_version} > 1500 %patch2 -p0 %endif %build %if 0%{?suse_version} < 1500 export CC=gcc-6 export CXX=g++-6 %endif %cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true" \ -DBUILD_SHARED_LIBS="false" \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=ON %make_jobs %install cd build %make_install mv %buildroot%_bindir/CuraEngine{,-lulzbot} install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine-lulzbot.1 %check cd build make test %files %license LICENSE %doc Changelog.md README.md docs %_bindir/CuraEngine-lulzbot %_mandir/man1/CuraEngine-lulzbot.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor