mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
dev-utils/lunarg-vulkan-tools: new package, 1.3.296.0, LunarG's layers and vkconfig
Signed-off-by: Revan Ji <ruifanj2@illinois.edu>
This commit is contained in:
parent
baa1416e90
commit
cdb9fa77ec
1
dev-util/lunarg-vulkan-tools/Manifest
Normal file
1
dev-util/lunarg-vulkan-tools/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST lunarg-vulkan-tools-1.3.296.0.tar.gz 7436219 BLAKE2B 714a253741f2b76bc8403df3f410d417714af68c128439aabdf73b2f00576c06d44fa98aa8b74dd61c50545ed4ff0122af41519dc91bd4385f10543a3a925aa3 SHA512 2d1f5d91aa79b206640e65bba2dadfe881524e9a5e1694df5092e6d59d00f06cd981bd026c0c12528f6b243da7564be98211ce6f6538bd1fd51698f91aa24d47
|
38
dev-util/lunarg-vulkan-tools/files/rm_valijson.patch
Normal file
38
dev-util/lunarg-vulkan-tools/files/rm_valijson.patch
Normal file
@ -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)
|
@ -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
|
||||
}
|
10
dev-util/lunarg-vulkan-tools/metadata.xml
Normal file
10
dev-util/lunarg-vulkan-tools/metadata.xml
Normal file
@ -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>
|
Loading…
x
Reference in New Issue
Block a user