Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / clazy


Commits:
91e3c0f9 by Antonio Rojas at 2024-03-03T22:54:02+01:00
upgpkg: 1.11-5: LLVM/clang 17 rebuild

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,25 @@
+pkgbase = clazy
+       pkgdesc = Qt oriented code checker based on clang framework
+       pkgver = 1.11
+       pkgrel = 5
+       url = https://www.kdab.com/
+       arch = x86_64
+       license = GPL-2.0-or-later
+       makedepends = cmake
+       makedepends = llvm
+       depends = clang
+       depends = gcc-libs
+       depends = glibc
+       depends = llvm-libs
+       depends = sh
+       source = 
https://download.kde.org/stable/clazy/1.11/src/clazy-1.11.tar.xz
+       source = 
https://download.kde.org/stable/clazy/1.11/src/clazy-1.11.tar.xz.sig
+       source = https://github.com/KDE/clazy/commit/20fca52da739ebef.patch
+       source = https://github.com/KDE/clazy/commit/a05ac7eb6f6198c3.patch
+       validpgpkeys = 949014B23D24354DFD548E5457416A0ADCEF0EFE
+       sha256sums = 
66165df33be8785218720c8947aa9099bae6d06c90b1501953d9f95fdfa0120a
+       sha256sums = SKIP
+       sha256sums = 
652854327c1bd48f1e7080ce834dba3fb37d8a8b1d21ebaa5c70be816d8164af
+       sha256sums = 
d18281a06a4fd27a90f50aa38afebd6e6d47b281382697947336b120e1013d58
+
+pkgname = clazy


=====================================
PKGBUILD
=====================================
@@ -3,12 +3,17 @@
 
 pkgname=clazy
 pkgver=1.11
-pkgrel=4
+pkgrel=5
 pkgdesc='Qt oriented code checker based on clang framework'
 url='https://www.kdab.com/'
-license=(GPL2)
-depends=(clang)
-makedepends=(cmake llvm)
+license=(GPL-2.0-or-later)
+depends=(clang
+         gcc-libs
+         glibc
+         llvm-libs
+         sh)
+makedepends=(cmake
+             llvm)
 arch=(x86_64)
 
source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
         https://github.com/KDE/clazy/commit/20fca52da739ebef.patch
@@ -22,6 +27,8 @@ validpgpkeys=(949014B23D24354DFD548E5457416A0ADCEF0EFE) # 
Sergio Martins <sergio
 prepare() {
   patch -d $pkgname-$pkgver -p1 < 20fca52da739ebef.patch # Fix build with LLVM 
15
   patch -d $pkgname-$pkgver -p1 < a05ac7eb6f6198c3.patch # Fix build with LLVM 
16
+  sed -e 's|val.countPopulation|val.popcount|' -e 
's|initVal.isNullValue|initVal.isZero|' \
+    -i 
$pkgname-$pkgver/src/checks/manuallevel/unexpected-flag-enumerator-value.cpp # 
Fix build with LLVM 17
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/clazy/-/commit/91e3c0f92bbf35783cdf95d729ec1b5fe0afc0f2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/clazy/-/commit/91e3c0f92bbf35783cdf95d729ec1b5fe0afc0f2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to