media-gfx/curaengine: version bump to 4.3.0
authorMichael Perlov <perlovka@gmail.com>
Sat, 28 Sep 2019 10:35:45 +0000 (13:35 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 16 Oct 2019 05:21:59 +0000 (08:21 +0300)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
media-gfx/curaengine/Manifest
media-gfx/curaengine/curaengine-4.3.0.ebuild [new file with mode: 0644]

index f2f0335a82d956aaf8d7e0e0eb53e7726956c594..ac7c4177842e8d3fe988d7588bc4df20222b2f80 100644 (file)
@@ -1,3 +1,4 @@
 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
+DIST curaengine-4.3.0.tar.gz 1656780 BLAKE2B 9b93e3f294a8a67c2cd4f2d4462a4047e6860e0c391e7ff550b24c498faa82fd2af4fd044845f00f93fb01d38ca3fa1511bfe65a7456b5a6e0b919821be5ab8f SHA512 60ca0ce586c0cf5f1516f803b2a05a20299ef8193f065acd6e11a0054903189225f9c60be1b536ffe5a9a22652097acd3a4aae2833920a468071b78f213f7572
diff --git a/media-gfx/curaengine/curaengine-4.3.0.ebuild b/media-gfx/curaengine/curaengine-4.3.0.ebuild
new file mode 100644 (file)
index 0000000..b13c853
--- /dev/null
@@ -0,0 +1,44 @@
+# 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 sys-devel/clang )
+       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}"
+
+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
+}