36ed69f0bf
Release notes: https://github.com/xbmc/xbmc/releases/tag/20.5-Nexus Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# kodi-texturepacker
|
|
#
|
|
################################################################################
|
|
|
|
# Not possible to directly refer to kodi variables, because of
|
|
# first/second expansion trickery...
|
|
KODI_TEXTUREPACKER_VERSION = 20.5-Nexus
|
|
KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))
|
|
KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz
|
|
KODI_TEXTUREPACKER_DL_SUBDIR = kodi
|
|
KODI_TEXTUREPACKER_LICENSE = GPL-2.0
|
|
KODI_TEXTUREPACKER_LICENSE_FILES = LICENSE.md
|
|
HOST_KODI_TEXTUREPACKER_SUBDIR = tools/depends/native/TexturePacker
|
|
HOST_KODI_TEXTUREPACKER_DEPENDENCIES = \
|
|
host-giflib \
|
|
host-libjpeg \
|
|
host-libpng \
|
|
host-lzo
|
|
|
|
HOST_KODI_TEXTUREPACKER_CXXFLAGS = \
|
|
$(HOST_CXXFLAGS) \
|
|
-std=c++0x \
|
|
-DTARGET_POSIX \
|
|
-DTARGET_LINUX \
|
|
-D_LINUX \
|
|
-I$(@D)/xbmc/linux
|
|
|
|
HOST_KODI_TEXTUREPACKER_CONF_OPTS += \
|
|
-DCMAKE_CXX_FLAGS="$(HOST_KODI_TEXTUREPACKER_CXXFLAGS)" \
|
|
-DCMAKE_MODULE_PATH=$(@D)/cmake/modules \
|
|
-Wno-dev
|
|
|
|
define HOST_KODI_TEXTUREPACKER_INSTALL_CMDS
|
|
$(INSTALL) -m 755 -D \
|
|
$(@D)/tools/depends/native/TexturePacker/TexturePacker \
|
|
$(HOST_DIR)/bin/kodi-TexturePacker
|
|
endef
|
|
|
|
$(eval $(host-cmake-package))
|