summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2018-11-02 22:50:58 -0700
committerAmy Liffey <amynka@gentoo.org>2019-01-02 17:49:41 +0100
commitbbc084ef7e2114fda49c1fe59cd82afb72e08ba7 (patch)
treeea04150e242aa1e99de4c3167b2d1d200f6ced7c /sci-electronics
parentsci-electronics/kicad-footprints: Bump to 5.0.1 version (diff)
downloadgentoo-bbc084ef7e2114fda49c1fe59cd82afb72e08ba7.tar.gz
gentoo-bbc084ef7e2114fda49c1fe59cd82afb72e08ba7.tar.bz2
gentoo-bbc084ef7e2114fda49c1fe59cd82afb72e08ba7.zip
sci-electronics/kicad-packages3d: Bump to 5.0.1 version
Bug: https://bugs.gentoo.org/669366 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Amy Liffey <amynka@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad-packages3d/Manifest1
-rw-r--r--sci-electronics/kicad-packages3d/kicad-packages3d-5.0.1.ebuild23
-rw-r--r--sci-electronics/kicad-packages3d/metadata.xml8
3 files changed, 32 insertions, 0 deletions
diff --git a/sci-electronics/kicad-packages3d/Manifest b/sci-electronics/kicad-packages3d/Manifest
index a9b9cce0114..c47e61875c5 100644
--- a/sci-electronics/kicad-packages3d/Manifest
+++ b/sci-electronics/kicad-packages3d/Manifest
@@ -1 +1,2 @@
DIST kicad-packages3d-5.0.0.tar.gz 767675132 BLAKE2B d7c43ddf96dcce768ca9fa9d73a8bff3ab325983cbc75dc1fd55e93deecf4014a482b2359f63786dc0b84601780532a71f8b8e70132b3f924f30ebc3aea92900 SHA512 02145a2745242746903c50f3616b836fd02a02411970c8600248b29f267c5abf13527c51a311c581164298498813a55d22663d25eaa0fa337a3188e6412f685b
+DIST kicad-packages3d-5.0.1.tar.gz 791951390 BLAKE2B 31c10869d53c7fe262bc90c721d0e99b1381e5faaf157597f5c58b00f328ab654260cc306466fbdb3ed6c48e71d21b48e74365d62aca009a2d3b77c0c3feb988 SHA512 8f188c5b97904eca0e564ccbdf29c0b6cf99fb60290f3c11a22d4c38c91edb3aee20412be867eee84007e39d54f808cff713f6252536045d92e891ed735ed334
diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-5.0.1.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-5.0.1.ebuild
new file mode 100644
index 00000000000..eebce77a226
--- /dev/null
+++ b/sci-electronics/kicad-packages3d/kicad-packages3d-5.0.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit check-reqs cmake-utils
+
+DESCRIPTION="Electronic Schematic and PCB design tools 3D package libraries"
+HOMEPAGE="https://kicad.github.io/packages3d/"
+SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="occ +oce"
+
+REQUIRED_USE="|| ( occ oce )"
+
+DEPEND=""
+RDEPEND=">=sci-electronics/kicad-5.0.0[occ=,oce=]"
+
+CHECKREQS_DISK_BUILD="9G"
+S="${WORKDIR}/${P/3d/3D}"
diff --git a/sci-electronics/kicad-packages3d/metadata.xml b/sci-electronics/kicad-packages3d/metadata.xml
index 9f7fcf12e87..99147067b61 100644
--- a/sci-electronics/kicad-packages3d/metadata.xml
+++ b/sci-electronics/kicad-packages3d/metadata.xml
@@ -15,6 +15,14 @@
libs. Each directory directory contains multiple 3D model files, with
the following supported file formats: WRL, STEP.
</longdescription>
+ <use>
+ <flag name="occ">
+ Use <pkg>sci-libs/opencascade</pkg> for data exchange
+ </flag>
+ <flag name="oce">
+ Use <pkg>sci-libs/oce</pkg> for data exchange
+ </flag>
+ </use>
<upstream>
<remote-id type="github">kicad/kicad-packages3d</remote-id>
</upstream>