1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-04 18:58:14 +00:00
Ian Leonard 928c79de2d mediacenter: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:09 +00: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/CMakeLists.txt"
PKG_CMAKE_OPTS_HOST="-Wno-dev"
pre_configure_host() {
export CXXFLAGS="${CXXFLAGS} -std=c++11 -DTARGET_POSIX -DTARGET_LINUX -D_LINUX -I$(get_build_dir ${MEDIACENTER})/xbmc/platform/linux"
}
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/bin
cp TexturePacker ${TOOLCHAIN}/bin
}