1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Static analysis tool for C/C++
9 HOMEPAGE= https://github.com/danmar/cppcheck
13 SITES[main]= GITHUB/danmar:cppcheck:2.12.1
14 DISTFILE[1]= generated:main
16 SPKGS[standard]= complete
22 OPTIONS_AVAILABLE= none
23 OPTIONS_STANDARD= none
25 BUILD_DEPENDS= docbook-xsl:primary:standard
26 qt5-qttools:dev:standard
27 qt5-qttools:primary:standard
28 BUILDRUN_DEPENDS= qt5-qtbase:primary:standard
29 EXRUN[gui]= cppcheck:tools:standard
30 qt5-qttools:primary:standard
32 USES= cmake shebangfix pcre python c++:tools,gui
33 GNOME_COMPONENTS= libxslt
36 LICENSE_TERMS= tools:{{WRKDIR}}/TERMS
37 LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING
38 LICENSE_AWK= TERMS:"^$$"
39 LICENSE_SOURCE= TERMS:{{WRKSRC}}/cli/main.cpp
42 FPC_EQUIVALENT= devel/cppcheck
43 SHEBANG_FILES= htmlreport/cppcheck-htmlreport
47 CPPFLAGS= -Wno-unused-function
48 CMAKE_ARGS= -DHAVE_RULES:BOOL=ON
49 -DUSE_MATCHCOMPILER:BOOL=ON
51 -DCMAKE_PREFIX_PATH:PATH="{{PREFIX}}/lib/qt5/cmake/"
52 -DNPROC="{{MAKE_JOBS_NUMBER}}"
53 -DCMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=ON
56 ${INSTALL_SCRIPT} ${WRKSRC}/htmlreport/cppcheck-htmlreport \
57 ${STAGEDIR}${PREFIX}/bin
58 ${INSTALL_MAN} ${WRKSRC}/man/cppcheck.1 \
59 ${STAGEDIR}${MANPREFIX}/man/man1
60 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cppcheck
61 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cppcheck-gui
65 ${LOCALBASE}/bin/xsltproc --nonet \
66 --param man.charmap.use.subset "0" \
67 ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl \
70 [FILE:365:descriptions/desc.tools]
71 Cppcheck is a tool for static C/C++ code analysis, and it tries to
72 detect bugs that your compiler do not see. Checks for: memory leaks,
73 mismatching allocation-deallocation, buffer overrun, and many more.
75 Cppcheck is versatile. You can check non-standard code that includes
76 various compiler extensions, inline assembly code, etc.
78 The goal is no false positives.
81 [FILE:122:descriptions/desc.gui]
82 Cppcheck is a tool for static C/C++ code analysis. This package contains
83 the Graphic User Interface (GUI) for this tool.
87 2a3d4ba1179419612183ab3d6aed6d3b18be75e98cd6f138ea8e2020905dced2 3579702 danmar-cppcheck-2.12.1.tar.gz
90 [FILE:1114:manifests/plist.tools]
94 share/Cppcheck/addons/
132 microsoft_unittest.cfg
157 share/Cppcheck/platforms/
167 msp430_eabi_large_datamodel.xml
175 [FILE:156:manifests/plist.gui]
177 share/applications/cppcheck-gui.desktop
178 share/icons/hicolor/64x64/apps/cppcheck-gui.png
179 share/icons/hicolor/scalable/apps/cppcheck-gui.svg
182 [FILE:235:manifests/plist.lang]
199 [FILE:29:manifests/plist.man]
200 share/man/man1/cppcheck.1.gz
203 [FILE:536:patches/patch-gui_CMakeLists.txt]
204 --- gui/CMakeLists.txt.orig 2023-09-19 13:11:39 UTC
205 +++ gui/CMakeLists.txt
206 @@ -70,7 +70,7 @@ CheckOptions:
209 install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
210 - install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
211 + install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/${PROJECT_NAME}/lang COMPONENT applications)
213 install(FILES cppcheck-gui.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)