kumquat-buildroot/package/kodi-skin-confluence/kodi-skin-confluence.mk

27 lines
1.1 KiB
Makefile
Raw Normal View History

################################################################################
#
# kodi-skin-confluence
#
################################################################################
# This cset is on the branch 'krypton'
# When Kodi is updated, then this should be updated to the corresponding branch
KODI_SKIN_CONFLUENCE_VERSION = 96bed03570a90d4fdfb96ab71de9a51ceedd03fb
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/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))