[arch-commits] Commit in cppcheck/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Jun 14 14:30:57 UTC 2021


    Date: Monday, June 14, 2021 @ 14:30:57
  Author: arojas
Revision: 963446

tinyxml 9.0 rebuild, fix Qt optdepend

Modified:
  cppcheck/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-14 14:16:18 UTC (rev 963445)
+++ PKGBUILD	2021-06-14 14:30:57 UTC (rev 963446)
@@ -3,7 +3,7 @@
 
 pkgname=cppcheck
 pkgver=2.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A tool for static C/C++ code analysis"
 arch=('x86_64')
 url="http://cppcheck.sourceforge.net/"
@@ -10,17 +10,20 @@
 license=('GPL')
 depends=('python-pygments' 'tinyxml2')
 makedepends=('docbook-xsl' 'qt5-tools' 'qt5-base' 'python' 'pandoc' 'cmake' 'clang')
-optdepends=('qt5-base: run cppcheck-gui'
+optdepends=('qt5-tools: run cppcheck-gui'
             'python-pygments: cppcheck-htmlreport'
             'clang: for cppcheck-gui integration')
 source=($pkgname-$pkgver.tar.gz::https://github.com/danmar/cppcheck/archive/${pkgver}.tar.gz
-        translations-location.patch)
+        translations-location.patch
+        https://github.com/danmar/cppcheck/commit/8d682884.patch)
 sha1sums=('b2b19fa617aa4f2bd67609a15ba1f737909dbf66'
-          '03b0888438cf92ccdcbf307dbc3c35e65c91b844')
+          '03b0888438cf92ccdcbf307dbc3c35e65c91b844'
+          '7846c2e482320c2f6f9352dc134fdf0ad39faec8')
 
 prepare() {
    cd "${pkgname}-${pkgver}"
    patch -Np1 -i $srcdir/translations-location.patch
+   patch -p1 < ../8d682884.patch # Fix build with GCC 11
 
    mkdir build
 }



More information about the arch-commits mailing list