mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
Ring is a secure and distributed voice, video and chat communication platform that requires no centralized server and leaves the power of privacy in the hands of the user. WWW: https://ring.cx/ PR: 209543 Submitted by: Yuri Victorovich <yuri@rawbw.com>
21 lines
612 B
Text
21 lines
612 B
Text
--- CMakeLists.txt.orig 2016-05-19 17:41:40 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -751,7 +751,10 @@ INSTALL( FILES ${libringclient_CONFIG_PA
|
|
# COMPATIBILITY SameMajorVersion
|
|
# )
|
|
|
|
+option(FREEBSD_NLS_ON "NLS option: install translations" OFF)
|
|
+
|
|
# translations
|
|
+IF( FREEBSD_NLS_ON )
|
|
IF( Qt5LinguistTools_FOUND )
|
|
# translation template file
|
|
SET(TS_TEMPLATE ${CMAKE_SOURCE_DIR}/translations/lrc_en.ts)
|
|
@@ -767,6 +770,7 @@ IF( Qt5LinguistTools_FOUND )
|
|
|
|
INSTALL(FILES ${QM_FILES} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libringclient/translations")
|
|
ENDIF()
|
|
+ENDIF()
|
|
|
|
# uninstall target
|
|
CONFIGURE_FILE(
|