diff --git a/recipes/kicad7.0.11.yml b/recipes/kicad7.0.11.yml new file mode 100644 index 0000000..f1cecf6 --- /dev/null +++ b/recipes/kicad7.0.11.yml @@ -0,0 +1,26 @@ +# Might be necessary to bundle Python - to be investigated + +app: KiCad +binpatch: true + +ingredients: + packages: + - kicad + - libcurl3 + dist: sid + sources: + - deb deb http://deb.debian.org/debian sid main + # ppas: + # - js-reynaud/kicad-5.1 + +script: + - # Workaround until + - # AppRun.c exports rather than just sets environment variables + - cat > ./AppRun <<\EOF + - #!/bin/sh + - HERE="$(dirname "$(readlink -f "${0}")")" + - export LD_LIBRARY_PATH="${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib/:"${HERE}"/lib/:$LD_LIBRARY_PATH + - cd "${HERE}/usr" + - exec "./bin/kicad" "$@" + - EOF + - chmod a+x ./AppRun