0000-remove-third-party.patch 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. From 665a2fbc3a09a71cd77988ae2deb3f5d3e205f63 Mon Sep 17 00:00:00 2001
  2. From: Richard Mudgett <rmudgett@digium.com>
  3. Date: Thu, 23 Feb 2017 17:10:07 -0600
  4. Subject: [PATCH 2/5] 0000-remove-third-party.patch
  5. ---
  6. build.mak.in | 97 ------------------------------------------------------------
  7. 1 file changed, 97 deletions(-)
  8. diff --git a/build.mak.in b/build.mak.in
  9. index 80ccad1..41ec64e 100644
  10. --- a/build.mak.in
  11. +++ b/build.mak.in
  12. @@ -1,4 +1,3 @@
  13. -export PJDIR := @ac_pjdir@
  14. include $(PJDIR)/version.mak
  15. export PJ_DIR := $(PJDIR)
  16. @@ -37,19 +36,6 @@ export APP_THIRD_PARTY_EXT :=
  17. export APP_THIRD_PARTY_LIBS :=
  18. export APP_THIRD_PARTY_LIB_FILES :=
  19. -ifneq (@ac_external_srtp@,0)
  20. -# External SRTP library
  21. -APP_THIRD_PARTY_EXT += -l@ac_external_srtp_lib@
  22. -else
  23. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libsrtp-$(LIB_SUFFIX)
  24. -ifeq ($(PJ_SHARED_LIBRARIES),)
  25. -APP_THIRD_PARTY_LIBS += -lsrtp-$(TARGET_NAME)
  26. -else
  27. -APP_THIRD_PARTY_LIBS += -lsrtp
  28. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libsrtp.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libsrtp.$(SHLIB_SUFFIX)
  29. -endif
  30. -endif
  31. -
  32. ifeq (@ac_pjmedia_resample@,libresample)
  33. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX)
  34. ifeq ($(PJ_SHARED_LIBRARIES),)
  35. @@ -66,89 +52,6 @@ APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFI
  36. endif
  37. endif
  38. -ifneq (@ac_no_gsm_codec@,1)
  39. -ifeq (@ac_external_gsm@,1)
  40. -# External GSM library
  41. -APP_THIRD_PARTY_EXT += -lgsm
  42. -else
  43. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec-$(LIB_SUFFIX)
  44. -ifeq ($(PJ_SHARED_LIBRARIES),)
  45. -APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME)
  46. -else
  47. -APP_THIRD_PARTY_LIBS += -lgsmcodec
  48. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libgsmcodec.$(SHLIB_SUFFIX)
  49. -endif
  50. -endif
  51. -endif
  52. -
  53. -ifneq (@ac_no_speex_codec@,1)
  54. -ifeq (@ac_external_speex@,1)
  55. -APP_THIRD_PARTY_EXT += -lspeex -lspeexdsp
  56. -else
  57. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex-$(LIB_SUFFIX)
  58. -ifeq ($(PJ_SHARED_LIBRARIES),)
  59. -APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME)
  60. -else
  61. -APP_THIRD_PARTY_LIBS += -lspeex
  62. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libspeex.$(SHLIB_SUFFIX)
  63. -endif
  64. -endif
  65. -endif
  66. -
  67. -ifneq (@ac_no_ilbc_codec@,1)
  68. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libilbccodec-$(LIB_SUFFIX)
  69. -ifeq ($(PJ_SHARED_LIBRARIES),)
  70. -APP_THIRD_PARTY_LIBS += -lilbccodec-$(TARGET_NAME)
  71. -else
  72. -APP_THIRD_PARTY_LIBS += -lilbccodec
  73. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libilbccodec.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libilbccodec.$(SHLIB_SUFFIX)
  74. -endif
  75. -endif
  76. -
  77. -ifneq (@ac_no_g7221_codec@,1)
  78. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libg7221codec-$(LIB_SUFFIX)
  79. -ifeq ($(PJ_SHARED_LIBRARIES),)
  80. -APP_THIRD_PARTY_LIBS += -lg7221codec-$(TARGET_NAME)
  81. -else
  82. -APP_THIRD_PARTY_LIBS += -lg7221codec
  83. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libg7221codec.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libg7221codec.$(SHLIB_SUFFIX)
  84. -endif
  85. -endif
  86. -
  87. -ifeq (@ac_external_pa@,1)
  88. -# External PA
  89. -APP_THIRD_PARTY_EXT += -lportaudio
  90. -endif
  91. -
  92. -ifneq (@ac_no_yuv@,1)
  93. -ifeq (@ac_external_yuv@,1)
  94. -APP_THIRD_PARTY_EXT += -lyuv
  95. -else
  96. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libyuv-$(LIB_SUFFIX)
  97. -ifeq ($(PJ_SHARED_LIBRARIES),)
  98. -APP_THIRD_PARTY_LIBS += -lyuv-$(TARGET_NAME)
  99. -else
  100. -APP_THIRD_PARTY_LIBS += -lyuv
  101. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libyuv.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libyuv.$(SHLIB_SUFFIX)
  102. -endif
  103. -endif
  104. -endif
  105. -
  106. -ifneq (@ac_no_webrtc@,1)
  107. -ifeq (@ac_external_webrtc@,1)
  108. -APP_THIRD_PARTY_EXT += -lwebrtc
  109. -else
  110. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libwebrtc-$(LIB_SUFFIX)
  111. -ifeq ($(PJ_SHARED_LIBRARIES),)
  112. -APP_THIRD_PARTY_LIBS += -lwebrtc-$(TARGET_NAME)
  113. -else
  114. -APP_THIRD_PARTY_LIBS += -lwebrtc
  115. -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libwebrtc.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libwebrtc.$(SHLIB_SUFFIX)
  116. -endif
  117. -endif
  118. -endif
  119. -
  120. -
  121. # Additional flags
  122. @ac_build_mak_vars@
  123. --
  124. 2.7.4