mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
at-spi2-core: updated build opts for Wayland
This commit is contained in:
parent
4715fa1d3c
commit
b166999ff2
@ -8,13 +8,25 @@ PKG_SHA256="c6ba7c160434edebf09d2936933569c936f6ec972301766f2bdac5a4d418153c"
|
|||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="https://www.gnome.org/"
|
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_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 libXtst"
|
PKG_DEPENDS_TARGET="toolchain atk dbus glib"
|
||||||
PKG_LONGDESC="Protocol definitions and daemon for D-Bus at-spi."
|
PKG_LONGDESC="Protocol definitions and daemon for D-Bus at-spi."
|
||||||
|
|
||||||
PKG_MESON_OPTS_TARGET="-Ddocs=false \
|
configure_package() {
|
||||||
-Dintrospection=disabled \
|
# Build with x11 support
|
||||||
-Ddbus_daemon=/usr/bin/dbus-daemon"
|
if [ ${DISPLAYSERVER} = "x11" ]; then
|
||||||
|
PKG_DEPENDS_TARGET+=" libXtst"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
TARGET_LDFLAGS="${LDFLAGS} -lXext"
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user