1 ################################################################################
5 ################################################################################
7 GST_OMX_VERSION
= 1.10.4
8 GST_OMX_SOURCE
= gst-omx-
$(GST_OMX_VERSION
).
tar.xz
9 GST_OMX_SITE
= https
://gstreamer.freedesktop.org
/src
/gst-omx
11 GST_OMX_LICENSE
= LGPLv2.1
12 GST_OMX_LICENSE_FILES
= COPYING
14 ifeq ($(BR2_PACKAGE_RPI_USERLAND
),y
)
18 CFLAGS
="$(TARGET_CFLAGS) \
19 -I$(STAGING_DIR)/usr/include/IL \
20 -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
21 -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
24 ifeq ($(BR2_PACKAGE_BELLAGIO
),y
)
26 --with-omx-target
=bellagio
28 CFLAGS
="$(TARGET_CFLAGS) \
29 -DOMX_VERSION_MAJOR=1 \
30 -DOMX_VERSION_MINOR=1 \
31 -DOMX_VERSION_REVISION=2 \
35 GST_OMX_DEPENDENCIES
= gstreamer1 gst1-plugins-base libopenmax
37 # adjust library paths to where buildroot installs them
38 define GST_OMX_FIXUP_CONFIG_PATHS
39 find
$(@D
)/config
-name gstomx.conf | \
40 xargs
$(SED
) 's|/usr/local|/usr|g' -e
's|/opt/vc|/usr|g'
43 GST_OMX_POST_PATCH_HOOKS
+= GST_OMX_FIXUP_CONFIG_PATHS
45 $(eval
$(autotools-package
))