Il giorno Fri, 5 Apr 2019 02:34:56 +0200
Christoph Feck <[email protected]> ha scritto:

> * Kdenlive's build system tries to download "rttr" from github
>    It is recommended to install it locally before building.
>    https://github.com/rttrorg/rttr

FTR:

- kdenlive still won't build with a dynamically-built rttr (cmake
  targets have different names when building statically or as a
  dynamic library) unless you apply the attached patch (I confirm it
  builds, but I can't runtime-test)
- If using a system-wide rttr, you will need to apply
  https://github.com/rttrorg/rttr/pull/228 to rttr or it won't build
  (headers only readable by root)

From 3bf979eafcdeb3c23e750c08fe4bf06f2b152345 Mon Sep 17 00:00:00 2001
From: Luca Beltrame <[email protected]>
Date: Thu, 28 Mar 2019 22:58:00 +0100
Subject: [PATCH] Try to use rttr as dynamic library

---
 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4d196d18e..20116a6bd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -69,7 +69,7 @@ if(Qt5WebKitWidgets_FOUND)
 endif()
 ## top_SRCS
 file(GLOB top_SRCS "*.cpp")
-# string(REGEX REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/lib/[^;]+;?" "" top_SRCS "${top_SRCS}") 
+# string(REGEX REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/lib/[^;]+;?" "" top_SRCS "${top_SRCS}")
 list(REMOVE_ITEM top_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
 list(APPEND kdenlive_SRCS ${top_SRCS})
 ## Others special cases
@@ -140,7 +140,7 @@ target_link_libraries(kdenliveLib
     ${CMAKE_DL_LIBS}
     ${CMAKE_THREAD_LIBS_INIT}
     kiss_fft
-    RTTR::Core_Lib)
+    RTTR::Core)
 
 if(BUILD_COVERAGE)
   target_link_libraries(kdenliveLib gcov)
-- 
2.21.0

Attachment: pgpSibCA4Bz9x.pgp
Description: Firma digitale OpenPGP

Reply via email to