0d8c70e93d
The variables WITH_JSONSCHEMABUILDER & WITH_TEXTUREPACKER are defined as directories: https://github.com/xbmc/xbmc/blob/master/cmake/modules/buildtools/FindJsonSchemaBuilder.cmake https://github.com/xbmc/xbmc/blob/master/cmake/modules/buildtools/FindTexturePacker.cmake and during configure kodi searches these directories for usable binaries with the name scheme. ${APP_NAME_LC}-JsonSchemaBuilder ${APP_NAME_LC}-TexturePacker which translates to kodi-JsonSchemaBuilder and kodi-TexturePacker. This is an improvement to follow upstream's expections and it does neither fix a build nor a runtime error. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
1.0 KiB
Makefile
25 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# kodi-skin-confluence
|
|
#
|
|
################################################################################
|
|
|
|
KODI_SKIN_CONFLUENCE_VERSION = a155597cb6bb0f9d46b26ad881be1148929a03af
|
|
KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION))
|
|
KODI_SKIN_CONFLUENCE_LICENSE = GPL-2.0
|
|
KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt
|
|
KODI_SKIN_CONFLUENCE_DEPENDENCIES = kodi
|
|
|
|
define KODI_SKIN_CONFLUENCE_BUILD_CMDS
|
|
$(HOST_DIR)/bin/kodi-TexturePacker -input $(@D)/media/ -output $(@D)/media/Textures.xbt -dupecheck -use_none
|
|
endef
|
|
|
|
define KODI_SKIN_CONFLUENCE_INSTALL_TARGET_CMDS
|
|
mkdir -p $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence
|
|
cp -dpfr $(@D)/* $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence
|
|
find $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence/media -name *.jpg -delete
|
|
find $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence/media -name *.png -delete
|
|
endef
|
|
|
|
$(eval $(generic-package))
|