From eccf1834de47beb0e917861bd90c58266a429cb8 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 30 Jun 2026 00:30:04 -0500 Subject: [PATCH] chore (ShivaVG): update devel files, clean up cmake (#13553) (#13571) --- anda/lib/ShivaVG/ShivaVG.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/anda/lib/ShivaVG/ShivaVG.spec b/anda/lib/ShivaVG/ShivaVG.spec index 569186b624..7a7b4df005 100644 --- a/anda/lib/ShivaVG/ShivaVG.spec +++ b/anda/lib/ShivaVG/ShivaVG.spec @@ -29,7 +29,6 @@ Requires: %{name} = %evr Requires: glew-devel Requires: mesa-libGL-devel %pkg_devel_files -%_libdir/cmake/OpenVG/ %package static Requires: %{name} = %evr @@ -39,8 +38,13 @@ Requires: %{name} = %evr %autosetup -n ShivaVG-%{commit} sed '/set(CMAKE_C_FLAGS/d' -i CMakeLists.txt +%conf +%cmake -DBUILD_EXAMPLES=OFF \ + -DDEBUG=ON -DPROJECT_VERSION=%commit \ + -DCMAKE_C_FLAGS='%build_cflags' \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 + %build -%cmake -DBUILD_EXAMPLES=OFF -DDEBUG=ON -DPROJECT_VERSION=%commit -DCMAKE_C_FLAGS='%build_cflags' %cmake_build %install