summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-22 06:14:32 +0100
committerSam James <sam@gentoo.org>2021-08-05 02:47:44 +0100
commitb87e752f3025f4010a3b52f74297cbc063316479 (patch)
treeeb42ba5c6fe11adfabd57149d03671957941a416 /media-libs/mlt/files
parentsci-libs/cdd+: add github upstream metadata (diff)
downloadgentoo-b87e752f3025f4010a3b52f74297cbc063316479.tar.gz
gentoo-b87e752f3025f4010a3b52f74297cbc063316479.tar.bz2
gentoo-b87e752f3025f4010a3b52f74297cbc063316479.zip
media-libs/mlt: add 7.0.1
Closes: https://bugs.gentoo.org/796557 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/mlt/files')
-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 000000000000..c36e0c20ab52
--- /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()
+