gst-plugins-base.mk 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. #############################################################
  2. #
  3. # gst-plugins-base
  4. #
  5. #############################################################
  6. GST_PLUGINS_BASE_VERSION = 0.10.23
  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 = FT2_CONFIG=/bin/false
  15. GST_PLUGINS_BASE_CONF_OPT = \
  16. $(DISABLE_NLS) \
  17. $(DISABLE_LARGEFILE) \
  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. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
  27. GST_PLUGINS_BASE_CONF_OPT += --enable-adder
  28. else
  29. GST_PLUGINS_BASE_CONF_OPT += --disable-adder
  30. endif
  31. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
  32. GST_PLUGINS_BASE_CONF_OPT += --enable-app
  33. else
  34. GST_PLUGINS_BASE_CONF_OPT += --disable-app
  35. endif
  36. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
  37. GST_PLUGINS_BASE_CONF_OPT += --enable-audioconvert
  38. else
  39. GST_PLUGINS_BASE_CONF_OPT += --disable-audioconvert
  40. endif
  41. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
  42. GST_PLUGINS_BASE_CONF_OPT += --enable-audiorate
  43. else
  44. GST_PLUGINS_BASE_CONF_OPT += --disable-audiorate
  45. endif
  46. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
  47. GST_PLUGINS_BASE_CONF_OPT += --enable-audioresample
  48. else
  49. GST_PLUGINS_BASE_CONF_OPT += --disable-audioresample
  50. endif
  51. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
  52. GST_PLUGINS_BASE_CONF_OPT += --enable-audiotestsrc
  53. else
  54. GST_PLUGINS_BASE_CONF_OPT += --disable-audiotestsrc
  55. endif
  56. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
  57. GST_PLUGINS_BASE_CONF_OPT += --enable-ffmpegcolorspace
  58. else
  59. GST_PLUGINS_BASE_CONF_OPT += --disable-ffmpegcolorspace
  60. endif
  61. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
  62. GST_PLUGINS_BASE_CONF_OPT += --enable-gdp
  63. else
  64. GST_PLUGINS_BASE_CONF_OPT += --disable-gdp
  65. endif
  66. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
  67. GST_PLUGINS_BASE_CONF_OPT += --enable-playback
  68. else
  69. GST_PLUGINS_BASE_CONF_OPT += --disable-playback
  70. endif
  71. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
  72. GST_PLUGINS_BASE_CONF_OPT += --enable-subparse
  73. else
  74. GST_PLUGINS_BASE_CONF_OPT += --disable-subparse
  75. endif
  76. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
  77. GST_PLUGINS_BASE_CONF_OPT += --enable-tcp
  78. else
  79. GST_PLUGINS_BASE_CONF_OPT += --disable-tcp
  80. endif
  81. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
  82. GST_PLUGINS_BASE_CONF_OPT += --enable-typefind
  83. else
  84. GST_PLUGINS_BASE_CONF_OPT += --disable-typefind
  85. endif
  86. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
  87. GST_PLUGINS_BASE_CONF_OPT += --enable-videotestsrc
  88. else
  89. GST_PLUGINS_BASE_CONF_OPT += --disable-videotestsrc
  90. endif
  91. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
  92. GST_PLUGINS_BASE_CONF_OPT += --enable-videorate
  93. else
  94. GST_PLUGINS_BASE_CONF_OPT += --disable-videorate
  95. endif
  96. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
  97. GST_PLUGINS_BASE_CONF_OPT += --enable-videoscale
  98. else
  99. GST_PLUGINS_BASE_CONF_OPT += --disable-videoscale
  100. endif
  101. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
  102. GST_PLUGINS_BASE_CONF_OPT += --enable-volume
  103. else
  104. GST_PLUGINS_BASE_CONF_OPT += --disable-volume
  105. endif
  106. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
  107. GST_PLUGINS_BASE_CONF_OPT += --enable-ogg
  108. GST_PLUGINS_BASE_DEPENDENCIES += libogg
  109. else
  110. GST_PLUGINS_BASE_CONF_OPT += --disable-ogg
  111. endif
  112. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
  113. GST_PLUGINS_BASE_CONF_OPT += --enable-theora
  114. GST_PLUGINS_BASE_DEPENDENCIES += libtheora
  115. else
  116. GST_PLUGINS_BASE_CONF_OPT += --disable-theora
  117. endif
  118. ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
  119. GST_PLUGINS_BASE_CONF_OPT += --enable-vorbis
  120. GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
  121. else
  122. GST_PLUGINS_BASE_CONF_OPT += --disable-vorbis
  123. endif
  124. $(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-base))