package/gst1-vaapi: bump version to 1.22.0

Update config option names and dependency requirements.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
James Hilliard 2023-01-31 22:16:54 -07:00 committed by Peter Korsgaard
parent 0e8f9b34f3
commit 33d4c226e5
2 changed files with 31 additions and 10 deletions

View File

@ -1,3 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.20.4.tar.xz.sha256sum
sha256 ab12596144c05506e9782374c5d2cdfb3069fca89908d6de360d947bb77fd06a gstreamer-vaapi-1.20.4.tar.xz
# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.0.tar.xz.sha256sum
sha256 593ccad19f88e5fa29f40f98356c007806bd535828707b1406944d16a90bdff5 gstreamer-vaapi-1.22.0.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB

View File

@ -4,7 +4,7 @@
#
################################################################################
GST1_VAAPI_VERSION = 1.20.4
GST1_VAAPI_VERSION = 1.22.0
GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi
GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz
GST1_VAAPI_LICENSE = LGPL-2.1+
@ -18,19 +18,40 @@ GST1_VAAPI_DEPENDENCIES += \
libdrm
GST1_VAAPI_CONF_OPTS += \
-Dwith_drm=yes \
-Dwith_x11=no \
-Dwith_glx=no \
-Dwith_wayland=no \
-Dwith_egl=no \
-Ddrm=enabled \
-Degl=enabled \
-Dexamples=disabled \
-Dtests=disabled \
-Ddoc=disabled
ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y)
GST1_VAAPI_CONF_OPTS += -Dwith_encoders=yes
GST1_VAAPI_CONF_OPTS += -Dencoders=enabled
else
GST1_VAAPI_CONF_OPTS += -Dwith_encoders=no
GST1_VAAPI_CONF_OPTS += -Dencoders=disabled
endif
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
GST1_VAAPI_CONF_OPTS += -Degl=enabled
GST1_VAAPI_DEPENDENCIES += libegl
else
GST1_VAAPI_CONF_OPTS += -Degl=disabled
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
GST1_VAAPI_CONF_OPTS += -Dwayland=enabled
else
GST1_VAAPI_CONF_OPTS += -Dwayland=disabled
endif
ifeq ($(BR2_PACKAGE_XORG7),y)
GST1_VAAPI_CONF_OPTS += -Dx11=enabled
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
GST1_VAAPI_CONF_OPTS += -Dglx=enabled
else
GST1_VAAPI_CONF_OPTS += -Dglx=disabled
endif
else
GST1_VAAPI_CONF_OPTS += -Dx11=disabled -Dglx=disabled
endif
$(eval $(meson-package))