commit:     079210d1a7a31bed2a73e36eff8b445b53a312c5
Author:     Pavel Sobolev <contact <AT> paveloom <DOT> dev>
AuthorDate: Sat Oct  4 10:55:24 2025 +0000
Commit:     Pavel Sobolev <contact <AT> paveloom <DOT> dev>
CommitDate: Sat Oct  4 13:32:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=079210d1

games-emulation/azahar: use the CMake package for `dev-libs/sirit`

Signed-off-by: Pavel Sobolev <contact <AT> paveloom.dev>

 games-emulation/azahar/azahar-2123.2.ebuild                           | 2 +-
 ...library.patch => azahar-2123.2-use-the-system-sirit-library.patch} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-emulation/azahar/azahar-2123.2.ebuild 
b/games-emulation/azahar/azahar-2123.2.ebuild
index 008caed9a3..14838d6249 100644
--- a/games-emulation/azahar/azahar-2123.2.ebuild
+++ b/games-emulation/azahar/azahar-2123.2.ebuild
@@ -60,11 +60,11 @@ PATCHES=(
        
"${FILESDIR}/${PN}-2122.1-link-to-Catch2-only-when-tests-are-enabled.patch"
        
"${FILESDIR}/${PN}-2122.1-rename-AV_OPT_TYPE_CHANNEL_LAYOUT-to-AV_OPT_TYPE_CHL.patch"
        "${FILESDIR}/${PN}-2122.1-use-the-system-faad2-library.patch"
-       "${FILESDIR}/${PN}-2122.1-use-the-system-sirit-library.patch"
        "${FILESDIR}/${PN}-2122.1-use-the-system-teakra-library.patch"
        "${FILESDIR}/${PN}-2123-don-t-build-spirv-tools.patch"
        
"${FILESDIR}/${PN}-2123-use-the-zstd_seekable.h-header-from-externals.patch"
        "${FILESDIR}/${PN}-2123.1-use-the-system-oaknut-library.patch"
+       "${FILESDIR}/${PN}-2123.2-use-the-system-sirit-library.patch"
 )
 
 # [directory]=license

diff --git 
a/games-emulation/azahar/files/azahar-2122.1-use-the-system-sirit-library.patch 
b/games-emulation/azahar/files/azahar-2123.2-use-the-system-sirit-library.patch
similarity index 80%
rename from 
games-emulation/azahar/files/azahar-2122.1-use-the-system-sirit-library.patch
rename to 
games-emulation/azahar/files/azahar-2123.2-use-the-system-sirit-library.patch
index 19e666aed1..94bda37ca0 100644
--- 
a/games-emulation/azahar/files/azahar-2122.1-use-the-system-sirit-library.patch
+++ 
b/games-emulation/azahar/files/azahar-2123.2-use-the-system-sirit-library.patch
@@ -5,12 +5,12 @@ Signed-off-by: Pavel Sobolev <[email protected]>
 
 --- a/externals/CMakeLists.txt
 +++ b/externals/CMakeLists.txt
-@@ -401,7 +401,7 @@ if (ENABLE_VULKAN)
+@@ -452,7 +452,7 @@ if (ENABLE_VULKAN)
      endif()
  
      # sirit
 -    add_subdirectory(sirit EXCLUDE_FROM_ALL)
-+    add_library(sirit SHARED IMPORTED)
++    find_package(sirit REQUIRED)
  
      # VMA
      if(USE_SYSTEM_VMA)

Reply via email to