George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / cppcheck
Commits: 6601fadc by George Rawlinson at 2023-09-16T04:58:19+00:00 upgpkg: 2.12.0-1 * New upstream release. * Revert commit that breaks tests. * Switch from qt5 to qt6. - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ # Contributor: Stéphane Gaudreault <[email protected]> pkgname=cppcheck -pkgver=2.11.1 +pkgver=2.12.0 pkgrel=1 pkgdesc='A tool for static C/C++ code analysis' arch=('x86_64') @@ -17,19 +17,20 @@ depends=( makedepends=( 'git' 'docbook-xsl' - 'qt5-tools' - 'qt5-base' + 'qt6-tools' + 'qt6-base' + 'qt6-declarative' 'python' 'pandoc' 'cmake' 'clang' ) optdepends=( - 'qt5-tools: run cppcheck-gui' + 'qt6-tools: run cppcheck-gui' 'python-pygments: cppcheck-htmlreport' 'clang: for cppcheck-gui integration' ) -_commit='13746898140fa229018b57acdb18091942c8ea05' +_commit='f2f1fb0bca5f23aac8f02fb9c09e4529a7935749' source=( "$pkgname::git+https://github.com/danmar/cppcheck.git#commit=$_commit" 'translations-location.patch' @@ -50,6 +51,9 @@ prepare() { # fix location of translations patch -p1 -i "$srcdir/translations-location.patch" + + # https://github.com/danmar/cppcheck/pull/5350 + git revert --no-commit 499f566e9dcdf7d033145c4eb613dd4a4738ab0a } build() { @@ -66,15 +70,16 @@ build() { cmake \ -B build \ -S "$pkgname" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DUSE_MATCHCOMPILER=ON \ - -DHAVE_RULES=ON \ - -DBUILD_GUI=ON \ - -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_TESTS=ON \ - -DFILESDIR=/usr/share/cppcheck \ - -DUSE_BUNDLED_TINYXML2=OFF + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=RelWithDebInfo \ + -D USE_MATCHCOMPILER=ON \ + -D HAVE_RULES=ON \ + -D BUILD_GUI=ON \ + -D BUILD_SHARED_LIBS=OFF \ + -D BUILD_TESTS=ON \ + -D FILESDIR=/usr/share/cppcheck \ + -D USE_BUNDLED_TINYXML2=OFF \ + -D USE_QT6=ON cmake --build build } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cppcheck/-/commit/6601fadcd2c256da4a1d1c5f216b4bd51ed1ccd0 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cppcheck/-/commit/6601fadcd2c256da4a1d1c5f216b4bd51ed1ccd0 You're receiving this email because of your account on gitlab.archlinux.org.
