initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_GST_OMX
|
||||
bool "gst-omx"
|
||||
depends on BR2_PACKAGE_HAS_LIBOPENMAX
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
help
|
||||
GStreamer plug-in to use OpenMAX API.
|
||||
|
||||
https://cgit.freedesktop.org/gstreamer/gst-omx
|
||||
|
||||
comment "gst-omx requires a OpenMAX implementation"
|
||||
depends on !BR2_PACKAGE_HAS_LIBOPENMAX
|
||||
@@ -0,0 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.18.5.tar.xz.sha256sum
|
||||
sha256 2cd457c1e8deb1a9b39608048fb36a44f6c9a864a6b6115b1453a32e7be93b42 gst-omx-1.18.5.tar.xz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-omx
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_OMX_VERSION = 1.18.5
|
||||
GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz
|
||||
GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx
|
||||
|
||||
GST_OMX_LICENSE = LGPL-2.1
|
||||
GST_OMX_LICENSE_FILES = COPYING
|
||||
|
||||
GST_OMX_CONF_OPTS = \
|
||||
-Dexamples=disabled \
|
||||
-Dtests=disabled \
|
||||
-Dtools=disabled \
|
||||
-Ddoc=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
GST_OMX_VARIANT = rpi
|
||||
GST_OMX_CONF_OPTS += -Dheader_path=$(STAGING_DIR)/usr/include/IL
|
||||
else
|
||||
GST_OMX_VARIANT = generic
|
||||
endif
|
||||
|
||||
GST_OMX_CONF_OPTS += -Dtarget=$(GST_OMX_VARIANT)
|
||||
|
||||
GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax
|
||||
|
||||
# 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
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user