From b286cd169c57eb456ff8c540cafe8b314768aa72 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Thu, 10 Feb 2022 20:28:58 +0100 Subject: [PATCH] package/gst1-devtools: bump version to 1.20.0 - use new option cairo ('Build GstValidateVideo') instead pure optional dependency on packet cairo Signed-off-by: Peter Seiderer Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 011385e757..dd09280a9c 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.18.6.tar.xz.sha256sum -sha256 3725622c740a635452e54b79d065f963ab7706ca2403de6c43072ae7610a0de4 gst-devtools-1.18.6.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.20.0.tar.xz.sha256sum +sha256 69fc8756ec9d93e5c5258c99088434f203e91fdbc5af28d1f2c583fd819b7a1d gst-devtools-1.20.0.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 9089b12188..f72df9cf71 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.18.6 +GST1_DEVTOOLS_VERSION = 1.20.0 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ @@ -16,8 +16,7 @@ GST1_DEVTOOLS_DEPENDENCIES = \ python3 \ gstreamer1 \ gst1-plugins-base \ - json-glib \ - $(if $(BR2_PACKAGE_CAIRO),cairo) + json-glib ifeq ($(BR2_PACKAGE_GST1_RTSP_SERVER),y) GST1_DEVTOOLS_DEPENDENCIES += gst1-rtsp-server @@ -30,4 +29,12 @@ GST1_DEVTOOLS_CONF_OPTS = \ -Dtests=disabled \ -Ddoc=disabled +# build GstValidateVideo +ifeq ($(BR2_PACKAGE_CAIRO),y) +GST1_DEVTOOLS_CONF_OPTS += -Dcairo=enabled +GST1_DEVTOOLS_DEPENDENCIES += cairo +else +GST1_DEVTOOLS_CONF_OPTS += -Dcairo=disabled +endif + $(eval $(meson-package))