diff options
author | Zach van Rijn <me@zv.io> | 2022-08-19 01:20:57 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:02 -0500 |
commit | 0f8971e5193d7c7f8c9955e921921551354ff00b (patch) | |
tree | 4f9796b6c2d50e22d011e7137abdfb07f35e3855 /user | |
parent | df1f0b738b2045d2690b52105b5ad24d474ff100 (diff) | |
download | packages-0f8971e5193d7c7f8c9955e921921551354ff00b.tar.gz packages-0f8971e5193d7c7f8c9955e921921551354ff00b.tar.bz2 packages-0f8971e5193d7c7f8c9955e921921551354ff00b.tar.xz packages-0f8971e5193d7c7f8c9955e921921551354ff00b.zip |
user/clazy: bump { 1.7 --> 1.11 }. fixes #771.
Diffstat (limited to 'user')
-rw-r--r-- | user/clazy/APKBUILD | 13 | ||||
-rw-r--r-- | user/clazy/fix-link-fs-lib.patch | 11 |
2 files changed, 19 insertions, 5 deletions
diff --git a/user/clazy/APKBUILD b/user/clazy/APKBUILD index 61ada092c..d8e20a742 100644 --- a/user/clazy/APKBUILD +++ b/user/clazy/APKBUILD @@ -1,16 +1,19 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=clazy -pkgver=1.7 +pkgver=1.11 pkgrel=0 pkgdesc="Clang compiler plugin to warn about Qt best practices" url="https://kde.org/applications/development/org.kde.clazy" arch="all" license="LGPL-2.1+" +options="!check" # need 'clang-tools-extra' depends="" -makedepends="cmake clang-dev llvm8-dev" +makedepends="cmake clang-dev llvm14-dev" subpackages="$pkgname-doc" -source="https://download.kde.org/stable/clazy/$pkgver/src/clazy-$pkgver.tar.xz" +source="https://download.kde.org/stable/clazy/$pkgver/src/clazy-$pkgver.tar.xz + fix-link-fs-lib.patch + " build() { if [ "$CBUILD" != "$CHOST" ]; then @@ -23,7 +26,6 @@ build() { -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ - -DLLVM_CONFIG_EXECUTABLE=/usr/bin/llvm8-config \ ${CMAKE_CROSSOPTS} \ . make @@ -37,4 +39,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="3dba993140f3d69aac8d9cf3fa49db990185928647193220b689773bbca70f9fd9ee7fc52022e6029b3c0c81800301a593bd79edee7e1fa6c5884782d390ced6 clazy-1.7.tar.xz" +sha512sums="6a7c162392dd30aea29669275cea814d6daccf7931b8cdb20997f9bbff5619832d5461a6d0f854ecbc4726e52b6937c4f9cb8651087ffe73676c04239a38ca2b clazy-1.11.tar.xz +4b7b946f3e8f748d5cc1eb3a10ff751f33285160eb2d28c532fc62e54bc7d8be0ffefc90861b22df3a2abf26776eb278748baeffa277f5f6c7929e8197411894 fix-link-fs-lib.patch" diff --git a/user/clazy/fix-link-fs-lib.patch b/user/clazy/fix-link-fs-lib.patch new file mode 100644 index 000000000..9096ec57b --- /dev/null +++ b/user/clazy/fix-link-fs-lib.patch @@ -0,0 +1,11 @@ +diff -ur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2022-08-19 00:58:47.518958902 +0000 ++++ b/CMakeLists.txt 2022-08-19 01:03:37.193667800 +0000 +@@ -264,6 +264,7 @@ + target_link_libraries(clazy-standalone clangFrontend) + else() + target_link_libraries(clazy-standalone ClazyPlugin) ++ target_link_libraries(clazy-standalone stdc++fs) + endif() + + link_to_llvm(clazy-standalone TRUE) |