-
Notifications
You must be signed in to change notification settings - Fork 13
/
com.intel.quartus_prime.modelsim_ase.yaml
116 lines (116 loc) · 3.68 KB
/
com.intel.quartus_prime.modelsim_ase.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
app-id: com.intel.quartus_prime.modelsim_ase
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Compat.i386
- org.freedesktop.Sdk.Extension.toolchain-i386
add-extensions:
org.freedesktop.Platform.Compat.i386:
directory: lib/i386-linux-gnu
version: '21.08'
org.freedesktop.Platform.Compat.i386.Debug:
directory: lib/debug/lib/i386-linux-gnu
version: '21.08'
no-autodownload: true
x-compat-i386-opts: &compat_i386_opts
prepend-pkg-config-path: /app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig
ldflags: -L/app/lib32
prepend-path: /usr/lib/sdk/toolchain-i386/bin
env:
CC: i686-unknown-linux-gnu-gcc
CXX: i686-unknown-linux-gnu-g++
libdir: /app/lib32
command: modelsim
cleanup:
- /include
- /lib*/pkgconfig
- '*.a'
- '*.la'
finish-args:
- --allow=multiarch
- --device=all
- --device=dri
- --env=PATH=/app/bin:/usr/bin:/app/extra/modelsim/bin
- --filesystem=home
- --share=ipc
- --share=network
- --socket=x11
modules:
- name: modelsim
buildsystem: simple
build-commands:
- install -Dm755 apply_extra modelsim -t /app/bin/
- install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/
- install -Dm644 ${FLATPAK_ID}.png -t /app/share/icons/hicolor/512x512/apps/
- install -Dm644 ld.so.conf -t /app/etc/
- install -dm755 /app/lib{,/debug/lib}/i386-linux-gnu
sources:
- type: extra-data
filename: ModelSimSetup-linux.run
url: http://download.altera.com/akdlm/software/acdsinst/20.1std/711/ib_installers/ModelSimSetup-20.1.0.711-linux.run
sha256: 82b0e191e913684b992cbb8cf5ee63e45779a7b6139de1a19988855cb356bd6a
size: 1370004012
- type: file
path: apply_extra
- type: file
path: modelsim
- type: file
path: ld.so.conf
- type: file
path: com.intel.quartus_prime.modelsim_ase.desktop
- type: file
path: com.intel.quartus_prime.modelsim_ase.png
modules:
- ../shared-modules/ncurses5-compat/lib32-libncurses5-compat.json
- name: lib32-libcanberra
build-options:
arch:
x86_64: *compat_i386_opts
config-opts:
- --disable-gtk-doc
- --disable-oss
- --disable-static
- --disable-udev
- --enable-alsa
- --enable-gstreamer
- --enable-null
- --enable-pulse
- --localstatedir=/var
- --sysconfdir=/app/etc
- --with-builtin=dso
- --with-systemdsystemunitdir=/app/lib/systemd/system
sources:
- type: git
url: http://git.0pointer.net/clone/libcanberra.git
commit: c0620e432650e81062c1967cc669829dbd29b310
disable-shallow-clone: true
cleanup:
- /bin
- /lib32/gnome-settings-daemon-3.0
- /share/gdm
- /share/gnome
- /share/vala
- name: lib32-gtk2
build-options:
arch:
x86_64: *compat_i386_opts
config-opts:
- --disable-dependency-tracking
- --disable-gtk-doc-html
- --disable-introspection
- --with-xinput=xfree
sources:
- type: archive
url: https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.32.tar.xz
sha256: b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e
cleanup:
- /bin
- /etc
- /lib32/gtk-2.0/include
- /share/aclocal
- /share/gtk-2.0
- /share/gtk-doc
modules:
- ../flathub-shared-modules/intltool/intltool-0.51.json
- ../shared-modules/patchelf/patchelf.json