Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
linphoneqt
linphoneqt-fix-no-git.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File linphoneqt-fix-no-git.patch of Package linphoneqt
--- a/linphone-app/application_info.cmake +++ b/linphone-app/application_info.cmake @@ -1,6 +1,7 @@ set(APPLICATION_DESCRIPTION "A libre SIP client") set(APPLICATION_ID "com.belledonnecommunications.linphone") set(APPLICATION_NAME Linphone) +set(APPLICATION_VERSION "${PROJECT_VERSION}") set(APPLICATION_URL "https://www.linphone.org") set(APPLICATION_VENDOR "Belledonne Communications") set(APPLICATION_LICENCE "GNU General Public License V3") --- a/linphone-app/src/app/AppController.cpp +++ b/linphone-app/src/app/AppController.cpp @@ -26,6 +26,10 @@ #include "config.h" #include "gitversion.h" +#ifdef LINPHONE_QT_GIT_VERSION +#define APPLICATION_VERSION LINPHONE_QT_GIT_VERSION +#endif + #include "AppController.hpp" #include "components/other/desktop-tools/DesktopTools.hpp" @@ -52,7 +56,7 @@ AppController::AppController (int &argc, // The EXECUTABLE_NAME will be used in qt standard paths. It's our goal. QCoreApplication::setApplicationName(EXECUTABLE_NAME); QApplication::setOrganizationDomain(EXECUTABLE_NAME); - QCoreApplication::setApplicationVersion(LINPHONE_QT_GIT_VERSION); + QCoreApplication::setApplicationVersion(APPLICATION_VERSION); mApp = new App(argc, argv); --- a/linphone-app/src/config.h.cmake +++ b/linphone-app/src/config.h.cmake @@ -23,6 +23,7 @@ #cmakedefine APPLICATION_DESCRIPTION "${APPLICATION_DESCRIPTION}" #cmakedefine APPLICATION_ID "${APPLICATION_ID}" #cmakedefine APPLICATION_NAME "${APPLICATION_NAME}" +#cmakedefine APPLICATION_VERSION "${APPLICATION_VERSION}" #cmakedefine APPLICATION_VENDOR "${APPLICATION_VENDOR}" #cmakedefine APPLICATION_URL "${APPLICATION_URL}" #cmakedefine APPLICATION_LICENCE "${APPLICATION_LICENCE}"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor