-
Notifications
You must be signed in to change notification settings - Fork 13
/
com.github.ra3xdh.qucs-s.yaml
46 lines (46 loc) · 1.23 KB
/
com.github.ra3xdh.qucs-s.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.github.ra3xdh.qucs-s
base: com.github.qucs.qucs.BaseApp
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: qucs-s
rename-desktop-file: qucs-s.desktop
rename-icon: qucs-s
cleanup:
# TODO: more cleanup
- /include
- /lib/pkgconfig
- /share/man
- '*.a'
- '*.la'
cleanup-commands:
- /app/cleanup-BaseApp.sh
- rm -f /app/cleanup-BaseApp.sh
finish-args:
- --device=dri
- --filesystem=home
- --persist=.qucs
- --share=ipc
- --share=network
- --socket=x11
modules:
- name: qucs-s
buildsystem: cmake
sources:
- type: archive
url: https://github.com/ra3xdh/qucs_s/releases/download/0.0.22/qucs-s-0.0.22.tar.gz
sha256: 907a58e973e1851a356f726849560c2d6371d4e5108194f9470aa08c664d0ef5
- ../shared-modules/ngspice/ngspice.json
- name: asco
buildsystem: simple
build-options:
cflags: -fcommon
build-commands:
- find ./ -name Makefile -exec
sed -i '/CFLAGS =.*/d' '{}' \;
- make
- install -Dm755 asco /app/bin/asco
sources:
- type: archive
url: http://downloads.sourceforge.net/sourceforge/asco/ASCO-0.4.10.tar.gz
sha256: 54f769909157c358055b21ff48abac7eff6cc10651bee977e7bf23d6045b3985