summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2022-03-22 07:53:11 +0100
committerSven Eden <sven.eden@prydeworx.com>2022-03-22 07:53:11 +0100
commit810e3bc87e2c65a52bcb641a66e5bb201a7951e1 (patch)
tree2ed255ea6130ef57f993c5c6068a227d37c66e0f /media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch
parentmedia-video/shotcut: Version Bump to 22.01.30 (diff)
downloadseden-810e3bc87e2c65a52bcb641a66e5bb201a7951e1.tar.gz
seden-810e3bc87e2c65a52bcb641a66e5bb201a7951e1.tar.bz2
seden-810e3bc87e2c65a52bcb641a66e5bb201a7951e1.zip
media-libs/mlt: Add 7.5.0_pre20220319 for shotcut-22.03.20
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch')
-rw-r--r--media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch b/media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch
new file mode 100644
index 0000000..c36e0c2
--- /dev/null
+++ b/media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch
@@ -0,0 +1,14 @@
+Fully respect DESTDIR.
+
+https://bugs.gentoo.org/796557#c1
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -436,7 +436,7 @@
+ if(UNIX AND NOT APPLE)
+ install(FILES docs/melt.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 RENAME melt-${MLT_VERSION_MAJOR}.1)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink melt-${MLT_VERSION_MAJOR}.1 melt.1 \
+- WORKING_DIRECTORY ${CMAKE_INSTALL_FULL_MANDIR}/man1)"
++ WORKING_DIRECTORY \$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_MANDIR}/man1)"
+ )
+ endif()
+