0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 13:19:46 +00:00
2024-04-03 00:50:36 +02:00

32 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXi"
PKG_VERSION="1.8.1"
PKG_SHA256="89bfc0e814f288f784202e6e5f9b362b788ccecdeb078670145eacd8749656a7"
PKG_LICENSE="OSS"
PKG_SITE="https://www.x.org/"
PKG_URL="https://www.x.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain util-macros libX11 libXfixes libXext"
PKG_LONGDESC="LibXi provides an X Window System client interface to the XINPUT extension to the X protocol."
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--enable-malloc0returnsnull \
--disable-silent-rules \
--disable-docs \
--disable-specs \
--without-xmlto \
--without-fop \
--without-xsltproc \
--without-asciidoc \
--with-gnu-ld"
if [ "${PROJECT}" = "L4T" -o "${DEVICE}" = "Odin" ]; then
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET/--disable-shared/--enable-shared}"
fi
post_configure_target() {
libtool_remove_rpath libtool
}