2022-02-05 14:23:32 +00:00
|
|
|
# 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)
|
2022-12-06 22:00:30 +00:00
|
|
|
# Copyright (C) 2022-present Team CoreELEC (https://coreelec.org)
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="dbus-python"
|
2022-12-06 22:00:30 +00:00
|
|
|
PKG_VERSION="1.3.2"
|
|
|
|
PKG_SHA256="ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://freedesktop.org/wiki/Software/dbus"
|
|
|
|
PKG_URL="https://dbus.freedesktop.org/releases/dbus-python/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain Python3 dbus dbus-glib"
|
|
|
|
PKG_LONGDESC="D-BUS is a message bus, used for sending messages between applications."
|
|
|
|
PKG_BUILD_FLAGS="+lto"
|
2022-12-06 22:00:30 +00:00
|
|
|
PKG_TOOLCHAIN="autotools"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
pre_configure_target() {
|
2022-12-06 22:00:30 +00:00
|
|
|
export PKG_CONFIG_PATH="${SYSROOT_PREFIX}/usr/lib/pkgconfig"
|
2022-02-05 14:23:32 +00:00
|
|
|
export PYTHON_CONFIG="${SYSROOT_PREFIX}/usr/bin/python3-config"
|
|
|
|
export PYTHON_INCLUDES="$(${SYSROOT_PREFIX}/usr/bin/python3-config --includes)"
|
|
|
|
export PYTHON_LIBS="$(${SYSROOT_PREFIX}/usr/bin/python3-config --ldflags --embed)"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_makeinstall_target() {
|
|
|
|
python_remove_source
|
|
|
|
}
|