diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-video/obs-v4l2sink/files/obs-v4l2sink-0.1.0_p20181012-installdirs.patch | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'media-video/obs-v4l2sink/files/obs-v4l2sink-0.1.0_p20181012-installdirs.patch')
-rw-r--r-- | media-video/obs-v4l2sink/files/obs-v4l2sink-0.1.0_p20181012-installdirs.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-video/obs-v4l2sink/files/obs-v4l2sink-0.1.0_p20181012-installdirs.patch b/media-video/obs-v4l2sink/files/obs-v4l2sink-0.1.0_p20181012-installdirs.patch new file mode 100644 index 000000000000..39af16be2719 --- /dev/null +++ b/media-video/obs-v4l2sink/files/obs-v4l2sink-0.1.0_p20181012-installdirs.patch @@ -0,0 +1,22 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 75d85f0..15e6bc1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + project(obs-v4l2sink) ++include(GNUInstallDirs) + + + include(external/FindLibObs.cmake) +@@ -44,8 +45,8 @@ endif() + set_target_properties(v4l2sink PROPERTIES PREFIX "") + + install(TARGETS v4l2sink +- LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/obs-plugins) ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/obs-plugins) + + install(DIRECTORY locale/ +- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/obs/obs-plugins/v4l2sink/locale") ++ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/obs/obs-plugins/v4l2sink/locale") + |