codelite
maintainer uffe
· 172 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source code from GitHub and a project-owned domain (repos.codelite.org) to build the software; these are normal, expected sources for this project and do not represent a supply-chain risk.
Triggered rules
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is LOW (confidence 95%): The package downloads source code from GitHub and a project-owned domain (repos.codelite.org) to build the software; these are normal, expected sources for this project and do not represent a supply-chain risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:267
"http://repos.codelite.org/wxCrafterLibs/wxgui.zip"
PKGBUILD
1 offending line(s) highlighted
1
#
2
# PKGBUILD for codelite
3
#
4
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
5
#
6
# ReleaseNotes: https://docs.codelite.org/release_notes/v18_0_0/
7
#
8
# Contributor: Miguel Revilla <yo@miguelrevilla.com>
9
# Contributor: nem <nem@ikitten.co.uk>
10
# Contributor: agvares <agvares13@gmail.com>
11
# Contributor: p2k <Patrick.Schneider@uni-ulm.de>
12
# Contributor: Uffe Jakobsen <uffe@uffe.org>
13
#
14
# NOTES:
15
#
16
# 20200917: MySql dbsupport temporary disabled (-DWITH_MYSQL=0) because of problem with its include internal files (fix suggested here: https://bugs.archlinux.org/task/67896)
17
# 20191009: Apply cmake list hack to work around harfbuzz hb.h inclusion problem
18
# 20190409: Mariadb patch applied from https://aur.archlinux.org/packages/codelite/
19
# 20151027: ArchLinux clang/llvm-3.7: CommandLine Error: Option 'aarch64-reserve-x18' registered more than once
20
# 20151027: -DENABLE_LLDB=0: ArchLinux clang/llvm-3.7: CommandLine Error: Option 'aarch64-reserve-x18' registered more than once
21
# 20151027: sudo chmod 000 /usr/lib/codelite/LLDBDebugger.so
22
#
23
24
#
25
_pkg_user="eranif"
26
_pkg_name="codelite"
27
_pkg_ver="18.4.0"
28
#_commit="bf6820c7c8bece16c857f5a992aff23ac4ddc1ee"
29
30
# pkg
31
pkgname="${_pkg_name}"
32
#pkgver=${_pkg_ver}
33
#pkgver="${_pkg_ver//_/-}"
34
pkgver="${_pkg_ver/-*/}"
35
pkgrel=1
36
37
# generic: pre
38
_pkg_ver="${pkgver}"
39
40
# use version
41
_pkg_ident="${pkgver}"
42
43
# use commit
44
#_pkg_ident="${_commit}"
45
46
# generic: post
47
_pkg_name_ver="${_pkg_name}-${_pkg_ident}"
48
_pkg_name_ident="${_pkg_name}-${_pkg_ident}"
49
50
51
_pkg_src_res="${_pkg_name_ident}.tar.gz::https://github.com/${_pkg_user}/${_pkg_name}/archive/${_pkg_ident}.tar.gz"
52
53
#
54
# submodules
55
#
56
57
# git submodule | sed -E 's/^ (.*) (.*) /\2 \t \1/g'
58
59
# a78d4f1469890eb4e795709848ebf57b002ad369 submodules/LuaBridge (heads/master)
60
# 666897b95da9756d906cbfff1be123fe527b64f8 submodules/agent-sop (v1.1.2)
61
# 89cea946f8404dbe0224ba10b9abb406aff0cc0a submodules/assistant (remotes/origin/HEAD)
62
# 53464674ff2c287dfd68f05030d1d79e02d4974c submodules/cc-wrapper (remotes/origin/HEAD)
63
# 1da23a3e8119ec5cce4f9388e91b065e20bf06f5 submodules/doctest (v2.4.12)
64
# 32567bb9ec704f09040fb1ed7431a3d967e3df03 submodules/dtl (v1.21)
65
# -1d9a9ca8841ac0cd591c95b162301d2502641901 submodules/hunspell
66
# 8502988a5eb83fcd281ee5a38533a9f170e6b2bf submodules/lexilla (remotes/origin/HEAD)
67
# -854795c654eda518ed6de6c1ebb4e2107fcb2e73 submodules/libssh
68
# bb8dc5ff01cf725dff2a8dcfe08fb0b81a9a7729 submodules/lua (heads/master)
69
# -7042229f977ca801983116593b2bbd73ae7f2657 submodules/openssl-cmake
70
# -8bb3ad01d5cbdef8d8f749d85df9fcd24d90923c submodules/wx-config-msys2
71
# eba78200448022ba5dcca72a8a1a27ccdf873462 submodules/wxTerminalEmulator (heads/main-140-geba7820)
72
# 2eee32020c5309136358d422230abe24411d657f submodules/wxdap (remotes/origin/HEAD)
73
# 2f86d13775d119edbb69af52e5f566fd65c6953b submodules/yaml-cpp (0.8.0-74-g2f86d13)
74
# -0f51fb4933fc9ce18199cb2554dacea8033e7fd3 submodules/zlib
75
76
# NOTE: these submodules are currenly only used by macos builds - ignore them for now:
77
# submodules/hunspell
78
# submodules/libssh
79
# submodules/openssl-cmake
80
# submodules/wx-config-msys2
81
# submodules/zlib
82
83
# submodules/LuaBridge
84
_luabridge_pkg_user="${_pkg_user}"
85
_luabridge_pkg_name="LuaBridge"
86
_luabridge_pkg_ident="a78d4f1469890eb4e795709848ebf57b002ad369"
87
_luabridge_pkg_name_ident="${_luabridge_pkg_user}-${_luabridge_pkg_name}-${_luabridge_pkg_ident:0:7}"
88
_luabridge_pkg_src_res="${_luabridge_pkg_name_ident}.tar.gz::https://github.com/${_luabridge_pkg_user}/${_luabridge_pkg_name}/tarball/${_luabridge_pkg_ident}"
89
90
# submodules/agent-sop: https://github.com/strands-agents/agent-sop.git
91
_agent_sop_pkg_user="strands-agents"
92
_agent_sop_pkg_name="agent-sop"
93
_agent_sop_pkg_ident="666897b95da9756d906cbfff1be123fe527b64f8"
94
_agent_sop_pkg_name_ident="${_agent_sop_pkg_user}-${_agent_sop_pkg_name}-${_agent_sop_pkg_ident:0:7}"
95
_agent_sop_pkg_src_res="${_agent_sop_pkg_name_ident}.tar.gz::https://github.com/${_agent_sop_pkg_user}/${_agent_sop_pkg_name}/tarball/${_agent_sop_pkg_ident}"
96
97
# submodules/assistant: ssh://github.com/eraniff/codelite-assistant.git
98
_assistant_pkg_user="${_pkg_user}"
99
_assistant_pkg_name="assistant"
100
_assistant_pkg_ident="89cea946f8404dbe0224ba10b9abb406aff0cc0a"
101
_assistant_pkg_name_ident="${_assistant_pkg_user}-${_assistant_pkg_name}-${_assistant_pkg_ident:0:7}"
102
_assistant_pkg_src_res="${_assistant_pkg_name_ident}.tar.gz::https://github.com/${_assistant_pkg_user}/${_assistant_pkg_name}/tarball/${_assistant_pkg_ident}"
103
104
# cjson submodule: https://github.com/DaveGamble/cJSON
105
_cjson_pkg_user="DaveGamble"
106
_cjson_pkg_name="cJSON"
107
_cjson_pkg_ident="fd1ac4f1791b403af1f7350b1195ac114f9b792b"
108
_cjson_pkg_name_ident="${_cjson_pkg_user}-${_cjson_pkg_name}-${_cjson_pkg_ident:0:7}"
109
_cjson_pkg_src_res="${_cjson_pkg_name_ident}.tar.gz::https://github.com/${_cjson_pkg_user}/${_cjson_pkg_name}/tarball/${_cjson_pkg_ident}"
110
111
# submodules/cc-wrapper : https://github.com/eranif/cc-wrapper
112
_ccwrap_pkg_user="${_pkg_user}"
113
_ccwrap_pkg_name="cc-wrapper"
114
_ccwrap_pkg_ident="53464674ff2c287dfd68f05030d1d79e02d4974c"
115
_ccwrap_pkg_name_ident="${_ccwrap_pkg_user}-${_ccwrap_pkg_name}-${_ccwrap_pkg_ident:0:7}"
116
_ccwrap_pkg_src_res="${_ccwrap_pkg_name_ident}.tar.gz::https://github.com/${_ccwrap_pkg_user}/${_ccwrap_pkg_name}/tarball/${_ccwrap_pkg_ident}"
117
118
# submodules/ctags: https://github.com/eranif/ctags
119
_ctags_pkg_user="${_pkg_user}"
120
_ctags_pkg_name="ctags"
121
_ctags_pkg_ident="ac5c942b422ca6dc6cdbfd2a0c2d481af1f18f02"
122
_ctags_pkg_name_ident="${_ctags_pkg_user}-${_ctags_pkg_name}-${_ctags_pkg_ident:0:7}"
123
_ctags_pkg_src_res="${_ctags_pkg_name_ident}.tar.gz::https://github.com/${_ctags_pkg_user}/${_ctags_pkg_name}/tarball/${_ctags_pkg_ident}"
124
125
# submodules/doctest: https://github.com/doctest/doctest
126
_doctest_pkg_user="doctest"
127
_doctest_pkg_name="doctest"
128
_doctest_pkg_ident="1da23a3e8119ec5cce4f9388e91b065e20bf06f5"
129
_doctest_pkg_name_ident="${_doctest_pkg_user}-${_doctest_pkg_name}-${_doctest_pkg_ident:0:7}"
130
_doctest_pkg_src_res="${_doctest_pkg_name_ident}.tar.gz::https://github.com/${_doctest_pkg_user}/${_doctest_pkg_name}/tarball/${_doctest_pkg_ident}"
131
132
# submudules/dtl: https://github.com/cubicdaiya/dtl
133
_dtl_pkg_user="cubicdaiya"
134
_dtl_pkg_name="dtl"
135
_dtl_pkg_ident="32567bb9ec704f09040fb1ed7431a3d967e3df03"
136
_dtl_pkg_name_ident="${_dtl_pkg_user}-${_dtl_pkg_name}-${_dtl_pkg_ident:0:7}"
137
_dtl_pkg_src_res="${_dtl_pkg_name_ident}.tar.gz::https://github.com/${_dtl_pkg_user}/${_dtl_pkg_name}/tarball/${_dtl_pkg_ident}"
138
139
# submodules/hunspell - ignored
140
141
# submodules/lexilla: https://github.com/eranif/lexilla.git
142
_lexilla_pkg_user="eranif"
143
_lexilla_pkg_name="lexilla"
144
_lexilla_pkg_ident="8502988a5eb83fcd281ee5a38533a9f170e6b2bf"
145
_lexilla_pkg_name_ident="${_lexilla_pkg_user}-${_lexilla_pkg_name}-${_lexilla_pkg_ident:0:7}"
146
_lexilla_pkg_src_res="${_lexilla_pkg_name_ident}.tar.gz::https://github.com/${_lexilla_pkg_user}/${_lexilla_pkg_name}/tarball/${_lexilla_pkg_ident}"
147
148
# submodules/libssh - ignored
149
150
# submodules/lua: https://github.com/eranif/lua.git
151
_lua_pkg_user="${_pkg_user}"
152
_lua_pkg_name="lua"
153
_lua_pkg_ident="bb8dc5ff01cf725dff2a8dcfe08fb0b81a9a7729"
154
_lua_pkg_name_ident="${_lua_pkg_user}-${_lua_pkg_name}-${_lua_pkg_ident:0:7}"
155
_lua_pkg_src_res="${_lua_pkg_name_ident}.tar.gz::https://github.com/${_lua_pkg_user}/${_lua_pkg_name}/tarball/${_lua_pkg_ident}"
156
157
# submodules/openssl-cmake - ignored
158
159
# submodules/wx-config-msys2: wxcfg/wx-config-msys2s: https://github.com/eranif/wx-config-msys2.git
160
_wxcfg_pkg_user="${_pkg_user}"
161
_wxcfg_pkg_name="wx-config-msys2"
162
_wxcfg_pkg_ident="8bb3ad01d5cbdef8d8f749d85df9fcd24d90923c"
163
_wxcfg_pkg_name_ident="${_wxcfg_pkg_user}-${_wxcfg_pkg_name}-${_wxcfg_pkg_ident:0:7}"
164
_wxcfg_pkg_src_res="${_wxcfg_pkg_name_ident}.tar.gz::https://github.com/${_wxcfg_pkg_user}/${_wxcfg_pkg_name}/tarball/${_wxcfg_pkg_ident}"
165
166
# submodules/wxTerminalEmulator: https://github.com/eranif/wxTerminalEmulator.git
167
_wxterm_pkg_user="${_pkg_user}"
168
_wxterm_pkg_name="wxTerminalEmulator"
169
_wxterm_pkg_ident="eba78200448022ba5dcca72a8a1a27ccdf873462"
170
_wxterm_pkg_name_ident="${_wxterm_pkg_user}-${_wxterm_pkg_name}-${_wxterm_pkg_ident:0:7}"
171
_wxterm_pkg_src_res="${_wxterm_pkg_name_ident}.tar.gz::https://github.com/${_wxterm_pkg_user}/${_wxterm_pkg_name}/tarball/${_wxterm_pkg_ident}"
172
173
# submodules/wxdap: https://github.com/eranif/wxdap
174
_wxdap_pkg_user="${_pkg_user}"
175
_wxdap_pkg_name="wxdap"
176
_wxdap_pkg_ident="2eee32020c5309136358d422230abe24411d657f"
177
_wxdap_pkg_name_ident="${_wxdap_pkg_user}-${_wxdap_pkg_name}-${_wxdap_pkg_ident:0:7}"
178
_wxdap_pkg_src_res="${_wxdap_pkg_name_ident}.tar.gz::https://github.com/${_wxdap_pkg_user}/${_wxdap_pkg_name}/tarball/${_wxdap_pkg_ident}"
179
180
# submodules/yaml-cpp: https://github.com/jbeder/yaml-cpp
181
_yaml_pkg_user="jbeder"
182
_yaml_pkg_name="yaml-cpp"
183
_yaml_pkg_ident="2f86d13775d119edbb69af52e5f566fd65c6953b"
184
_yaml_pkg_name_ident="${_yaml_pkg_user}-${_yaml_pkg_name}-${_yaml_pkg_ident:0:7}"
185
_yaml_pkg_src_res="${_yaml_pkg_name_ident}.tar.gz::https://github.com/${_yaml_pkg_user}/${_yaml_pkg_name}/tarball/${_yaml_pkg_ident}"
186
187
# submodules/zlib - ignored
188
189
#
190
# sub-sub submodules
191
#
192
193
# tinyjson (cc-wrapper) sub-submodule: https://github.com/eranif/tinyjson
194
_ccwrap_tinyjson_pkg_user="${_pkg_user}"
195
_ccwrap_tinyjson_pkg_name="tinyjson"
196
_ccwrap_tinyjson_pkg_ident="d51ef6fc646d60c1400ebde767ebfdd2b7361482"
197
_ccwrap_tinyjson_pkg_name_ident="${_ccwrap_tinyjson_pkg_user}-${_ccwrap_tinyjson_pkg_name}-${_ccwrap_tinyjson_pkg_ident:0:7}"
198
_ccwrap_tinyjson_pkg_src_res="${_ccwrap_tinyjson_pkg_name_ident}.tar.gz::https://github.com/${_ccwrap_tinyjson_pkg_user}/${_ccwrap_tinyjson_pkg_name}/tarball/${_ccwrap_tinyjson_pkg_ident}"
199
200
#
201
#
202
#
203
pkgdesc="Cross platform IDE for C, C++, Rust, Python, PHP and Node.js written in C++"
204
arch=('i686' 'x86_64' 'aarch64')
205
url="https://codelite.org/"
206
license=("GPL-2.0-or-later")
207
208
makedepends=('pkgconfig' 'cmake' 'ninja' 'clang')
209
210
depends=(
211
'wxwidgets-gtk3'
212
'wxwidgets-common'
213
'libedit'
214
'libssh'
215
'zlib'
216
'mariadb-libs'
217
'ncurses'
218
'patch'
219
'uchardet'
220
'hunspell'
221
'glibc'
222
'libstdc++'
223
'libgcc'
224
'glib2'
225
'python'
226
'openssl'
227
'sqlite'
228
#'ctags'
229
#'xterm'
230
#'wget'
231
#'curl'
232
)
233
234
optdepends=(
235
'clang: compiler'
236
'lldb: debugger'
237
'gcc: compiler'
238
'gdb: debugger'
239
'valgrind: debugger'
240
'rust: language'
241
'php: language'
242
'graphviz: callgraph visualization'
243
'cscope: CScope Integration for CodeLite'
244
)
245
246
provides=('codelite')
247
248
conflicts=('codelite-unstable')
249
250
source=(
251
"${_pkg_src_res}"
252
"${_luabridge_pkg_src_res}"
253
"${_agent_sop_pkg_src_res}"
254
"${_assistant_pkg_src_res}"
255
"${_ccwrap_pkg_src_res}"
256
"${_cjson_pkg_src_res}"
257
"${_ctags_pkg_src_res}"
258
#"${_doctest_pkg_src_res}"
259
"${_dtl_pkg_src_res}"
260
"${_lexilla_pkg_src_res}"
261
"${_lua_pkg_src_res}"
262
"${_wxcfg_pkg_src_res}"
263
"${_wxterm_pkg_src_res}"
264
"${_wxdap_pkg_src_res}"
265
"${_yaml_pkg_src_res}"
266
"${_ccwrap_tinyjson_pkg_src_res}"
267
"http://repos.codelite.org/wxCrafterLibs/wxgui.zip"
268
)
269
270
sha256sums=('bbb71f82926fcef0821776b404f7580fb42f1065f9f8153598d25cf3240c4d29'
271
'1cb22a33ddacbafa9b3526e248b9abfed098d87bcbbd793774af2e816c6eb94e'
272
'674519d58ab53166514b12446a83ac61a0641c8ce424b54ecf34653d12d636e3'
273
'cef5805a14f95eee28b0e2ea6add6e91271c08c195c1f40675a30df620f1ca5e'
274
'fa90de0cadd10d875af9fc08142a46079fc024ba5afebb23fa1a966807980dc8'
275
'70518c1b8203359c19b0313e05639568d8089cf9ffa9c9784970fdd69ab6eaad'
276
'b9277072988a8318e7b2fec411c915eee0838dd05564d10e9e9381617458dd30'
277
'baea37f9af8663240b56b634fd6e3ebd464f6b31f8ff520fc46b2ec8a8f4b3f5'
278
'34b9a38f2b5e789a0d0aefa91df0fc4f18b1876589a78004e31b834e32821d98'
279
'1032a78573385a7ebdbebeb88441fd041b0b377c8c2456ddf9290f11aa7ea41a'
280
'0c13192f989832a2f72bcecd5e4a81b5ae744516a6e27d5f691dbd5f00167cb2'
281
'd8525774b076ea9f60853ab0220356e2f6c411b1bdc72b7c876fd5320108e2d3'
282
'aa53f13b9b67bd3e86dfc441389fcf576ce13f1206082885f6088eea12814998'
283
'1603dfef3d3457d2414eab1fb29bbdba8bf350b59745fff2f4f6c2a34d81b5af'
284
'e9464a9c0a5e7bddf6759410602088d51c41faea2c39ec5759add8ddf1305687'
285
'498c39ad3cc46eab8232d5fa37627c27a27f843cbe9521f05f29b19def436e12')
286
287
noextract=('wxgui.zip')
288
289
#
290
#
291
#
292
293
#if [[ "$CARCH" == 'i686' ]]; then
294
# source+=(http://repos.codelite.org/wxCrafterLibs/ArchLinux/32/wxCrafter.so)
295
# md5sums+=('cd3e71e8187ce586031df070caed6c85')
296
#elif [[ "$CARCH" == 'x86_64' ]]; then
297
# source+=(http://repos.codelite.org/wxCrafterLibs/ArchLinux/64/wxCrafter.so)
298
# md5sums+=('6fcd2f0fada5fc401d0bcd62cd5452bb')
299
#fi
300
301
302
BUILD_DIR="_build"
303
304
#
305
#
306
#
307
prepare()
308
{
309
# submodules
310
cd "${srcdir}/${_pkg_name_ident}/submodules"
311
312
# submodules/LuaBridge
313
test -L LuaBridge && rm LuaBridge;
314
test -d LuaBridge && rmdir LuaBridge;
315
ln -s -fn ../../${_luabridge_pkg_name_ident} LuaBridge;
316
317
# submodules/agent-sop
318
test -L agent-sop && rm agent-sop;
319
test -d agent-sop && rmdir agent-sop;
320
ln -s -fn ../../${_agent_sop_pkg_name_ident} agent-sop;
321
322
# submodules/assistant
323
test -L assistant && rm assistant;
324
test -d assistant && rmdir assistant;
325
ln -s -fn ../../${_assistant_pkg_name_ident} assistant;
326
327
# submodules/cjson
328
test -L cJSON && rm cJSON;
329
test -d cJSON && rmdir cJSON;
330
ln -s -fn ../../${_cjson_pkg_name_ident} cJSON;
331
332
# submodules/cc-wrapper
333
test -L cc-wrapper && rm cc-wrapper;
334
test -d cc-wrapper && rmdir cc-wrapper;
335
ln -s -fn ../../${_ccwrap_pkg_name_ident} cc-wrapper;
336
337
# submodules/ctags
338
test -L ctags && rm ctags;
339
test -d ctags && rmdir ctags;
340
ln -s -fn ../../${_ctags_pkg_name_ident} ctags;
341
342
# submodules/doctest
343
test -L doctest && rm doctest;
344
test -d doctest && rmdir doctest;
345
ln -s -fn ../../${_doctest_pkg_name_ident} doctest;
346
347
# submodules/dtl
348
test -L dtl && rm dtl;
349
test -d dtl && rmdir dtl;
350
ln -s -fn ../../${_dtl_pkg_name_ident} dtl;
351
352
# submodules/hunspell - ignore
353
354
# submodules/lexilla
355
test -L lexilla && rm lexilla;
356
test -d lexilla && rmdir lexilla;
357
ln -s -fn ../../${_lexilla_pkg_name_ident} lexilla;
358
359
# submodules/libssh - ignore
360
361
# submodules/lua
362
test -L lua && rm lua;
363
test -d lua && rmdir lua;
364
ln -s -fn ../../${_lua_pkg_name_ident} lua;
365
366
# submodules/openssl - ignore
367
368
# submodules/wx-config-msys2
369
test -L wx-config-msys2 && rm wx-config-msys2;
370
test -d wx-config-msys2 && rmdir wx-config-msys2;
371
ln -s -fn ../../${_wxcfg_pkg_name_ident} wx-config-msys2;
372
373
# submodules/wxTerminalEmulator
374
test -L wxTerminalEmulator && rm wxTerminalEmulator
375
test -d wxTerminalEmulator && rmdir wxTerminalEmulator
376
ln -s -fn ../../${_wxterm_pkg_name_ident} wxTerminalEmulator;
377
378
# submodules/wxdap
379
test -d wxdap && rmdir wxdap;
380
ln -s -fn ../../${_wxdap_pkg_name_ident} wxdap;
381
382
# submodules/yaml-cpp
383
test -L yaml-cpp && rm yaml-cpp;
384
test -d yaml-cpp && rmdir yaml-cpp;
385
ln -s -fn ../../${_yaml_pkg_name_ident} yaml-cpp;
386
387
# submodules/zlib - ignore
388
389
#
390
# sub-submodules
391
#
392
393
# submodules/tinyjson
394
test -L tinyjson && rm -f tinyjson;
395
test -d tinyjson && rmdir tinyjson;
396
ln -s -fn ../../${_json_pkg_name_ident} tinyjson;
397
# sub-submodule tinyjson (below cc-wrapper)
398
test -L cc-wrapper/tinyjson && rm cc-wrapper/tinyjson;
399
test -d cc-wrapper/tinyjson && rmdir cc-wrapper/tinyjson;
400
#ln -s ../tinyjson cc-wrapper/tinyjson;
401
ln -s -fn ../${_ccwrap_tinyjson_pkg_name_ident} cc-wrapper/tinyjson;
402
403
404
#
405
# apply patches
406
#
407
cd "${srcdir}/${_pkg_name_ident}/"
408
409
#patch -p0 < "${startdir}/codelite-fsw-symlink.patch"
410
411
# dtl-v1.20 cannot compile on gcc >= 14.1.1 and clang >= 17.0.6
412
#( cd submodules/dtl && patch -p0 < "${startdir}/dtl-dtl_Diff_hpp.patch" )
413
414
# temporary disable wxcrafter build: cl-16.1.0/wxcrafter subdir build fails with wx-3.1.7 - is this still a problem - re-test !!!
415
#mv wxcrafter wxcrafter.disable
416
}
417
418
419
#
420
#
421
#
422
build()
423
{
424
cd "${srcdir}/${_pkg_name_ident}"
425
426
CXXFLAGS="${CXXFLAGS} -fno-devirtualize"
427
export CXXFLAGS
428
429
# cmake find_package() will try env var WX_CONFIG as wx-config tool path before checking its builtin hardcoded naming conbinations for wx-config tool
430
#WX_CONFIG="/usr/bin/wx-config-gtk3"
431
#WX_CONFIG="wx-config-gtk3"
432
#WX_CONFIG="wx-config-gtk2"
433
#WX_CONFIG="wx-config-3.3.3"
434
#WX_CONFIG="wx-config"
435
WX_CONFIG=$(command -v wx-config-3.3.3 wx-config-3.3.2 wx-config-3.3.1 wx-config-3.3.0 wx-config-3.3 wx-config-3.2 wx-config | head -1);
436
437
echo;
438
echo "WX_CONFIG: ${WX_CONFIG}";
439
echo;
440
${WX_CONFIG} --version;
441
echo;
442
${WX_CONFIG} --version-full;
443
echo;
444
445
446
mkdir -p "${BUILD_DIR}"
447
448
# -DWITH_NATIVEBOOK=1
449
cmake -S . -B "${BUILD_DIR}" \
450
-G "Ninja" \
451
-DCMAKE_BUILD_TYPE=Release \
452
-DCMAKE_INSTALL_LIBDIR=lib \
453
-DCL_PREFIX=/usr \
454
-DWITH_PCH=0 \
455
-DWITH_WX_CONFIG="${WX_CONFIG}" \
456
-DENABLE_LLDB=1 \
457
-DENABLE_SFTP=1 \
458
-DWITH_MYSQL=0 \
459
-DCOPY_WX_LIBS=0 \
460
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
461
462
463
#-DCMAKE_INSTALL_RPATH=/opt/wxgtk-dev/lib
464
465
cmake --build "${BUILD_DIR}"
466
467
}
468
469
#
470
#
471
#
472
package()
473
{
474
cd "${srcdir}/${_pkg_name_ident}"
475
476
DESTDIR="${pkgdir}" cmake --install "${BUILD_DIR}"
477
478
install -m 644 -D "${srcdir}/${_pkg_name_ver}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkg_name}/LICENSE"
479
#install -m 755 -D "${srcdir}/wxCrafter.so" "${pkgdir}/usr/lib/codelite/wxCrafter.so"
480
#install -m 644 -D "${srcdir}/wxgui.zip" "${pkgdir}/usr/share/codelite/wxgui.zip"
481
482
# universal-ctags experiment
483
#mv "${pkgdir}/usr/bin/codelite-ctags" "${pkgdir}/usr/bin/codelite-ctags.dist"
484
#ln -s /usr/bin/ctags "${pkgdir}/usr/bin/codelite-ctags"
485
486
}
487
488
#
489
# EOF
490
#
491
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |