Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37881488
en ru br
ALT Linux repositórios
S:2.4.4-alt6.f321e7c8

Group :: Rede/Mensagens instantâneas
RPM: libtgvoip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libtgvoip-system-json11.patch
Download


From 7e017735122d67b7e759b9b0548f088dc021e914 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Fri, 24 Jan 2020 12:11:13 +0100
Subject: [PATCH] Build against system json11.
---
 Makefile.am  | 4 +---
 configure.ac | 1 +
 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 8695bb1..40a5f59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,8 +26,7 @@ audio/Resampler.cpp \
 os/posix/NetworkSocketPosix.cpp \
 video/VideoSource.cpp \
 video/VideoRenderer.cpp \
-video/ScreamCongestionController.cpp \
-json11.cpp
+video/ScreamCongestionController.cpp
 
 TGVOIP_HDRS = \
 TgVoip.h \
@@ -55,7 +54,6 @@ os/posix/NetworkSocketPosix.h \
 video/VideoSource.h \
 video/VideoRenderer.h \
 video/ScreamCongestionController.h \
-json11.hpp \
 utils.h
 
 if TARGET_OS_OSX
diff --git a/configure.ac b/configure.ac
index 8a3df4d..3a55189 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,7 @@ AC_CHECK_LIB([crypto], [SHA1], [], [AC_MSG_FAILURE([libssl-dev is required but n
 AC_CHECK_LIB([m], [floorf])
 AC_CHECK_LIB([opus], [opus_decoder_create], [], [AC_MSG_FAILURE([libopus-dev is required but not found])])
 AC_CHECK_LIB([pthread], [pthread_create])
+AC_CHECK_LIB([json11], [main], [], [AC_MSG_FAILURE([json11-dev is required but not found])])
 
 AC_CANONICAL_HOST
 
-- 
2.24.1
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009