about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/video/jellyfin-media-player/fix-osx-resources.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/video/jellyfin-media-player/fix-osx-resources.patch')
-rw-r--r--nixpkgs/pkgs/applications/video/jellyfin-media-player/fix-osx-resources.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/video/jellyfin-media-player/fix-osx-resources.patch b/nixpkgs/pkgs/applications/video/jellyfin-media-player/fix-osx-resources.patch
new file mode 100644
index 000000000000..5c562295b40e
--- /dev/null
+++ b/nixpkgs/pkgs/applications/video/jellyfin-media-player/fix-osx-resources.patch
@@ -0,0 +1,15 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 780c0d3..d9c2341 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -108,8 +108,8 @@ endif()
+ set(RESOURCE_ROOT .)
+ if(APPLE)
+   set(RESOURCE_ROOT Resources)
+-  add_resources(TARGET ${MAIN_TARGET} SOURCES ${CMAKE_CURRENT_BINARY_DIR}/../dist/ DEST ${RESOURCE_ROOT}/web-client/desktop)
+-  add_resources(TARGET ${MAIN_TARGET} SOURCES ${CMAKE_SOURCE_DIR}/native/ DEST ${RESOURCE_ROOT}/web-client/extension)
++  install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../dist/ DESTINATION ${RESOURCE_ROOT}/web-client/desktop)
++  install(DIRECTORY ${CMAKE_SOURCE_DIR}/native/ DESTINATION ${RESOURCE_ROOT}/web-client/extension)
+ endif()
+ 
+ if(NOT APPLE)