-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcom.autodesk.eagle.yaml
46 lines (46 loc) · 1.46 KB
/
com.autodesk.eagle.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
app-id: com.autodesk.eagle
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: eagle
cleanup:
- /lib/pkgconfig
finish-args:
- --device=dri
- --filesystem=home
- --share=ipc
- --share=network
- --socket=x11
modules:
- name: eagle
buildsystem: simple
build-commands:
- install -Dm755 apply_extra eagle -t /app/bin/
- install -Dm644 ${FLATPAK_ID}.png -t /app/share/icons/hicolor/128x128/apps/
- install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/
- install -Dm644 ${FLATPAK_ID}.xml -t /app/share/mime/packages/
- |
install -Dm644 /dev/stdin /app/etc/ld.so.conf <<EOF
/app/extra/lib
EOF
sources:
- type: extra-data
filename: eagle.tar.gz
url: https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz
sha256: 0086b3fddcd9eaeead0f30f814b868a9e0ef75fbdf6185ec3448d0a9edf35ea3
size: 171780187
- type: file
path: apply_extra
- type: script
dest-filename: eagle
commands:
- exec /app/extra/eagle "$@"
- type: file
path: com.autodesk.eagle.desktop
- type: file
path: com.autodesk.eagle.png
- type: file
path: com.autodesk.eagle.xml
# TODO: maybe package an updated ngspice release
# latest manual: http://ngspice.sourceforge.net/docs/ngspice-manual.pdf
# - ../shared-modules/ngspice/ngspice.json