kumquat-buildroot/package/gstreamer1/gst1-imx/gst1-imx.mk

53 lines
1.3 KiB
Makefile
Raw Normal View History

################################################################################
#
# gst1-imx
#
################################################################################
gst1-imx: bump version to 0.11.1 Changelog: (0.11.1) - vpu: decoder: Keep track of unfinished gstvideo frames - blitter fixes and enhancements - ipu: All pages are now cleared when page flipping is used - compositor: Added support for cropping input streams - imxv4l2src fixes and enhancements (0.11.0) - new common codebase for rectangular regions and video canvases - new blitter-based video sink with full support for vsync to eliminate tearing - complete rewrite of blitter base code - new compositor elements - vpu: decoder: Memory leaks fixed - vpu: encoder: Bitrate can now be set on the fly - eglvivsink: In Wayland, window x/y coordinates are now supported - several v4l2src fixes (0.10.2) - v4l2src: renamed imxv4l2src to imxv4l2videosrc to avoid name collisions with the FSL plugins - v4l2src: Call the buffer pool baseclass stop() function (fixes segfaults) - uniaudio: Create correct config header even if no codecs were found - audio: new MP3 encoder element using the libfslcodec MP3 encoder - g2d/ipu/pxp blitter sink: Respect aspect ratio also in 90/270 degree rotations - pxp: Remove broken/unsupported formats - eglvivsink: Fix double mutex unlock - phys mem meta naming cleanup Tested with the following commands: # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \ matroskademux ! imxvpudec ! imxipuvideosink # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \ matroskademux ! imxvpudec ! imxeglvivsink Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-11 11:39:49 +02:00
GST1_IMX_VERSION = 0.11.1
GST1_IMX_SITE = $(call github,Freescale,gstreamer-imx,$(GST1_IMX_VERSION))
GST1_IMX_LICENSE = LGPLv2+
GST1_IMX_LICENSE_FILES = LICENSE
GST1_IMX_INSTALL_STAGING = YES
GST1_IMX_DEPENDENCIES += host-pkgconf host-python \
imx-gpu-viv gstreamer1 gst1-plugins-base libfslvpuwrap
# needs access to imx-specific kernel headers
GST1_IMX_DEPENDENCIES += linux
GST1_IMX_CONF_OPTS += --prefix="/usr" \
--kernel-headers="$(LINUX_DIR)/include"
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
GST1_IMX_DEPENDENCIES += xlib_libX11
GST1_IMX_CONF_OPTS += --egl-platform=x11
else
ifeq ($(BR2_PACKAGE_WAYLAND),y)
GST1_IMX_DEPENDENCIES += wayland
GST1_IMX_CONF_OPTS += --egl-platform=wayland
else
GST1_IMX_CONF_OPTS += --egl-platform=fb
endif
endif
define GST1_IMX_CONFIGURE_CMDS
cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \
$(HOST_DIR)/usr/bin/python2 ./waf configure $(GST1_IMX_CONF_OPTS)
endef
define GST1_IMX_BUILD_CMDS
cd $(@D); \
$(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS)
endef
define GST1_IMX_INSTALL_TARGET_CMDS
cd $(@D); \
$(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
install
endef
$(eval $(generic-package))