add jami
This commit is contained in:
12
net-voip/jami-client-qt/files/drop-qt-version-check.patch
Normal file
12
net-voip/jami-client-qt/files/drop-qt-version-check.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/src/app/mainapplication.cpp
|
||||
+++ b/src/app/mainapplication.cpp
|
||||
@@ -100,9 +100,6 @@ ScreenInfo::setCurrentFocusWindow(QWindow* window)
|
||||
: QApplication(argc, argv)
|
||||
{
|
||||
const char* qtVersion = qVersion();
|
||||
- if (strncmp(qtVersion, QT_VERSION_STR, strnlen(qtVersion, sizeof qtVersion)) != 0) {
|
||||
- C_FATAL << "Qt build version mismatch!" << QT_VERSION_STR;
|
||||
- }
|
||||
|
||||
parseArguments();
|
||||
|
||||
14
net-voip/jami-client-qt/files/fix-link.patch
Normal file
14
net-voip/jami-client-qt/files/fix-link.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 29bfde9a..ba6b5c45 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -805,7 +805,8 @@ elseif (NOT APPLE)
|
||||
${LIBNOTIFY_LIBRARIES}
|
||||
${LIBGDKPIXBUF_LIBRARIES}
|
||||
${GLIB_LIBRARIES}
|
||||
- ${GIO_LIBRARIES})
|
||||
+ ${GIO_LIBRARIES}
|
||||
+ avutil)
|
||||
|
||||
install(
|
||||
TARGETS ${PROJECT_NAME}
|
||||
12
net-voip/jami-client-qt/files/missing-cmake-include.patch
Normal file
12
net-voip/jami-client-qt/files/missing-cmake-include.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 29bfde9a..eb817a6c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -24,6 +24,7 @@ endif()
|
||||
|
||||
set(CMAKE_SCRIPTS_DIR ${PROJECT_SOURCE_DIR}/extras/build/cmake)
|
||||
include(${CMAKE_SCRIPTS_DIR}/extra_tools.cmake)
|
||||
+include(FindPkgConfig)
|
||||
|
||||
option(WITH_DAEMON_SUBMODULE "Build with daemon submodule" ON)
|
||||
option(JAMICORE_AS_SUBDIR "Build Jami-core as a subdir dependency" ON)
|
||||
13
net-voip/jami-client-qt/files/qt-6.6.patch
Normal file
13
net-voip/jami-client-qt/files/qt-6.6.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/app/instancemanager.cpp b/src/app/instancemanager.cpp
|
||||
index 79154097..fbd620c4 100644
|
||||
--- a/src/app/instancemanager.cpp
|
||||
+++ b/src/app/instancemanager.cpp
|
||||
@@ -224,7 +224,7 @@ InstanceManager::~InstanceManager()
|
||||
bool
|
||||
InstanceManager::tryToRun(const QByteArray& startUri)
|
||||
{
|
||||
- return pimpl_->tryToRun(startUri);
|
||||
+ return true;
|
||||
}
|
||||
|
||||
void
|
||||
19
net-voip/jami-client-qt/files/unbundle-qwindowkit.patch
Normal file
19
net-voip/jami-client-qt/files/unbundle-qwindowkit.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 29bfde9a..f0fbe76f 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -100,13 +101,7 @@ if(NOT WIN32)
|
||||
endif()
|
||||
|
||||
# qwindowkit (frameless window)
|
||||
-add_fetch_content(
|
||||
- TARGET qwindowkit
|
||||
- URL https://github.com/stdware/qwindowkit.git
|
||||
- BRANCH 758b00cb6c2d924be3a1ea137ec366dc33a5132d
|
||||
- PATCHES ${QWINDOWKIT_PATCHES}
|
||||
- OPTIONS ${QWINDOWKIT_OPTIONS}
|
||||
-)
|
||||
+find_package(QWindowKit)
|
||||
list(APPEND CLIENT_INCLUDE_DIRS ${QWindowKit_BINARY_DIR}/include)
|
||||
list(APPEND CLIENT_LIBS QWindowKit::Quick)
|
||||
|
||||
20
net-voip/jami-client-qt/files/unbundle-qwindowkit2.patch
Normal file
20
net-voip/jami-client-qt/files/unbundle-qwindowkit2.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c046b597..89c64b95 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -100,14 +100,7 @@ if(NOT WIN32)
|
||||
endif()
|
||||
|
||||
# qwindowkit (frameless window)
|
||||
-add_fetch_content(
|
||||
- TARGET qwindowkit
|
||||
- URL https://github.com/stdware/qwindowkit.git
|
||||
- BRANCH 758b00cb6c2d924be3a1ea137ec366dc33a5132d
|
||||
- PATCHES ${QWINDOWKIT_PATCHES}
|
||||
- OPTIONS ${QWINDOWKIT_OPTIONS}
|
||||
-)
|
||||
-list(APPEND CLIENT_INCLUDE_DIRS ${QWindowKit_BINARY_DIR}/include)
|
||||
+find_package(QWindowKit)
|
||||
list(APPEND CLIENT_LIBS QWindowKit::Quick)
|
||||
|
||||
# If ENABLE_CRASHREPORTS is enabled, we will use crashpad_cmake for now.
|
||||
Reference in New Issue
Block a user