gst1-vaapi.mk 861 B

123456789101112131415161718192021222324252627282930313233343536
  1. ################################################################################
  2. #
  3. # gst1-vaapi
  4. #
  5. ################################################################################
  6. GST1_VAAPI_VERSION = 1.18.1
  7. GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi
  8. GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz
  9. GST1_VAAPI_LICENSE = LGPL-2.1+
  10. GST1_VAAPI_LICENSE_FILES = COPYING.LIB
  11. GST1_VAAPI_DEPENDENCIES += \
  12. gstreamer1 \
  13. gst1-plugins-base \
  14. gst1-plugins-bad \
  15. libva \
  16. libdrm
  17. GST1_VAAPI_CONF_OPTS += \
  18. -Dwith_drm=yes \
  19. -Dwith_x11=no \
  20. -Dwith_glx=no \
  21. -Dwith_wayland=no \
  22. -Dwith_egl=no \
  23. -Dexamples=disabled \
  24. -Dtest=disabled \
  25. -Ddoc=disabled
  26. ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y)
  27. GST1_VAAPI_CONF_OPTS += -Dwith_encoders=yes
  28. else
  29. GST1_VAAPI_CONF_OPTS += -Dwith_encoders=no
  30. endif
  31. $(eval $(meson-package))