media-libs/libopenshot: various changes

- splitted python modules to a separate package
- added debuginfo package
- added doc package
- patched to use system jsoncpp
This commit is contained in:
Leorize
2018-08-31 10:46:42 +07:00
parent 1e2981dc5d
commit 42905e5ba0
2 changed files with 104 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
From 8914e50d286da14f88798929e0fd697f1febba24 Mon Sep 17 00:00:00 2001
From 2bc99976edf9766bbbc092a266b4c49bed87f858 Mon Sep 17 00:00:00 2001
From: Leorize <alaviss@users.noreply.github.com>
Date: Thu, 30 Aug 2018 23:06:23 +0700
Subject: cmake: use GNUInstallDirs
@@ -60,7 +60,7 @@ index 0c4ff99..54db490 100644
2.16.4
From 5ec13a4eec5d30f45098be504735065d4cd4d9e4 Mon Sep 17 00:00:00 2001
From 475673c0de166354a51b157cc637daef8d323206 Mon Sep 17 00:00:00 2001
From: Leorize <alaviss@users.noreply.github.com>
Date: Fri, 31 Aug 2018 00:09:35 +0700
Subject: cmake/Modules: simplify search logic
@@ -203,7 +203,7 @@ index 545f62a..978b075 100644
2.16.4
From 1404976e3a58d8b22c90f461e620487bc90a01eb Mon Sep 17 00:00:00 2001
From eab4bf0bd4aec99bfbc236d7f957e06be8a4a54a Mon Sep 17 00:00:00 2001
From: Jonathan Thomas <jonathan@openshot.org>
Date: Sat, 11 Aug 2018 18:22:18 -0500
Subject: FFmpeg4 support. Compile warnings fixes. Credit goes to many people,
@@ -943,7 +943,7 @@ index 9d43530..70ca90d 100644
2.16.4
From 054513e01a62148135c14b0710471b3f02d244d6 Mon Sep 17 00:00:00 2001
From 59741454db9a2244d6489ec866405d5e70af0901 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 31 Aug 2018 09:26:01 +0700
Subject: disable stacktrace printing, as it depends on libunwind.
@@ -973,7 +973,7 @@ index e7827d0..8b4e4ed 100644
2.16.4
From 40cf43eb4ef02753c772f4bbacdd9f68322ba4a1 Mon Sep 17 00:00:00 2001
From 584ba2f96ca81e7f2717f48b67882a872702608d Mon Sep 17 00:00:00 2001
From: Leorize <alaviss@users.noreply.github.com>
Date: Fri, 31 Aug 2018 09:51:13 +0700
Subject: bindings/python: allows overriding install path
@@ -1008,3 +1008,26 @@ index ceb4876..cb7c97c 100644
--
2.16.4
From 73d7f254cd46df650c97e8786883184539547893 Mon Sep 17 00:00:00 2001
From: Leorize <alaviss@users.noreply.github.com>
Date: Fri, 31 Aug 2018 11:10:45 +0700
Subject: cmake: fix documentation installation
The glob approach used prior to this commit only works if
the documentation has been generated **before** cmake was run.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 56517db..82d8e9a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,5 +87,4 @@ add_subdirectory(tests)
# Find Doxygen (used for documentation)
include(cmake/Modules/UseDoxygen.cmake)
-file(GLOB_RECURSE doc_files ${CMAKE_CURRENT_BINARY_DIR}/doc/html/*.*)
-INSTALL(FILES ${doc_files} DESTINATION ${CMAKE_INSTALL_DOCDIR}/libopenshot)
+INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc/html/ DESTINATION ${CMAKE_INSTALL_DOCDIR}/libopenshot OPTIONAL)
--
2.16.4