kumquat-buildroot/package/kodi-texturepacker/kodi-texturepacker.mk
Bernd Kuhls 4f9190f14e package/kodi: security bump to version 17.3
Release notes:
https://kodi.tv/article/kodi-v173-minor-bug-fix-and-security-release

"Fix possible security flaw which could abused .zip files which try to
 traverse to a parent directory"

For details about the security bug refer to
http://blog.checkpoint.com/2017/05/23/hacked-in-translation/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-28 15:45:20 +02:00

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 = 17.3-Krypton
KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))
KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz
KODI_TEXTUREPACKER_LICENSE = GPL-2.0
KODI_TEXTUREPACKER_LICENSE_FILES = LICENSE.GPL
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)/project/cmake/modules \
-DCORE_SOURCE_DIR=$(@D) \
-Wno-dev
define HOST_KODI_TEXTUREPACKER_INSTALL_CMDS
$(INSTALL) -m 755 -D \
$(@D)/tools/depends/native/TexturePacker/TexturePacker \
$(HOST_DIR)/usr/bin/TexturePacker
endef
$(eval $(host-cmake-package))