hc
2023-02-14 0cc9b7c44253c93447ddf73e206fbdbb3d9f16b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
################################################################################
#
# gst1-devtools
#
################################################################################
 
GST1_DEVTOOLS_VERSION = 1.20.3
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+
GST1_DEVTOOLS_LICENSE_FILES = validate/COPYING
GST1_DEVTOOLS_INSTALL_STAGING = YES
 
GST1_DEVTOOLS_DEPENDENCIES = \
   host-python3 \
   python3 \
   gstreamer1 \
   gst1-plugins-base \
   json-glib
 
ifeq ($(BR2_PACKAGE_GST1_RTSP_SERVER),y)
GST1_DEVTOOLS_DEPENDENCIES += gst1-rtsp-server
endif
 
GST1_DEVTOOLS_CONF_OPTS = \
   -Dvalidate=enabled \
   -Ddebug_viewer=disabled \
   -Dintrospection=disabled \
   -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))