codelite-unstable

LOW
maintainer uffe 3 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads source code from GitHub and a personal codelite.org subdomain, which is the project's official infrastructure, for building the IDE and its submodules; all sources are verified with checksums, and no untrusted executable or obfuscated payload is involved.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads source code from GitHub and a personal codelite.org subdomain, which is the project's official infrastructure, for building the IDE and its submodules; all sources are verified with checksums, and no untrusted executable or obfuscated payload is involved.

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

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion