2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2019-10-24 22:51:28 +01:00
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
2011-01-09 18:45:17 +01:00
|
|
|
|
2010-11-15 17:29:00 +01:00
|
|
|
PKG_NAME="dbus-python"
|
2020-01-24 06:03:03 +00:00
|
|
|
PKG_VERSION="1.2.16"
|
|
|
|
|
PKG_SHA256="11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4"
|
2010-11-15 17:29:00 +01:00
|
|
|
PKG_LICENSE="GPL"
|
2016-02-07 23:13:01 +01:00
|
|
|
PKG_SITE="https://freedesktop.org/wiki/Software/dbus"
|
|
|
|
|
PKG_URL="https://dbus.freedesktop.org/releases/dbus-python/$PKG_NAME-$PKG_VERSION.tar.gz"
|
2019-10-24 22:51:28 +01:00
|
|
|
PKG_DEPENDS_TARGET="toolchain Python3 dbus dbus-glib"
|
2018-10-22 15:06:12 +02:00
|
|
|
PKG_LONGDESC="D-BUS is a message bus, used for sending messages between applications."
|
2018-05-30 15:54:29 +02:00
|
|
|
PKG_BUILD_FLAGS="+lto"
|
2014-01-21 17:23:10 +01:00
|
|
|
|
2016-03-10 12:41:59 +01:00
|
|
|
pre_configure_target() {
|
2019-10-24 22:51:28 +01:00
|
|
|
export PYTHON_CONFIG="$SYSROOT_PREFIX/usr/bin/python3-config"
|
|
|
|
|
export PYTHON_INCLUDES="$($SYSROOT_PREFIX/usr/bin/python3-config --includes)"
|
2020-08-10 18:58:23 +00:00
|
|
|
export PYTHON_LIBS="$($SYSROOT_PREFIX/usr/bin/python3-config --ldflags --embed)"
|
2016-03-10 12:41:59 +01:00
|
|
|
}
|
|
|
|
|
|
2014-01-21 17:23:10 +01:00
|
|
|
post_makeinstall_target() {
|
2019-10-24 22:51:28 +01:00
|
|
|
python_remove_source
|
2014-01-21 17:23:10 +01:00
|
|
|
}
|