gst-plugins-base.mk 3.7 KB

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