summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2016-04-12 01:28:34 -0700
committerIan Delaney <idella4@gentoo.org>2016-04-13 15:29:35 +0800
commitc1e00fdcabd18dff609313e7a5db6beff210c63e (patch)
tree1af8a34e70ba8027409dd3424f057ca6ca9882ca /sci-electronics/kicad/files
parentsys-apps/util-linux: python3_5 support added. (diff)
downloadgentoo-c1e00fdcabd18dff609313e7a5db6beff210c63e.tar.gz
gentoo-c1e00fdcabd18dff609313e7a5db6beff210c63e.tar.bz2
gentoo-c1e00fdcabd18dff609313e7a5db6beff210c63e.zip
sci-electronics/kicad: Fix missing footprint library issue
Update ebuild to donwload and install previously missing footprint libraries. Update ebuild in preparation to EAPI=6 migration. Affected versions: 4.0.0, 4.0.1, 4.0.2 Gentoo Bug: 576820 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1241 Signed-off-by: Ian Delaney <idella4@gentoo.org>
Diffstat (limited to 'sci-electronics/kicad/files')
-rw-r--r--sci-electronics/kicad/files/kicad-footprints-cmakelists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-electronics/kicad/files/kicad-footprints-cmakelists.txt b/sci-electronics/kicad/files/kicad-footprints-cmakelists.txt
new file mode 100644
index 00000000000..d024485befd
--- /dev/null
+++ b/sci-electronics/kicad/files/kicad-footprints-cmakelists.txt
@@ -0,0 +1,16 @@
+project( kicad-footprints )
+
+cmake_minimum_required( VERSION 2.6.1 FATAL_ERROR )
+
+file(GLOB footprint_dirs "*.pretty")
+
+# Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
+set( KICAD_DATA share/kicad
+ CACHE PATH "Location of KiCad data files." )
+set( KICAD_MODULES ${KICAD_DATA}/modules )
+
+mark_as_advanced( KICAD_DATA KICAD_MODULES )
+
+install(DIRECTORY ${footprint_dirs}
+ DESTINATION ${KICAD_MODULES}
+ COMPONENT resources)