diff options
author | Dennis Lamm <expeditioneer@gentoo.org> | 2020-07-21 20:05:48 +0200 |
---|---|---|
committer | Dennis Lamm <expeditioneer@gentoo.org> | 2020-07-22 21:36:14 +0200 |
commit | b4e1e64e45b14f74641222ae21bef77ca9c57fd2 (patch) | |
tree | 1d36c05432de42b094538dc399861eb648986fe9 /media-gfx/fdm-materials | |
parent | sci-libs/libspatialindex: added desired changes (diff) | |
download | gentoo-b4e1e64e45b14f74641222ae21bef77ca9c57fd2.tar.gz gentoo-b4e1e64e45b14f74641222ae21bef77ca9c57fd2.tar.bz2 gentoo-b4e1e64e45b14f74641222ae21bef77ca9c57fd2.zip |
media-gfx/fdm-materials-4.6.1: added embedded use flag
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/16766
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'media-gfx/fdm-materials')
-rw-r--r-- | media-gfx/fdm-materials/fdm-materials-4.6.1-r1.ebuild | 26 | ||||
-rw-r--r-- | media-gfx/fdm-materials/metadata.xml | 3 |
2 files changed, 29 insertions, 0 deletions
diff --git a/media-gfx/fdm-materials/fdm-materials-4.6.1-r1.ebuild b/media-gfx/fdm-materials/fdm-materials-4.6.1-r1.ebuild new file mode 100644 index 000000000000..dd27037aa323 --- /dev/null +++ b/media-gfx/fdm-materials/fdm-materials-4.6.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +MY_PN="fdm_materials" + +DESCRIPTION="FDM materials for media-gfx/cura" +HOMEPAGE="https://github.com/Ultimaker/fdm_materials" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="embedded" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + local mycmakeargs=( + -DEMBEDDED=$(usex embedded on off) + ) + cmake_src_configure +} diff --git a/media-gfx/fdm-materials/metadata.xml b/media-gfx/fdm-materials/metadata.xml index 9db3a37e1c15..f29b491fa4de 100644 --- a/media-gfx/fdm-materials/metadata.xml +++ b/media-gfx/fdm-materials/metadata.xml @@ -24,6 +24,9 @@ <slots> <subslots>soname major version number</subslots> </slots> + <use> + <flag name="embedded">Build for Ultimaker Embedded software</flag> + </use> <upstream> <remote-id type="github">Ultimaker/fdm_materials</remote-id> </upstream> |