Package Details: kicad-library-3d-git 5.1.6.r29.g1080b6e5-1

Git Clone URL: https://aur.archlinux.org/kicad-library-3d-git.git (read-only, click to copy)
Package Base: kicad-library-3d-git
Description: https://gitlab.com/kicad/libraries/kicad-packages3D
Upstream URL: https://gitlab.com/kicad/libraries/kicad-packages3D
Licenses: CC-BY-SA 4.0
Conflicts: kicad-library-3d
Provides: kicad-library-3d
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 3
Popularity: 0.000000
First Submitted: 2021-06-24 17:05 (UTC)
Last Updated: 2021-11-03 19:01 (UTC)

Dependencies (4)

Required by (2)

  • kibot (requires kicad-library-3d) (optional)
  • kicad-rc (requires kicad-library-3d) (optional)

Sources (1)

Latest Comments

Harvie commented on 2023-01-25 16:57 (UTC)

Hello, can you please compress the models before packaging? (on top of stepreducing) Eg. from wrl/step to wrz/stpz It would save huge amount of disk space. Thanks! https://bugs.archlinux.org/task/73320

msrd0 commented on 2021-12-03 11:34 (UTC)

Can you please use multi-threading for the step compression by default? Having 24 threads with 23 idle sucks

phillid commented on 2021-10-10 08:20 (UTC)

Suggestion: GNU parallel speeds up the stepreduce greatly for me. The build comes down from 25 minutes to just 2 minutes with this change.

diff --git a/PKGBUILD b/PKGBUILD
index 0da648a..ecd926b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,7 @@ url=https://gitlab.com/kicad/libraries/kicad-packages3D
 license=('CC-BY-SA 4.0')
 options=('!strip')
 makedepends=(
+  parallel
   stepreduce-git
   cmake
   git
@@ -26,7 +27,7 @@ pkgver() {
 prepare() {
   cd kicad-packages3D
   msg2 "ensmall the step files"
-  find -name '*.step' -exec stepreduce {} {}.reduced \; -exec mv {}.reduced {} \;
+  find -name '*.step' -print0 | parallel -0 stepreduce {} {}.reduced \; mv {}.reduced {}
 }

 build() {

SpotlightKid commented on 2020-10-13 17:02 (UTC)

You shouldn't check out the git repo in the prepare function. Add it to the sources array. Also, don't make the build directory in $srcdir. This might be shared, so the name will conflict.

Better PKGBUILD: https://gist.github.com/SpotlightKid/93c9970ebd62469938110a04a379b95d

jordiorlando commented on 2019-03-19 06:01 (UTC)

Could you also make a kicad-packages3d AUR package that tracks stable releases? (e.g. 5.1.0)

Salamandar commented on 2018-10-31 16:24 (UTC)

Please replace the git:// with git+https://. git protocol is blocked in most companies.