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