- The OSX patch is already in upstream and is only required for
cppcheck 1.68. This commit ensures the patch is only applied to
the ‘stable’ build.
Closes#37511.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- In 1.68, gui.qrc no longer references a cfg dir, so removed the
previously-required inreplace.
- The QT build now requires HAVE_RULES to be explicitly enabled, so
added that to the qmake invocation.
- Fixed a clang compile errors by applying a patch from upstream that
hasn’t yet made it into an official release.
- Caused .app to be installed directly in the prefix dir, not the bin
dir - that was stopping ‘brew linkapps’ from working.
Closes#37417.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.
Closes#18813.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The HAVE_RULES variable is used to control whether cppcheck is built
with support for custom rules. The readme says to use HAVE_RULES=yes
to enable custom rules.
Closes#18763.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Also added options:
-Updated tarball and md5 for 1.51
-Added an option to build the cppcheck qt-gui
-Added an option to build without rules, in which case there's no dependency on pcre
-Added caveats explaining how to link the cppcheck-gui.app in case --with-gui is used for install
Closes#8683.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Tarball location and md5 changed.
It seems pcre is now a dependency of cppcheck, it has been declared as so.
Without this it fails to compile.
Closes#7845.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews