0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-07 11:28:20 +00:00
Matthias Reichl 70abdd27a2 TexturePacker: fix build after kodi update
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-08-29 17:39:20 +02:00

25 lines
785 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="TexturePacker"
PKG_VERSION="0"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_DEPENDS_HOST="lzo:host libpng:host libjpeg-turbo:host giflib:host"
PKG_DEPENDS_UNPACK="${MEDIACENTER}"
PKG_LONGDESC="kodi-platform:"
PKG_CMAKE_SCRIPT="$(get_build_dir ${MEDIACENTER})/tools/depends/native/TexturePacker/src/CMakeLists.txt"
PKG_CMAKE_OPTS_HOST="-Wno-dev -DKODI_SOURCE_DIR=$(get_build_dir ${MEDIACENTER})"
pre_configure_host() {
export CXXFLAGS="${CXXFLAGS} -std=c++17 -DTARGET_POSIX -DTARGET_LINUX -D_LINUX"
}
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/bin
cp TexturePacker ${TOOLCHAIN}/bin
}