2013-07-22 07:56:13 +02:00
|
|
|
################################################################################
|
2013-06-21 00:07:43 +02:00
|
|
|
#
|
|
|
|
# gst-omx
|
|
|
|
#
|
2013-07-22 07:56:13 +02:00
|
|
|
################################################################################
|
2013-06-21 00:07:43 +02:00
|
|
|
|
2021-01-15 23:54:06 +01:00
|
|
|
GST_OMX_VERSION = 1.18.3
|
2013-06-21 00:07:43 +02:00
|
|
|
GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz
|
2016-09-06 01:13:04 +02:00
|
|
|
GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx
|
2013-06-21 00:07:43 +02:00
|
|
|
|
2017-03-30 15:43:34 +02:00
|
|
|
GST_OMX_LICENSE = LGPL-2.1
|
2013-06-27 21:33:50 +02:00
|
|
|
GST_OMX_LICENSE_FILES = COPYING
|
2013-06-21 00:07:43 +02:00
|
|
|
|
2020-09-24 23:17:13 +02:00
|
|
|
GST_OMX_CONF_OPTS = \
|
|
|
|
-Dexamples=disabled \
|
|
|
|
-Dtests=disabled \
|
|
|
|
-Dtools=disabled \
|
|
|
|
-Ddoc=disabled
|
|
|
|
|
2013-06-21 00:07:43 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
2019-04-01 12:11:56 +02:00
|
|
|
GST_OMX_VARIANT = rpi
|
2020-09-24 23:17:13 +02:00
|
|
|
GST_OMX_CONF_OPTS += -Dheader_path=$(STAGING_DIR)/usr/include/IL
|
2020-10-27 12:30:54 +01:00
|
|
|
else
|
2019-04-02 00:02:28 +02:00
|
|
|
GST_OMX_VARIANT = generic
|
2013-06-21 00:07:43 +02:00
|
|
|
endif
|
|
|
|
|
2020-09-24 23:17:13 +02:00
|
|
|
GST_OMX_CONF_OPTS += -Dtarget=$(GST_OMX_VARIANT)
|
2019-04-01 12:11:56 +02:00
|
|
|
|
2013-06-21 00:07:43 +02:00
|
|
|
GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax
|
|
|
|
|
2014-09-09 22:17:17 +02:00
|
|
|
# adjust library paths to where buildroot installs them
|
|
|
|
define GST_OMX_FIXUP_CONFIG_PATHS
|
|
|
|
find $(@D)/config -name gstomx.conf | \
|
|
|
|
xargs $(SED) 's|/usr/local|/usr|g' -e 's|/opt/vc|/usr|g'
|
|
|
|
endef
|
|
|
|
|
|
|
|
GST_OMX_POST_PATCH_HOOKS += GST_OMX_FIXUP_CONFIG_PATHS
|
|
|
|
|
2020-09-24 23:17:13 +02:00
|
|
|
$(eval $(meson-package))
|