-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathorg.codeblocks.codeblocks.yaml
More file actions
135 lines (129 loc) · 4.08 KB
/
Copy pathorg.codeblocks.codeblocks.yaml
File metadata and controls
135 lines (129 loc) · 4.08 KB
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
app-id: org.codeblocks.codeblocks
runtime: org.freedesktop.Sdk
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
rename-desktop-file: codeblocks.desktop
rename-icon: codeblocks
command: codeblocks
finish-args:
- --allow=devel
- --device=dri
- --env=PATH=/usr/bin:/app/bin:/app/plugins/devtools/bin
- --env=C_INCLUDE_PATH=/app/plugins/devtools/include
- --env=CPLUS_INCLUDE_PATH=/app/plugins/devtools/include
- --filesystem=home
- --share=ipc
- --share=network
- --socket=session-bus
- --socket=ssh-auth
- --socket=system-bus
- --socket=x11
cleanup:
- /share/metainfo/codeblocks.appdata.xml
- '*.a'
- '*.la'
add-extensions:
org.codeblocks.codeblocks.Plugin:
versions: stable;test;master;beta
directory: plugins
subdirectories: true
no-autodownload: true
autodelete: true
add-ld-path: lib
modules:
- name: devTools
buildsystem: simple
build-commands:
- install -d /app/plugins
- name: boost
# boost system lib required for NassiShneiderman contrib plugin
buildsystem: simple
build-commands:
- ./bootstrap.sh
- ./b2 --with-system variant=release link=shared debug-symbols=off runtime-link=shared --prefix=${FLATPAK_DEST} install
cleanup:
- /include
- /lib/cmake
sources:
- type: archive
url: https://downloads.sourceforge.net/boost/boost/1.88.0/boost_1_88_0.tar.bz2
sha256: 46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b
- name: wxwidgets
buildsystem: autotools
no-autogen: true
config-opts:
- --with-gtk=3
- --disable-webview
cleanup:
- /bin
- /include
- /lib/wx
- /share/aclocal
- /share/bakefile
sources:
- type: archive
url: https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.6/wxWidgets-3.2.6.tar.bz2
sha256: 939e5b77ddc5b6092d1d7d29491fe67010a2433cf9b9c0d841ee4d04acb9dce7
- name: termite
buildsystem: meson
cleanup:
- /include
- /lib/pkgconfig
- /lib/systemd
- /share/applications
- /share/man
- '*.a'
sources:
- type: archive
url: https://github.com/aperezdc/termite/releases/download/v16.9/termite-16.9.tar.xz
sha256: 95486a0330dfcaa68dca3a26afc95b2711c1bef8187503be54d04e1ee8458bd6
- name: cppcheck
buildsystem: cmake-ninja
cleanup:
- /include
- /lib/pkgconfig
- /share/applications
- /share/man
- '*.a'
sources:
- type: archive
url: https://sourceforge.net/projects/cppcheck/files/cppcheck/2.20/cppcheck-2.20.0.tar.gz
sha256: 7be7992439339017edb551d8e7d2315f9bb57c402da50c2cee9cd0e2724600a1
- name: codeblocks
build-options:
cxxflags: -std=gnu++14
config-opts:
- --with-boost-libdir=/app/lib
- --with-contrib-plugins=all
post-install:
- mv ${FLATPAK_DEST}/bin/codeblocks{,-bin}
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/
- install -Dm644 codeblocks-256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/codeblocks.png
- desktop-file-edit --set-key=Keywords --set-value="IDE;C++;C;SDL;Fortran;SFML;wxWidgets;Raylib;FLTK;" /app/share/applications/codeblocks.desktop
sources:
- type: svn
url: https://svn.code.sf.net/p/codeblocks/code/branches/release-25.03
revision: '13647'
- type: file
path: codeblocks-256.png
- type: file
path: org.codeblocks.codeblocks.metainfo.xml
- type: patch
path: patches/codeblocks-default-terminal.patch
- name: ide-flatpak-wrapper
buildsystem: meson
config-opts:
- -Deditor_binary=/app/bin/codeblocks-bin
- -Deditor_title=codeblocks
- -Dprogram_name=codeblocks
- -Dfirst_run_template=first_run.h
- -Dsdk_update_template=sdk_update.h
- -Dsdk_version=25.08
sources:
- type: git
url: https://github.com/flathub/ide-flatpak-wrapper.git
commit: d581fd9b873acbf6fb22899aa388435f6c00f61a
- type: file
path: wrapper/first_run.h
- type: file
path: wrapper/sdk_update.h