kumquat-buildroot/package/gstreamer1/gstd/gstd.mk
Fabrice Fontaine 441bd6c469 package/gstreamer1/gstd: fix build with gcc 4.8
Fix the following build failure with gcc 4.8 raised since bump to
version 0.14.0 in commit a334b9a766 and
e83c94920b:

../libgstd/libgstd.c: In function 'gstd_set_ipc':
../libgstd/libgstd.c:119:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (gint ipc_idx = 0; ipc_idx < num_ipcs; ipc_idx++) {
     ^

Fixes:
 - http://autobuild.buildroot.org/results/00ad1b8979000aa10a20228c998389bc913cbbd4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-04 21:43:52 +02:00

41 lines
991 B
Makefile

################################################################################
#
# gstd
#
################################################################################
GSTD_VERSION = 0.14.0
GSTD_SITE = $(call github,RidgeRun,gstd-1.x,v$(GSTD_VERSION))
GSTD_LICENSE_FILES = COPYING
GSTD_LICENSE = GPL-2.0+
GSTD_DEPENDENCIES = \
$(BR2_COREUTILS_HOST_DEPENDENCY) \
gstreamer1 \
jansson \
json-glib \
libdaemon \
libglib2 \
libsoup \
readline
GSTD_CONF_OPTS = \
-Denable-tests=disabled \
-Denable-examples=disabled \
-Denable-gtk-doc=false \
-Denable-python=disabled \
-Dwith-gstd-runstatedir=/var/run/gstd \
-Dwith-gstd-logstatedir=/var/log/gstd \
-Dwith-gstd-systemddir=/usr/lib/systemd/system
GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled
GSTD_DEPENDENCIES += systemd
else
GSTD_CONF_OPTS += -Denable-systemd=disabled -Denable-initd=enabled
endif
$(eval $(meson-package))