kicad-appimage/recipes/kicad5.1.yml

27 lines
676 B
YAML
Raw Normal View History

2019-07-04 15:42:38 +02:00
# 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