2
1

swfdec.mk 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #############################################################
  2. #
  3. # Swfdec
  4. #
  5. #############################################################
  6. SWFDEC_VERSION_MAJOR = 0.8
  7. SWFDEC_VERSION_MINOR = 4
  8. SWFDEC_VERSION = $(SWFDEC_VERSION_MAJOR).$(SWFDEC_VERSION_MINOR)
  9. SWFDEC_SOURCE = swfdec-$(SWFDEC_VERSION).tar.gz
  10. SWFDEC_SITE = http://swfdec.freedesktop.org/download/swfdec/$(SWFDEC_VERSION_MAJOR)
  11. SWFDEC_MAKE_OPT = \
  12. GLIB_MKENUMS=$(HOST_DIR)/usr/bin/glib-mkenums \
  13. GLIB_GENMARSHAL=$(HOST_DIR)/usr/bin/glib-genmarshal
  14. SWFDEC_LIBTOOL_PATCH = NO
  15. SWFDEC_INSTALL_STAGING = YES
  16. SWFDEC_INSTALL_TARGET = YES
  17. SWFDEC_DEPENDENCIES = liboil alsa-lib pango cairo host-pkg-config
  18. ifeq ($(BR2_PACKAGE_SWFDEC_GSTREAMER),y)
  19. SWFDEC_DEPENDENCIES += gstreamer gst-plugins-base
  20. else
  21. SWFDEC_CONF_OPT += --disable-gstreamer
  22. endif
  23. ifeq ($(BR2_PACKAGE_SWFDEC_GTK_SUPPORT),y)
  24. SWFDEC_DEPENDENCIES += libgtk2 libsoup
  25. else
  26. SWFDEC_CONF_OPT += --disable-gtk
  27. endif
  28. $(eval $(call AUTOTARGETS,package/multimedia,swfdec))
  29. # swfdec uses glib-* at install time
  30. # Notice: must come after AUTOTARGETS as that's where these variables gets set
  31. SWFDEC_INSTALL_TARGET_OPT += $(SWFDEC_MAKE_OPT)
  32. SWFDEC_INSTALL_STAGING_OPT += $(SWFDEC_MAKE_OPT)