]> git.pld-linux.org Git - packages/openvr.git/commitdiff
- added libdir patch (honour LIB_SUFFIX) auto/th/openvr-1.23.8-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 31 Mar 2023 17:20:57 +0000 (19:20 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 31 Mar 2023 17:20:57 +0000 (19:20 +0200)
openvr-libdir.patch [new file with mode: 0644]
openvr.spec

diff --git a/openvr-libdir.patch b/openvr-libdir.patch
new file mode 100644 (file)
index 0000000..b064910
--- /dev/null
@@ -0,0 +1,11 @@
+--- openvr-1.23.8/src/CMakeLists.txt.orig      2023-03-08 01:40:29.000000000 +0100
++++ openvr-1.23.8/src/CMakeLists.txt   2023-03-31 19:12:34.535135850 +0200
+@@ -103,7 +103,7 @@ endif()
+ target_link_libraries(${LIBNAME} ${EXTRA_LIBS} ${CMAKE_DL_LIBS})
+ target_include_directories(${LIBNAME} PUBLIC ${OPENVR_HEADER_DIR})
+-install(TARGETS ${LIBNAME} DESTINATION lib)
++install(TARGETS ${LIBNAME} DESTINATION lib${LIB_SUFFIX})
+ install(FILES ${PUBLIC_HEADER_FILES} DESTINATION include/openvr)
+ # Generate a .pc file for linux environments
index ea804bfed45342ccce1a1ede7461a39fa1444a74..699407672f946c8470e27316973652f148453ccf 100644 (file)
@@ -13,6 +13,7 @@ Group:                Libraries
 Source0:       https://github.com/ValveSoftware/openvr/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: 2dd6945040b63c9a2d1ce4ece00bda7e
 Patch0:                %{name}-pc.patch
+Patch1:                %{name}-libdir.patch
 URL:           https://github.com/ValveSoftware/openvr
 BuildRequires: cmake >= 2.8
 BuildRequires: libstdc++-devel >= 6:4.7
@@ -61,6 +62,7 @@ Statyczna biblioteka OpenVR SDK.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # prebuilt binaries
 %{__rm} -r bin lib
This page took 0.108973 seconds and 4 git commands to generate.