Merge pull request #128733 from starcraft66/fix-obs-move-transition

obs-move-transition: fix patch path
This commit is contained in:
Sandro 2021-07-01 00:25:25 +02:00 committed by GitHub
commit 9e59a9ea8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@ index f6d8fa3..5f0657d 100644
+ "${LIBOBS_INCLUDE_DIR}/../UI/obs-frontend-api")
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/version.h)
set(move-transition_HEADERS
@@ -38,4 +49,10 @@ target_link_libraries(move-transition
libobs)

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
cp ${obs-studio.src}/cmake/external/FindLibobs.cmake FindLibobs.cmake
'';
patches = [ ./0001-Use-FindLibobs.cmake.patch ];
patches = [ ./obs-move-transition-use-FindLibobs.cmake.patch ];
postPatch = ''
substituteInPlace move-source-filter.c --replace '<../UI/obs-frontend-api/obs-frontend-api.h>' '<obs-frontend-api.h>'