[arch-commits] Commit in telegram-desktop/repos (9 files)

2020-01-21 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, January 21, 2020 @ 20:34:09
  Author: svenstaro
Revision: 553331

archrelease: copy trunk to community-testing-x86_64

Added:
  telegram-desktop/repos/community-testing-x86_64/
  
telegram-desktop/repos/community-testing-x86_64/0001-Dynamic-linking-system-libs.patch
(from rev 553330, 
telegram-desktop/trunk/0001-Dynamic-linking-system-libs.patch)
  
telegram-desktop/repos/community-testing-x86_64/0002-Dynamic-linking-system-qt.patch
(from rev 553330, 
telegram-desktop/trunk/0002-Dynamic-linking-system-qt.patch)
  telegram-desktop/repos/community-testing-x86_64/0004-gtk3.patch
(from rev 553330, telegram-desktop/trunk/0004-gtk3.patch)
  
telegram-desktop/repos/community-testing-x86_64/0005-Use-system-wide-fonts.patch
(from rev 553330, telegram-desktop/trunk/0005-Use-system-wide-fonts.patch)
  
telegram-desktop/repos/community-testing-x86_64/0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch
(from rev 553330, 
telegram-desktop/trunk/0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch)
  telegram-desktop/repos/community-testing-x86_64/PKGBUILD
(from rev 553330, telegram-desktop/trunk/PKGBUILD)
  telegram-desktop/repos/community-testing-x86_64/series
(from rev 553330, telegram-desktop/trunk/series)
  telegram-desktop/repos/community-testing-x86_64/telegram-desktop.sh
(from rev 553330, telegram-desktop/trunk/telegram-desktop.sh)

--+
 0001-Dynamic-linking-system-libs.patch   |  340 +
 0002-Dynamic-linking-system-qt.patch |  165 ++
 0004-gtk3.patch  |   22 
 0005-Use-system-wide-fonts.patch |   59 ++
 0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch |   25 
 PKGBUILD |  102 +++
 series   |2 
 telegram-desktop.sh  |3 
 8 files changed, 718 insertions(+)

Copied: 
telegram-desktop/repos/community-testing-x86_64/0001-Dynamic-linking-system-libs.patch
 (from rev 553330, 
telegram-desktop/trunk/0001-Dynamic-linking-system-libs.patch)
===
--- community-testing-x86_64/0001-Dynamic-linking-system-libs.patch 
(rev 0)
+++ community-testing-x86_64/0001-Dynamic-linking-system-libs.patch 
2020-01-21 20:34:09 UTC (rev 553331)
@@ -0,0 +1,340 @@
+From: John Zimmermann 
+--- a/cmake/external/crash_reports/CMakeLists.txt
 b/cmake/external/crash_reports/CMakeLists.txt
+@@ -7,6 +7,7 @@
+ add_library(external_crash_reports INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_crash_reports ALIAS external_crash_reports)
+ 
++if(NOT DESKTOP_APP_DISABLE_CRASH_REPORTS)
+ if (WIN32 OR LINUX OR build_macstore)
+ add_subdirectory(breakpad)
+ target_link_libraries(external_crash_reports
+@@ -20,3 +21,4 @@
+ desktop-app::external_crashpad
+ )
+ endif()
++endif()
+--- a/cmake/external/ffmpeg/CMakeLists.txt
 b/cmake/external/ffmpeg/CMakeLists.txt
+@@ -7,6 +7,18 @@
+ add_library(external_ffmpeg INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_ffmpeg ALIAS external_ffmpeg)
+ 
++if(DESKTOP_APP_USE_SYSTEM_LIBS)
++find_package(PkgConfig REQUIRED)
++pkg_check_modules(FFMPEG REQUIRED libavcodec libavformat libavutil 
libswresample libswscale)
++target_link_libraries(external_ffmpeg
++INTERFACE
++${FFMPEG_LIBRARIES}
++)
++target_include_directories(external_ffmpeg SYSTEM
++INTERFACE
++${FFMPEG_INCLUDE_DIRS}
++)
++else()
+ target_include_directories(external_ffmpeg SYSTEM
+ INTERFACE
+ ${libs_loc}/ffmpeg
+@@ -36,3 +48,4 @@
+ Xrender
+ )
+ endif()
++endif()
+--- a/cmake/external/openal/CMakeLists.txt
 b/cmake/external/openal/CMakeLists.txt
+@@ -7,6 +7,21 @@
+ add_library(external_openal INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_openal ALIAS external_openal)
+ 
++if(DESKTOP_APP_USE_SYSTEM_LIBS)
++find_package(OpenAL REQUIRED)
++target_include_directories(external_openal SYSTEM
++INTERFACE
++${OPENAL_INCLUDE_DIR}
++)
++target_link_libraries(external_openal
++INTERFACE
++${OPENAL_LIBRARY}
++)
++target_compile_definitions(external_openal
++INTERFACE
++AL_ALEXT_PROTOTYPES
++)
++else()
+ if (WIN32)
+ target_include_directories(external_openal SYSTEM
+ INTERFACE
+@@ -41,3 +56,4 @@
+ AL_LIBTYPE_STATIC
+ AL_ALEXT_PROTOTYPES
+ )
++endif()
+--- a/cmake/external/openssl/CMakeLists.txt
 b/cmake/external/openssl/CMakeLists.txt
+@@ -7,7 +7,13 @@
+ add_library(external_openssl INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_openssl ALIAS external_openssl)
+ 
+-if (LINUX)
++if(DESKTOP_APP_USE_SYSTEM_LIBS)
++find_package(OpenSSL REQUIRED)
++target_include_direc

[arch-commits] Commit in telegram-desktop/repos (9 files)

2020-01-06 Thread Jiachen Yang via arch-commits
Date: Tuesday, January 7, 2020 @ 04:43:53
  Author: farseerfc
Revision: 549800

archrelease: copy trunk to community-testing-x86_64

Added:
  telegram-desktop/repos/community-testing-x86_64/
  
telegram-desktop/repos/community-testing-x86_64/0001-Dynamic-linking-system-libs.patch
(from rev 549799, 
telegram-desktop/trunk/0001-Dynamic-linking-system-libs.patch)
  
telegram-desktop/repos/community-testing-x86_64/0002-Dynamic-linking-system-qt.patch
(from rev 549799, 
telegram-desktop/trunk/0002-Dynamic-linking-system-qt.patch)
  telegram-desktop/repos/community-testing-x86_64/0004-gtk3.patch
(from rev 549799, telegram-desktop/trunk/0004-gtk3.patch)
  
telegram-desktop/repos/community-testing-x86_64/0005-Use-system-wide-fonts.patch
(from rev 549799, telegram-desktop/trunk/0005-Use-system-wide-fonts.patch)
  
telegram-desktop/repos/community-testing-x86_64/0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch
(from rev 549799, 
telegram-desktop/trunk/0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch)
  telegram-desktop/repos/community-testing-x86_64/PKGBUILD
(from rev 549799, telegram-desktop/trunk/PKGBUILD)
  telegram-desktop/repos/community-testing-x86_64/series
(from rev 549799, telegram-desktop/trunk/series)
  telegram-desktop/repos/community-testing-x86_64/tg.protocol
(from rev 549799, telegram-desktop/trunk/tg.protocol)

--+
 0001-Dynamic-linking-system-libs.patch   |  340 +
 0002-Dynamic-linking-system-qt.patch |  165 ++
 0004-gtk3.patch  |   22 
 0005-Use-system-wide-fonts.patch |   64 ++
 0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch |   25 
 PKGBUILD |  100 +++
 series   |5 
 tg.protocol  |   11 
 8 files changed, 732 insertions(+)

Copied: 
telegram-desktop/repos/community-testing-x86_64/0001-Dynamic-linking-system-libs.patch
 (from rev 549799, 
telegram-desktop/trunk/0001-Dynamic-linking-system-libs.patch)
===
--- community-testing-x86_64/0001-Dynamic-linking-system-libs.patch 
(rev 0)
+++ community-testing-x86_64/0001-Dynamic-linking-system-libs.patch 
2020-01-07 04:43:53 UTC (rev 549800)
@@ -0,0 +1,340 @@
+From: John Zimmermann 
+--- a/cmake/external/crash_reports/CMakeLists.txt
 b/cmake/external/crash_reports/CMakeLists.txt
+@@ -7,6 +7,7 @@
+ add_library(external_crash_reports INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_crash_reports ALIAS external_crash_reports)
+ 
++if(NOT DESKTOP_APP_DISABLE_CRASH_REPORTS)
+ if (WIN32 OR LINUX OR build_macstore)
+ add_subdirectory(breakpad)
+ target_link_libraries(external_crash_reports
+@@ -20,3 +21,4 @@
+ desktop-app::external_crashpad
+ )
+ endif()
++endif()
+--- a/cmake/external/ffmpeg/CMakeLists.txt
 b/cmake/external/ffmpeg/CMakeLists.txt
+@@ -7,6 +7,18 @@
+ add_library(external_ffmpeg INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_ffmpeg ALIAS external_ffmpeg)
+ 
++if(DESKTOP_APP_USE_SYSTEM_LIBS)
++find_package(PkgConfig REQUIRED)
++pkg_check_modules(FFMPEG REQUIRED libavcodec libavformat libavutil 
libswresample libswscale)
++target_link_libraries(external_ffmpeg
++INTERFACE
++${FFMPEG_LIBRARIES}
++)
++target_include_directories(external_ffmpeg SYSTEM
++INTERFACE
++${FFMPEG_INCLUDE_DIRS}
++)
++else()
+ target_include_directories(external_ffmpeg SYSTEM
+ INTERFACE
+ ${libs_loc}/ffmpeg
+@@ -36,3 +48,4 @@
+ Xrender
+ )
+ endif()
++endif()
+--- a/cmake/external/openal/CMakeLists.txt
 b/cmake/external/openal/CMakeLists.txt
+@@ -7,6 +7,21 @@
+ add_library(external_openal INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_openal ALIAS external_openal)
+ 
++if(DESKTOP_APP_USE_SYSTEM_LIBS)
++find_package(OpenAL REQUIRED)
++target_include_directories(external_openal SYSTEM
++INTERFACE
++${OPENAL_INCLUDE_DIR}
++)
++target_link_libraries(external_openal
++INTERFACE
++${OPENAL_LIBRARY}
++)
++target_compile_definitions(external_openal
++INTERFACE
++AL_ALEXT_PROTOTYPES
++)
++else()
+ if (WIN32)
+ target_include_directories(external_openal SYSTEM
+ INTERFACE
+@@ -41,3 +56,4 @@
+ AL_LIBTYPE_STATIC
+ AL_ALEXT_PROTOTYPES
+ )
++endif()
+--- a/cmake/external/openssl/CMakeLists.txt
 b/cmake/external/openssl/CMakeLists.txt
+@@ -7,7 +7,13 @@
+ add_library(external_openssl INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_openssl ALIAS external_openssl)
+ 
+-if (LINUX)
++if(DESKTOP_APP_USE_SYSTEM_LIBS)
++find_package(OpenSSL REQUIRED)
++target_include_directories(external_o