diff options
-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) |