kumquat-buildroot/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk
Adam Duskett fc19b43db2 package/gstreamer1/gst1-rtsp-server: add introspection support
If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-03-22 11:51:16 +01:00

48 lines
1.3 KiB
Makefile

################################################################################
#
# gst1-rtsp-server
#
################################################################################
GST1_RTSP_SERVER_VERSION = 1.16.2
GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz
GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server
GST1_RTSP_SERVER_LICENSE = LGPL-2.0+
GST1_RTSP_SERVER_LICENSE_FILES = COPYING COPYING.LIB
GST1_RTSP_SERVER_INSTALL_STAGING = YES
GST1_RTSP_SERVER_DEPENDENCIES = \
host-pkgconf \
gstreamer1 \
gst1-plugins-base \
gst1-plugins-good
GST1_RTSP_SERVER_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
GST1_RTSP_SERVER_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled
GST1_RTSP_SERVER_CONF_OPTS += \
-Dexamples=disabled \
-Dtests=disabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=enabled
GST1_RTSP_SERVER_DEPENDENCIES += gobject-introspection
else
GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=disabled
endif
ifeq ($(BR2_PACKAGE_LIBCGROUP),y)
GST1_RTSP_SERVER_DEPENDENCIES += libcgroup
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD),y)
GST1_RTSP_SERVER_DEPENDENCIES += gst1-plugins-bad
endif
$(eval $(meson-package))