1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add missing run dependencies and add an upstream patch to fix some UI

problems.

PR:		232392
This commit is contained in:
Tijl Coosemans 2018-11-10 18:59:10 +00:00
parent 7990f81066
commit 034205ced7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484629
2 changed files with 33 additions and 3 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= linphone
PORTVERSION= 4.1.1
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= https://www.linphone.org/releases/sources/linphoneqt/
@ -16,8 +16,9 @@ LIB_DEPENDS= libbctoolbox.so:net/bctoolbox \
liblinphone++.so:net/liblinphone
USES= cmake:outsource compiler:c++11-lib pkgconfig qt:5
USE_QT= buildtools_build concurrent core declarative gui linguisttools network \
qmake_build quickcontrols2 speech svg testlib widgets
USE_QT= buildtools_build concurrent core declarative \
graphicaleffects_run gui linguisttools network qmake_build \
quickcontrols_run quickcontrols2 speech svg testlib widgets
post-patch:
@${REINPLACE_CMD} 's/LINPHONE_QT_GIT_VERSION/"${PORTVERSION}"/' \

View File

@ -0,0 +1,29 @@
From 313aa682738fc877ee8ba78b1d4060e08739cc24 Mon Sep 17 00:00:00 2001
From: Ronan Abhamon <ronan.abhamon@belledonne-communications.com>
Date: Fri, 19 Jan 2018 15:16:03 +0100
Subject: [PATCH] feat(AppController): force default theme style
---
src/app/AppController.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/app/AppController.cpp b/src/app/AppController.cpp
index 2d353884..711e1a9b 100644
--- src/app/AppController.cpp
+++ src/app/AppController.cpp
@@ -23,6 +23,7 @@
#include <QDirIterator>
#include <QFontDatabase>
#include <QMessageBox>
+#include <QQuickStyle>
#include "gitversion.h"
@@ -85,6 +86,7 @@ AppController::AppController (int &argc, char *argv[]) {
QCoreApplication::setApplicationVersion(APPLICATION_VERSION);
mApp = new App(argc, argv);
+ QQuickStyle::setStyle("Default");
if (mApp->isSecondary()) {
#ifdef Q_OS_MACOS
mApp->processEvents();