-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathio.github.narunlifescience.AlphaPlot.yml
81 lines (78 loc) · 2.18 KB
/
io.github.narunlifescience.AlphaPlot.yml
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
app-id: io.github.narunlifescience.AlphaPlot
runtime: org.kde.Platform
runtime-version: 5.15-23.08
sdk: org.kde.Sdk
command: alphaplot
rename-icon: alphaplot
rename-desktop-file: alphaplot.desktop
finish-args:
- --share=ipc
- --socket=x11
- --device=dri
- --filesystem=home
cleanup:
- /include
- /lib/mkspecs
- /lib/pkgconfig
- /lib/*/cmake
- /lib/*/pkgconfig
- /share/aclocal
- /share/info
- /share/man
- '*.a'
- '*.la'
- '*.prl'
modules:
- shared-modules/glu/glu-9.json
- name: gsl
config-opts:
- --disable-static
cleanup:
- /bin
sources:
- type: archive
url: https://ftp.gnu.org/gnu/gsl/gsl-2.8.tar.gz
sha256: 6a99eeed15632c6354895b1dd542ed5a855c0f15d9ad1326c6fe2b2c9e423190
x-checker-data:
type: anitya
project-id: 1267
stable-only: true
url-template: https://ftp.gnu.org/gnu/gsl/gsl-$version.tar.gz
- name: qt5-qtdatavis3d
buildsystem: qmake
cleanup:
- /bin
make-install-args:
- INSTALL_ROOT=/app/scratchdir
sources:
- type: archive
url: https://download.qt.io/archive/qt/5.15/5.15.2/submodules/qtdatavis3d-everywhere-src-5.15.2.tar.xz
sha256: 226a6575d573ad78aca459709722c496c23aee526aa0c38eb7c93b0bea1eb6fd
post-install:
- cp -r /app/scratchdir/usr/* /app
- rm -rf /app/scratchdir
- ln -s /app/lib/*/*.so* /app/lib
- sed -e 's@$$QT_MODULE_LIB_BASE@/app/lib@' -i /app/lib/mkspecs/modules/*.pri
- name: alphaplot
buildsystem: qmake
build-options:
env:
- QMAKEPATH=/app/lib
config-opts:
- INSTALLBASE=/app
- QMAKE_LIBDIR+=/app/lib
- QMAKE_INCDIR+=/app/include/QtDataVisualization
sources:
- type: git
url: https://github.com/narunlifescience/AlphaPlot.git
tag: '1.02'
commit: 8682095ca5aa923249aa4d183d55d4770573131a
- type: patch
path: patches/metainfo.patch
- type: patch
path: patches/app-path.patch
- type: patch
path: patches/icon.patch
post-install:
- mkdir /app/share/metainfo
- cp ${FLATPAK_BUILDER_BUILDDIR}/data/metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml