1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 18:56:18 +00:00
Lakka-LibreELEC/packages/addons/addon-depends/chrome-depends/at-spi2-core/package.mk
2023-01-24 20:53:14 +01:00

33 lines
1.0 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2017 Escalade
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="at-spi2-core"
PKG_VERSION="2.47.1"
PKG_SHA256="c6ba7c160434edebf09d2936933569c936f6ec972301766f2bdac5a4d418153c"
PKG_LICENSE="OSS"
PKG_SITE="https://www.gnome.org/"
PKG_URL="https://download.gnome.org/sources/at-spi2-core/${PKG_VERSION:0:4}/at-spi2-core-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain atk dbus glib"
PKG_LONGDESC="Protocol definitions and daemon for D-Bus at-spi."
configure_package() {
# Build with x11 support
if [ ${DISPLAYSERVER} = "x11" ]; then
PKG_DEPENDS_TARGET+=" libXtst"
fi
}
pre_configure_target() {
PKG_MESON_OPTS_TARGET="-Ddocs=false \
-Dintrospection=disabled \
-Ddbus_daemon=/usr/bin/dbus-daemon"
if [ ${DISPLAYSERVER} = "x11" ]; then
PKG_MESON_OPTS_TARGET+="-Dx11=true"
TARGET_LDFLAGS="${LDFLAGS} -lXext"
else
PKG_MESON_OPTS_TARGET+="-Dx11=false"
fi
}