1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 07:56:21 +00:00
Lakka-LibreELEC/packages/x11/lib/libXt/package.mk

29 lines
1.1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXt"
PKG_VERSION="1.3.0"
PKG_SHA256="52820b3cdb827d08dc90bdfd1b0022a3ad8919b57a39808b12591973b331bf91"
PKG_LICENSE="OSS"
PKG_SITE="https://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain util-macros libX11 libSM"
PKG_LONGDESC="libXt provides the X Toolkit Intrinsics library, an abstract widget library upon which other toolkits are based."
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--with-gnu-ld \
--enable-malloc0returnsnull"
if [ "${PROJECT}" = "L4T" -o "${DEVICE}" = "Odin" ]; then
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET/--disable-shared/--enable-shared}"
fi
pre_make_target() {
make -C util CC=${HOST_CC} \
CFLAGS="${HOST_CFLAGS} " \
LDFLAGS="${HOST_LDFLAGS}" \
makestrs
}