commit 1b7e1c06411dcfa2227a8b2e675e97b02c77fb15 Author: Karl Zeilhofer Date: Thu Jul 4 15:42:38 2019 +0200 v5.1.2 - new repo diff --git a/README.md b/README.md new file mode 100644 index 0000000..e24ec4b --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +KiCad AppImages +=============== + +These AppImages were built and tested on a Linux Mint 19. + +They were built using https://github.com/AppImage/AppImages.git running +`bash -ex ./pkg2appimage recipes/kicad4.yml` +or +`bash -ex ./pkg2appimage recipes/kicad5.yml` +using the Yaml files from the recipes folder. + +Feel free to use the recipe for the nightly version. + diff --git a/recipes/kicad5.1.yml b/recipes/kicad5.1.yml new file mode 100644 index 0000000..bfabac5 --- /dev/null +++ b/recipes/kicad5.1.yml @@ -0,0 +1,26 @@ +# Might be necessary to bundle Python - to be investigated + +app: KiCad +binpatch: true + +ingredients: + packages: + - kicad + - libcurl3 + dist: xenial + sources: + - deb http://archive.ubuntu.com/ubuntu/ xenial main universe + 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