diff --git a/net/linphone/Makefile b/net/linphone/Makefile index fd67c86dd143..62051225e11e 100644 --- a/net/linphone/Makefile +++ b/net/linphone/Makefile @@ -1,64 +1,62 @@ PORTNAME= linphone -PORTVERSION= 5.0.14 -PORTREVISION= 1 +PORTVERSION= 5.0.18 PORTEPOCH= 1 CATEGORIES= net MAINTAINER= zirias@FreeBSD.org COMMENT= SIP client supporting voice/video calls and text messaging WWW= https://www.linphone.org/ LICENSE= GPLv3 LIB_DEPENDS= libbctoolbox.so:net/bctoolbox \ libbelcard.so:deskutils/belcard \ liblinphone++.so:net/liblinphone \ libmediastreamer.so:net/mediastreamer \ libortp.so:net/ortp USES= cmake compiler:c++11-lib pkgconfig qt:5 USE_GITLAB= yes GL_SITE= https://gitlab.linphone.org/BC GL_ACCOUNT= public GL_PROJECT= linphone-desktop -GL_TAGNAME= 02e025324143c8479dc7634e74d3f5b5107e3b9a USE_QT= concurrent core dbus declarative gui linguisttools network \ quickcontrols2 speech svg testlib widgets buildtools:build \ qmake:build graphicaleffects:run quickcontrols:run # Linphone's plugin API is implemented in a shared object with rather generic # SONAME and filename, libapp-plugin.so. For classic installation in the # local tree, we better move it to its own subdirectory, so we need RPATH # here. # This will affect actual Linphone plugins as well if they get ported. CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH="${LOCALBASE}/lib/linphone" WRKSRC_SUBDIR= linphone-app ICONDIR= ${LOCALBASE}/share/icons/hicolor/scalable/apps post-patch: @${REINPLACE_CMD} -e 's/bc_compute_full_version([^)]*)//' \ -e 's/set(FULL_VERSION /&${PORTVERSION}/' \ -e 's/INSTALL_RPATH_USE_LINK_PATH/BUILD_WITH_INSTALL_RPATH/' \ -e '/add_subdirectory.*linphone_package/d' \ -e '/add_subdirectory.*build/d' \ -e '/add_custom_command/d' -e '/deployqt_hack/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} 's/LINPHONE_QT_GIT_VERSION/"${PORTVERSION}"/' \ ${WRKSRC}/src/app/AppController.cpp # override install because otherwise, it does a complete rebuild during stage do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/linphone \ ${STAGEDIR}${LOCALBASE}/bin ${MKDIR} ${STAGEDIR}${LOCALBASE}/lib/linphone ${MKDIR} ${STAGEDIR}${ICONDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/libapp-plugin.so \ ${STAGEDIR}${LOCALBASE}/lib/linphone ${INSTALL_DATA} ${WRKSRC}/assets/images/linphone_logo.svg \ ${STAGEDIR}${ICONDIR}/linphone.svg ${INSTALL_DATA} ${FILESDIR}/linphone.desktop \ ${STAGEDIR}${LOCALBASE}/share/applications/linphone.desktop .include diff --git a/net/linphone/distinfo b/net/linphone/distinfo index e0edb88c746f..b9dfb572e6fa 100644 --- a/net/linphone/distinfo +++ b/net/linphone/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1679189429 -SHA256 (public-linphone-desktop-02e025324143c8479dc7634e74d3f5b5107e3b9a_GL0.tar.gz) = 1f11f84862626aaf627f62269d635ebd9f0e29dd51c179bc623045100a586477 -SIZE (public-linphone-desktop-02e025324143c8479dc7634e74d3f5b5107e3b9a_GL0.tar.gz) = 2907732 +TIMESTAMP = 1690571429 +SHA256 (linphone-desktop-5.0.18.tar.bz2) = 7081fb9507359ac6b5129b753f2d8018dc23ac9ab1d7866cb3364d6509e8ee1a +SIZE (linphone-desktop-5.0.18.tar.bz2) = 2444866 diff --git a/net/linphone/files/patch-CMakeLists.txt b/net/linphone/files/patch-CMakeLists.txt index c53dd66eed28..9e789db37d83 100644 --- a/net/linphone/files/patch-CMakeLists.txt +++ b/net/linphone/files/patch-CMakeLists.txt @@ -1,19 +1,19 @@ ---- CMakeLists.txt.orig 2022-08-24 10:17:10 UTC +--- CMakeLists.txt.orig 2023-06-16 13:29:33 UTC +++ CMakeLists.txt -@@ -20,6 +20,7 @@ +@@ -20,6 +20,7 @@ cmake_minimum_required(VERSION 3.1) # ################################################################################ cmake_minimum_required(VERSION 3.1) +project(linphoneqt) find_package(bctoolbox CONFIG) set(FULL_VERSION ) -@@ -487,7 +487,7 @@ if(APPLE) +@@ -556,7 +557,7 @@ else() set(MSPLUGINS_DIR "Frameworks/mediastreamer2.framework/Versions/A/Libraries") endif() else() - set(MSPLUGINS_DIR "plugins/mediastreamer") + set(MSPLUGINS_DIR "lib/mediastreamer/plugins") endif() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake" "${CMAKE_CURRENT_BINARY_DIR}/config.h") # ------------------------------------------------------------------------------