02ea01ea22
We need to backport a few upstream still-pending PRs, to fix cross-compilation, out-of-tree installation, and to relax requirements on some tools. The python support PR is backported too, but because python support was not tested, it is forcibly disabled. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [yann.morin.1998@free.fr: - expand commit log with explanations - backport upstream 253 (python) too ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
39 lines
948 B
Makefile
39 lines
948 B
Makefile
################################################################################
|
|
#
|
|
# gstd
|
|
#
|
|
################################################################################
|
|
|
|
GSTD_VERSION = 0.13.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
|
|
|
|
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))
|