22fb4c469b
When calling 'printvars' on a just-configured tree, the output contains many spurious warnings about pkg-config being not found: make[1]: [...]/host/bin/pkg-config: Command not found This is partly because a few packages call pkg-config at the time the Makefile is parsed (really, right when make evaluates the recipe before executing it). It is customary, instead, to defer the call to pkg-config to the actual shell running the recipe's commands, like all our other packages do. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
18 lines
764 B
Makefile
18 lines
764 B
Makefile
################################################################################
|
|
#
|
|
# kodi-screensaver-matrixtrails
|
|
#
|
|
################################################################################
|
|
|
|
KODI_SCREENSAVER_MATRIXTRAILS_VERSION = 19.0.0-Matrix
|
|
KODI_SCREENSAVER_MATRIXTRAILS_SITE = $(call github,xbmc,screensaver.matrixtrails,$(KODI_SCREENSAVER_MATRIXTRAILS_VERSION))
|
|
KODI_SCREENSAVER_MATRIXTRAILS_LICENSE = GPL-2.0+
|
|
KODI_SCREENSAVER_MATRIXTRAILS_LICENSE_FILES = LICENSE.md
|
|
KODI_SCREENSAVER_MATRIXTRAILS_DEPENDENCIES = kodi
|
|
|
|
KODI_SCREENSAVER_MATRIXTRAILS_CONF_OPTS += \
|
|
-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" \
|
|
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`"
|
|
|
|
$(eval $(cmake-package))
|