codelite

LOW
maintainer uffe 172 votes scanned 2026-11-01 00:21:48.120785
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 legitimate sources for the project's own code and dependencies, posing no supply-chain risk beyond standard build-from-source practices.

Triggered rules

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) 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 legitimate sources for the project's own code and dependencies, posing no supply-chain risk beyond standard build-from-source practices.

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

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