0f9c0bf3d5
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# python-gobject
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_GOBJECT_VERSION_MAJOR = 2.28
|
|
PYTHON_GOBJECT_VERSION = $(PYTHON_GOBJECT_VERSION_MAJOR).6
|
|
PYTHON_GOBJECT_SOURCE = pygobject-$(PYTHON_GOBJECT_VERSION).tar.xz
|
|
PYTHON_GOBJECT_SITE = http://ftp.gnome.org/pub/gnome/sources/pygobject/$(PYTHON_GOBJECT_VERSION_MAJOR)
|
|
PYTHON_GOBJECT_LICENSE = LGPL-2.1+
|
|
PYTHON_GOBJECT_LICENSE_FILES = COPYING
|
|
PYTHON_GOBJECT_DEPENDENCIES = host-pkgconf libglib2
|
|
PYTHON_GOBJECT_CONF_OPTS = --disable-introspection
|
|
# for 0001-add-PYTHON_INCLUDES-override.patch
|
|
PYTHON_GOBJECT_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
PYTHON_GOBJECT_DEPENDENCIES += python host-python
|
|
|
|
PYTHON_GOBJECT_CONF_ENV = \
|
|
PYTHON=$(HOST_DIR)/bin/python2 \
|
|
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`"
|
|
else
|
|
PYTHON_GOBJECT_DEPENDENCIES += python3 host-python3
|
|
|
|
PYTHON_GOBJECT_CONF_ENV = \
|
|
PYTHON=$(HOST_DIR)/bin/python3 \
|
|
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`"
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBFFI),y)
|
|
PYTHON_GOBJECT_CONF_OPTS += --with-ffi
|
|
PYTHON_GOBJECT_DEPENDENCIES += libffi
|
|
else
|
|
PYTHON_GOBJECT_CONF_OPTS += --without-ffi
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|