New package: linphone-desktop-4.1.1

This commit is contained in:
John 2017-12-09 13:03:38 +01:00 committed by maxice8
parent ec7ccc991f
commit 36adee8e40
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- AppController.cpp 2017-12-09 12:49:04.635798497 +0100
+++ src/app/AppController.cpp 2017-12-09 12:49:34.228799625 +0100
@@ -30,7 +30,7 @@
// Must be unique. Used by `SingleApplication` and `Paths`.
#define APPLICATION_NAME "linphone"
-#define APPLICATION_VERSION LINPHONE_QT_GIT_VERSION
+#define APPLICATION_VERSION "4.1.1"
#define APPLICATION_MINIMAL_QT_VERSION "5.9.0"
#define DEFAULT_FONT "Noto Sans"

View file

@ -0,0 +1,33 @@
--- CMakeLists.txt.bak 2017-12-09 12:42:39.858783833 +0100
+++ CMakeLists.txt 2017-12-09 12:43:11.262785030 +0100
@@ -45,30 +45,6 @@
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
-if (NOT WIN32)
- check_cxx_compiler_flag("-Wsuggest-override" SUGGEST_OVERRIDE)
- set(CUSTOM_FLAGS "\
--Wall \
--Wcast-align \
--Wconversion \
--Werror=return-type \
--Werror=old-style-cast \
--Wextra \
--Wfloat-equal \
--Winit-self \
--Woverloaded-virtual \
--Wpointer-arith \
--Wuninitialized \
--Wunused \
-")
- if (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- set(CUSTOM_FLAGS "${CUSTOM_FLAGS} -Wlogical-op")
- endif ()
- if (SUGGEST_OVERRIDE)
- set(CUSTOM_FLAGS "${CUSTOM_FLAGS} -Wsuggest-override -Werror=suggest-override")
- endif ()
-endif ()
-
set(CUSTOM_FLAGS "${CUSTOM_FLAGS} -DQT_NO_EXCEPTIONS")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CUSTOM_FLAGS}")

View file

@ -0,0 +1,19 @@
# Template file for 'linphone-desktop'
pkgname=linphone-desktop
version=4.1.1
revision=1
wrksrc="linphoneqt-${version}"
build_style=cmake
configure_args="-DCMAKE_INSTALL_RPATH=OFF"
hostmakedepends="qt5-qmake qt5-host-tools qt5-declarative"
makedepends="bctoolbox-devel belcard-devel belle-sip-devel linphone-devel
mediastreamer-devel qt5-declarative-devel qt5-quickcontrols2-devel
qt5-svg-devel qt5-tools-devel"
depends="qt5>=5.9_1 qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects"
short_desc="Linphone qt desktop"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org/"
distfiles="https://www.linphone.org/releases/sources/linphoneqt/linphoneqt-${version}.tar.gz"
checksum=4a00c0cc2861089f8d3a1d0af1cde8ad4094f23640fb6df483e1814853ce5fbc
replaces="linphone-gui>=0"