diff options
Diffstat (limited to 'media-gfx/curaengine')
-rw-r--r-- | media-gfx/curaengine/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/curaengine/curaengine-4.2.0.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/curaengine/Manifest b/media-gfx/curaengine/Manifest index 519140d78e54..d7405f30d7c0 100644 --- a/media-gfx/curaengine/Manifest +++ b/media-gfx/curaengine/Manifest @@ -1,5 +1,7 @@ DIST curaengine-3.4.1.tar.gz 949312 BLAKE2B 4902575c40002ab49e3ef13c94c8531b6975ff62e58012dc48744e2d27e9d1767e8f7768250179a374ed24da5a5e2085e9c194068ad6ffb98fff0595a314f7b0 SHA512 51c75e299ef7728101a4c61aa033c9b07112b0955d2ec72ba6173684513ed3c503a744fab487efe2c19da01eb97bd1297b5b8724b4f767639c8e82eefcdd01be DIST curaengine-3.6.0.tar.gz 1390109 BLAKE2B a0a6b8016bb5fa2f772634a671fc391df45875fc36cdf100f00ce34b9d5495f32986c473b1ba4c184cb77e50a64e2648c5d4f31053790182e657b0c981e1412c SHA512 340dad4c697fb0d7b633091715a904ae7df8973626e217ae2528d0121723c07a6cf0bbc740b9ad9980f3b288fa690c9c3ee43d90914264855dace007bbb334c8 +DIST curaengine-4.2.0.tar.gz 1654657 BLAKE2B c11f77a126e49c1c63550accd42c3616ab647d2575de0f11e64cb2188e7c565a54f3613e296c3f19e8534a7a758162fe29cdd62e8d62d691a7d9c9e6430545ce SHA512 6c3edac5a21068b50a31d3ab37dac58b986e18be2d24711d77cf210da62b521d62dc92a1b4e8865a26e5c394119349f03b3816d19d67ebee670424cc4a7b2500 EBUILD curaengine-3.4.1.ebuild 875 BLAKE2B 943c5d77bb91f833a42005edff60824935bc9cc0d6707035ee5ab2fe29d8d631c51fc7678b96dbebf468ea2e5bbb9cfb233999ffaadcf9f196ec824ba2f3d83f SHA512 4ec5e4cb05f236ff9052ecf6455967d05ae668002d255af0d8435960080882ec687de6d7547074d4fee1fd435a04796a26dc4bcdd595ad5748e8d3b0c052f39e EBUILD curaengine-3.6.0.ebuild 875 BLAKE2B 943c5d77bb91f833a42005edff60824935bc9cc0d6707035ee5ab2fe29d8d631c51fc7678b96dbebf468ea2e5bbb9cfb233999ffaadcf9f196ec824ba2f3d83f SHA512 4ec5e4cb05f236ff9052ecf6455967d05ae668002d255af0d8435960080882ec687de6d7547074d4fee1fd435a04796a26dc4bcdd595ad5748e8d3b0c052f39e +EBUILD curaengine-4.2.0.ebuild 1507 BLAKE2B fc44669821417480266caea7e305b363f60042b0d6d5f5c440e327f05f12fcef151d80e0cc2d1652ee79976866225b95cbc55ee255c30139c16f98e4153669c9 SHA512 12ff9ce73c0c1471bd9ea9fc1d3cd83198ae5a83c5fa42a41d2dbdd6a28b3763c80539f8b2bd6b01a96723473a1a62aab4ee179db613203ff56ef1d35de53290 MISC metadata.xml 862 BLAKE2B 233eef15a865c598451d8a6100a8dc99f4c9a4c4ae4f8692a473ad2b8de5c2bc5216052b2bbf698e98f1c7f8156512084beaebc6148b9bc333d5c09d9bfda3ba SHA512 92e4cf75b949ac201537780bc5acf295720da8a342f6d882e2ca3b36aaa5691a3df31e6cf79e44b25f88d2f1177a1b6227165cbe8b9da8762b35560927239382 diff --git a/media-gfx/curaengine/curaengine-4.2.0.ebuild b/media-gfx/curaengine/curaengine-4.2.0.ebuild new file mode 100644 index 000000000000..30ee0ee8564f --- /dev/null +++ b/media-gfx/curaengine/curaengine-4.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils toolchain-funcs + +MY_PN="CuraEngine" + +DESCRIPTION="A 3D model slicing engine for 3D printing" +HOMEPAGE="https://github.com/Ultimaker/CuraEngine" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +BDEPEND="|| ( <sys-devel/gcc-9 <sys-devel/clang-8 ) + doc? ( app-doc/doxygen )" +RDEPEND="${PYTHON_DEPS} + ~dev-libs/libarcus-${PV}:* + dev-libs/protobuf + dev-libs/stb" +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +S="${WORKDIR}/${MY_PN}-${PV}" + +pkg_pretend() { + if [[ $(tc-getCC) == clang ]] && [[ $(clang-major-version) -ge 8 ]]; then + eerror "Compilation with sys-devel/clang-8 or newer is not supported" + eerror "See https://github.com/Ultimaker/CuraEngine/issues/984 for more information" + eerror "" + die "Incompatible clang version found" + elif [[ $(gcc-major-version) -ge 9 ]]; then + eerror "Compilation with sys-devel/gcc-9 or newer is not supported" + eerror "See https://github.com/Ultimaker/CuraEngine/issues/984 for more information" + eerror "" + die "Incompatible gcc version found" + fi +} + +src_configure() { + local mycmakeargs=( "-DBUILD_TESTS=$(usex test ON OFF)" ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_make + if use doc; then + doxygen + mv docs/html . || die + find html -name '*.md5' -or -name '*.map' -delete || die + DOCS+=( html ) + fi +} |