From: "Ruifan (Revan) Ji" <ruifanj2@illinois.edu>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/lunarg-vulkan-tools/, dev-util/lunarg-vulkan-tools/files/
Date: Tue, 31 Dec 2024 12:20:42 +0000 (UTC) [thread overview]
Message-ID: <1735647632.cdb9fa77ec07dfd235d661e488a91ab97e17dab8.ruifanj2@gentoo> (raw)
commit: cdb9fa77ec07dfd235d661e488a91ab97e17dab8
Author: Revan Ji <ruifanj2 <AT> illinois <DOT> edu>
AuthorDate: Tue Dec 31 12:20:32 2024 +0000
Commit: Ruifan (Revan) Ji <ruifanj2 <AT> illinois <DOT> edu>
CommitDate: Tue Dec 31 12:20:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cdb9fa77
dev-utils/lunarg-vulkan-tools: new package, 1.3.296.0, LunarG's layers and vkconfig
Signed-off-by: Revan Ji <ruifanj2 <AT> illinois.edu>
dev-util/lunarg-vulkan-tools/Manifest | 1 +
.../lunarg-vulkan-tools/files/rm_valijson.patch | 38 +++++++++++++++++++
.../lunarg-vulkan-tools-1.3.296.0.ebuild | 44 ++++++++++++++++++++++
dev-util/lunarg-vulkan-tools/metadata.xml | 10 +++++
4 files changed, 93 insertions(+)
diff --git a/dev-util/lunarg-vulkan-tools/Manifest b/dev-util/lunarg-vulkan-tools/Manifest
new file mode 100644
index 000000000..ffc2a5437
--- /dev/null
+++ b/dev-util/lunarg-vulkan-tools/Manifest
@@ -0,0 +1 @@
+DIST lunarg-vulkan-tools-1.3.296.0.tar.gz 7436219 BLAKE2B 714a253741f2b76bc8403df3f410d417714af68c128439aabdf73b2f00576c06d44fa98aa8b74dd61c50545ed4ff0122af41519dc91bd4385f10543a3a925aa3 SHA512 2d1f5d91aa79b206640e65bba2dadfe881524e9a5e1694df5092e6d59d00f06cd981bd026c0c12528f6b243da7564be98211ce6f6538bd1fd51698f91aa24d47
diff --git a/dev-util/lunarg-vulkan-tools/files/rm_valijson.patch b/dev-util/lunarg-vulkan-tools/files/rm_valijson.patch
new file mode 100644
index 000000000..a318a940b
--- /dev/null
+++ b/dev-util/lunarg-vulkan-tools/files/rm_valijson.patch
@@ -0,0 +1,38 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6bb7d207d..246988c67 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -26,8 +26,6 @@ find_package(VulkanLoader CONFIG)
+
+ find_package(VulkanUtilityLibraries REQUIRED CONFIG)
+
+-find_package(valijson REQUIRED CONFIG)
+-
+ option(BUILD_TESTS "Build tests")
+ option(RUN_ON_GITHUB "Build only tests that can run on Github" OFF)
+ option(BUILD_EXPERIMENTAL "Build tests for debugging layers" OFF)
+diff --git a/via/CMakeLists.txt b/via/CMakeLists.txt
+index 975fdb3b0..01ff74fe1 100644
+--- a/via/CMakeLists.txt
++++ b/via/CMakeLists.txt
+@@ -88,7 +88,6 @@ endif()
+
+ target_link_libraries(vkvia PRIVATE
+ Vulkan::Headers
+- valijson
+ ${CMAKE_DL_LIBS}
+ $<TARGET_NAME_IF_EXISTS:Vulkan::Loader>
+ )
+diff --git a/vkconfig_core/CMakeLists.txt b/vkconfig_core/CMakeLists.txt
+index 165ad94c8..6a1ac3875 100644
+--- a/vkconfig_core/CMakeLists.txt
++++ b/vkconfig_core/CMakeLists.txt
+@@ -58,7 +58,7 @@ if(Qt5_FOUND)
+ target_link_libraries(vkconfig_core Cfgmgr32)
+ endif()
+
+- target_link_libraries(vkconfig_core Vulkan::Headers valijson Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network)
++ target_link_libraries(vkconfig_core Vulkan::Headers Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network)
+
+ if(BUILD_TESTS)
+ add_subdirectory(test)
diff --git a/dev-util/lunarg-vulkan-tools/lunarg-vulkan-tools-1.3.296.0.ebuild b/dev-util/lunarg-vulkan-tools/lunarg-vulkan-tools-1.3.296.0.ebuild
new file mode 100644
index 000000000..331ad79f1
--- /dev/null
+++ b/dev-util/lunarg-vulkan-tools/lunarg-vulkan-tools-1.3.296.0.ebuild
@@ -0,0 +1,44 @@
+EAPI=8
+
+MY_PN=VulkanTools
+
+inherit cmake
+
+DESCRIPTION="Vulkan ecosystem tools and extra layers by LunarG."
+HOMEPAGE="https://github.com/LunarG/VulkanTools/"
+
+SRC_URI="
+ https://github.com/LunarG/${MY_PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz
+"
+
+S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-cpp/valijson
+ dev-util/vulkan-headers
+ dev-util/vulkan-utility-libraries"
+
+BDEPEND="
+ >=dev-build/cmake-3.17.2"
+
+RDEPEND="
+ dev-libs/jsoncpp:=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ media-libs/vulkan-loader"
+
+src_prepare() {
+ # remove valijson find_package to properly use system valijson
+ eapply "${FILESDIR}"/rm_valijson.patch
+
+ eapply_user
+
+ cmake_src_prepare
+}
diff --git a/dev-util/lunarg-vulkan-tools/metadata.xml b/dev-util/lunarg-vulkan-tools/metadata.xml
new file mode 100644
index 000000000..730b76c58
--- /dev/null
+++ b/dev-util/lunarg-vulkan-tools/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jiruifan@protonmail.com</email>
+ <name>Revan Ji</name>
+ </maintainer>
+ <longdescription lang="en">LunarG's Vulkan Tools that contains monitor and screenshot layers, unrelated to Khronos' Vulkan-Tools.</longdescription>
+ <upstream><remote-id type="github">LunarG/VulkanTools</remote-id></upstream>
+</pkgmetadata>
next reply other threads:[~2024-12-31 12:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 12:20 Ruifan (Revan) Ji [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-31 19:51 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/lunarg-vulkan-tools/, dev-util/lunarg-vulkan-tools/files/ Julien Roy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1735647632.cdb9fa77ec07dfd235d661e488a91ab97e17dab8.ruifanj2@gentoo \
--to=ruifanj2@illinois.edu \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox