Преглед на файлове

package/gstreamer1/gst-omx: remove gst-omx

The OMX plugin has been removed from gstreamer as the OpenMAX standard
is long dead and even the Raspberry Pi OS no longer supports it.

See release notes for more details:
    https://gstreamer.freedesktop.org/releases/1.24/

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Thomas Bonnefille преди 6 месеца
родител
ревизия
51e292cf67
променени са 5 файла, в които са добавени 7 реда и са изтрити 54 реда
  1. 7 0
      Config.in.legacy
  2. 0 1
      package/gstreamer1/Config.in
  3. 0 11
      package/gstreamer1/gst-omx/Config.in
  4. 0 3
      package/gstreamer1/gst-omx/gst-omx.hash
  5. 0 39
      package/gstreamer1/gst-omx/gst-omx.mk

+ 7 - 0
Config.in.legacy

@@ -204,6 +204,13 @@ config BR2_PACKAGE_DIRECTFB
 	  This package was no longer maintained upstream, so it was
 	  This package was no longer maintained upstream, so it was
 	  dropped from Buildroot.
 	  dropped from Buildroot.
 
 
+config BR2_PACKAGE_GST_OMX
+	bool "gst-omx has been removed"
+	select BR2_LEGACY
+	help
+	  The gst-omx module has been removed from Gstreamer in
+	  release 1.24 in favor of Video4Linux-based video encoders.
+
 config BR2_PACKAGE_SDL2_DIRECTFB
 config BR2_PACKAGE_SDL2_DIRECTFB
 	bool "sdl2 directfb support removed"
 	bool "sdl2 directfb support removed"
 	select BR2_LEGACY
 	select BR2_LEGACY

+ 0 - 1
package/gstreamer1/Config.in

@@ -15,7 +15,6 @@ source "package/gstreamer1/gst1-python/Config.in"
 source "package/gstreamer1/gst1-rtsp-server/Config.in"
 source "package/gstreamer1/gst1-rtsp-server/Config.in"
 source "package/gstreamer1/gst1-shark/Config.in"
 source "package/gstreamer1/gst1-shark/Config.in"
 source "package/gstreamer1/gst1-vaapi/Config.in"
 source "package/gstreamer1/gst1-vaapi/Config.in"
-source "package/gstreamer1/gst-omx/Config.in"
 source "package/gstreamer1/gstd/Config.in"
 source "package/gstreamer1/gstd/Config.in"
 source "package/gstreamer1/gstreamer1-editing-services/Config.in"
 source "package/gstreamer1/gstreamer1-editing-services/Config.in"
 endif
 endif

+ 0 - 11
package/gstreamer1/gst-omx/Config.in

@@ -1,11 +0,0 @@
-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 - 3
package/gstreamer1/gst-omx/gst-omx.hash

@@ -1,3 +0,0 @@
-# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.12.tar.xz.sha256sum
-sha256  6b0685b92ac735032d7987d1028afaeab0a98ab726e0c51e5b9bfc8f2da7c8b1  gst-omx-1.22.12.tar.xz
-sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING

+ 0 - 39
package/gstreamer1/gst-omx/gst-omx.mk

@@ -1,39 +0,0 @@
-################################################################################
-#
-# gst-omx
-#
-################################################################################
-
-GST_OMX_VERSION = 1.22.12
-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))