gstreamer1.0-plugins-ugly_1.26.1.bb 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. require gstreamer1.0-plugins-common.inc
  2. require gstreamer1.0-plugins-license.inc
  3. SUMMARY = "'Ugly GStreamer plugins"
  4. HOMEPAGE = "https://gstreamer.freedesktop.org/"
  5. BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
  7. "
  8. LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later"
  9. LICENSE_FLAGS = "commercial"
  10. SRC_URI = " \
  11. https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \
  12. "
  13. SRC_URI[sha256sum] = "34d9bcec8e88b008839d8de33fb043ae75eb04e466df74066fd66ee487a8ec4f"
  14. S = "${WORKDIR}/gst-plugins-ugly-${PV}"
  15. DEPENDS += "gstreamer1.0-plugins-base"
  16. GST_PLUGIN_SET_HAS_EXAMPLES = "0"
  17. PACKAGECONFIG ??= " \
  18. ${GSTREAMER_ORC} \
  19. "
  20. PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52"
  21. PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio"
  22. PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
  23. PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
  24. PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
  25. GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}"
  26. EXTRA_OEMESON += " \
  27. -Ddoc=disabled \
  28. -Dsidplay=disabled \
  29. "
  30. FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
  31. FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"