mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
media-libs/opencomposite: drop patches, unbundle glm
Signed-off-by: Patrick Nicolas <patricknicolas@laposte.net>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5956a67..3f0fda1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -528,3 +528,11 @@ set_target_properties(OCOVR PROPERTIES
|
||||
get_target_property(output_dir OCOVR LIBRARY_OUTPUT_DIRECTORY)
|
||||
add_custom_command(TARGET OCOVR
|
||||
PRE_LINK COMMAND ${CMAKE_COMMAND} -E make_directory ${output_dir})
|
||||
+
|
||||
+# Installation
|
||||
+include(GNUInstallDirs)
|
||||
+install(TARGETS OCOVR
|
||||
+ LIBRARY
|
||||
+ DESTINATION "${PROJECT_NAME}/${VRCLIENT_DIR}"
|
||||
+ COMPONENT Runtime
|
||||
+)
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -22,15 +22,12 @@ SLOT="0"
|
||||
DEPEND="
|
||||
dev-lang/python
|
||||
dev-util/vulkan-headers
|
||||
media-libs/glm
|
||||
media-libs/libglvnd[X]
|
||||
media-libs/openxr-loader
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0001-Add-install-target.patch"
|
||||
)
|
||||
|
||||
src_configure()
|
||||
{
|
||||
# Installing to /usr would not work with Steam bacause pressure vessel
|
||||
@@ -43,8 +40,7 @@ src_configure()
|
||||
"-DCMAKE_INSTALL_PREFIX=/opt"
|
||||
# Required for Proton: https://gitlab.com/znixian/OpenOVR/-/issues/416
|
||||
"-DUSE_SYSTEM_OPENXR=OFF"
|
||||
# FIXME: fails because GLM_ENABLE_EXPERIMENTAL is unset
|
||||
"-DUSE_SYSTEM_GLM=OFF"
|
||||
"-DUSE_SYSTEM_GLM=ON"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user