gst-plugins-base.mk 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. #############################################################
  2. #
  3. # gst-plugins-base
  4. #
  5. #############################################################
  6. GST_PLUGINS_BASE_VERSION = 0.10.25
  7. GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.bz2
  8. GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
  9. GST_PLUGINS_BASE_INSTALL_STAGING = YES
  10. GST_PLUGINS_BASE_LIBTOOL_PATCH = NO
  11. # freetype is only used by examples, but if it is not found
  12. # and the host has a freetype-config script, then the host
  13. # include dirs are added to the search path causing trouble
  14. GST_PLUGINS_BASE_CONF_ENV =
  15. FT2_CONFIG=/bin/false \
  16. ac_cv_header_stdint_t="stdint.h"
  17. GST_PLUGINS_BASE_CONF_OPT = \
  18. --disable-examples \
  19. --disable-x \
  20. --disable-xvideo \
  21. --disable-xshm \
  22. --disable-oggtest \
  23. --disable-vorbistest \
  24. --disable-freetypetest
  25. GST_PLUGINS_BASE_DEPENDENCIES = gstreamer liboil \
  26. $(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib)
  27. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
  28. GST_PLUGINS_BASE_CONF_OPT += --enable-adder
  29. else
  30. GST_PLUGINS_BASE_CONF_OPT += --disable-adder
  31. endif
  32. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
  33. GST_PLUGINS_BASE_CONF_OPT += --enable-app
  34. else
  35. GST_PLUGINS_BASE_CONF_OPT += --disable-app
  36. endif
  37. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
  38. GST_PLUGINS_BASE_CONF_OPT += --enable-audioconvert
  39. else
  40. GST_PLUGINS_BASE_CONF_OPT += --disable-audioconvert
  41. endif
  42. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
  43. GST_PLUGINS_BASE_CONF_OPT += --enable-audiorate
  44. else
  45. GST_PLUGINS_BASE_CONF_OPT += --disable-audiorate
  46. endif
  47. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
  48. GST_PLUGINS_BASE_CONF_OPT += --enable-audioresample
  49. else
  50. GST_PLUGINS_BASE_CONF_OPT += --disable-audioresample
  51. endif
  52. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
  53. GST_PLUGINS_BASE_CONF_OPT += --enable-audiotestsrc
  54. else
  55. GST_PLUGINS_BASE_CONF_OPT += --disable-audiotestsrc
  56. endif
  57. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
  58. GST_PLUGINS_BASE_CONF_OPT += --enable-ffmpegcolorspace
  59. else
  60. GST_PLUGINS_BASE_CONF_OPT += --disable-ffmpegcolorspace
  61. endif
  62. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
  63. GST_PLUGINS_BASE_CONF_OPT += --enable-gdp
  64. else
  65. GST_PLUGINS_BASE_CONF_OPT += --disable-gdp
  66. endif
  67. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
  68. GST_PLUGINS_BASE_CONF_OPT += --enable-playback
  69. else
  70. GST_PLUGINS_BASE_CONF_OPT += --disable-playback
  71. endif
  72. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
  73. GST_PLUGINS_BASE_CONF_OPT += --enable-subparse
  74. else
  75. GST_PLUGINS_BASE_CONF_OPT += --disable-subparse
  76. endif
  77. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
  78. GST_PLUGINS_BASE_CONF_OPT += --enable-tcp
  79. else
  80. GST_PLUGINS_BASE_CONF_OPT += --disable-tcp
  81. endif
  82. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
  83. GST_PLUGINS_BASE_CONF_OPT += --enable-typefind
  84. else
  85. GST_PLUGINS_BASE_CONF_OPT += --disable-typefind
  86. endif
  87. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
  88. GST_PLUGINS_BASE_CONF_OPT += --enable-videotestsrc
  89. else
  90. GST_PLUGINS_BASE_CONF_OPT += --disable-videotestsrc
  91. endif
  92. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
  93. GST_PLUGINS_BASE_CONF_OPT += --enable-videorate
  94. else
  95. GST_PLUGINS_BASE_CONF_OPT += --disable-videorate
  96. endif
  97. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
  98. GST_PLUGINS_BASE_CONF_OPT += --enable-videoscale
  99. else
  100. GST_PLUGINS_BASE_CONF_OPT += --disable-videoscale
  101. endif
  102. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
  103. GST_PLUGINS_BASE_CONF_OPT += --enable-volume
  104. else
  105. GST_PLUGINS_BASE_CONF_OPT += --disable-volume
  106. endif
  107. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
  108. GST_PLUGINS_BASE_CONF_OPT += --enable-ogg
  109. GST_PLUGINS_BASE_DEPENDENCIES += libogg
  110. else
  111. GST_PLUGINS_BASE_CONF_OPT += --disable-ogg
  112. endif
  113. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO),y)
  114. GST_PLUGINS_BASE_CONF_OPT += --enable-pango
  115. GST_PLUGINS_BASE_DEPENDENCIES += pango
  116. else
  117. GST_PLUGINS_BASE_CONF_OPT += --disable-pango
  118. endif
  119. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
  120. GST_PLUGINS_BASE_CONF_OPT += --enable-theora
  121. GST_PLUGINS_BASE_DEPENDENCIES += libtheora
  122. else
  123. GST_PLUGINS_BASE_CONF_OPT += --disable-theora
  124. endif
  125. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
  126. GST_PLUGINS_BASE_CONF_OPT += --enable-vorbis
  127. GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
  128. else
  129. GST_PLUGINS_BASE_CONF_OPT += --disable-vorbis
  130. endif
  131. $(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-base))