Initial Commit
- initial default booting image
This commit is contained in:
20
package/python-gobject/Config.in
Normal file
20
package/python-gobject/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_PYTHON_GOBJECT
|
||||
bool "python-gobject"
|
||||
depends on BR2_USE_MMU # libglib2, gobject-introspection
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # gobject-introspection
|
||||
select BR2_PACKAGE_GOBJECT_INTROSPECTION
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
Python bindings for the GLib/GObject library
|
||||
|
||||
https://pygobject.gnome.org/
|
||||
|
||||
comment "python-gobject needs a glibc or musl toolchain, gcc >= 4.9, host gcc >= 8"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_8
|
||||
3
package/python-gobject/python-gobject.hash
Normal file
3
package/python-gobject/python-gobject.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# from https://download.gnome.org/sources/pygobject/3.56/pygobject-3.56.3.sha256sum
|
||||
sha256 12760e4a0e3d04b6eb95e06f7a27e362c826d567ea613373a92c003b6c70d2d6 pygobject-3.56.3.tar.gz
|
||||
sha256 f4cac31434b287b10a70b81c62cfa973d250417f8f248c4c1b5566d061ecfb2f COPYING
|
||||
32
package/python-gobject/python-gobject.mk
Normal file
32
package/python-gobject/python-gobject.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-gobject
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_GOBJECT_VERSION_MAJOR = 3.56
|
||||
PYTHON_GOBJECT_VERSION = $(PYTHON_GOBJECT_VERSION_MAJOR).3
|
||||
PYTHON_GOBJECT_SOURCE = pygobject-$(PYTHON_GOBJECT_VERSION).tar.gz
|
||||
PYTHON_GOBJECT_SITE = https://download.gnome.org/sources/pygobject/$(PYTHON_GOBJECT_VERSION_MAJOR)
|
||||
PYTHON_GOBJECT_LICENSE = LGPL-2.1+
|
||||
PYTHON_GOBJECT_LICENSE_FILES = COPYING
|
||||
PYTHON_GOBJECT_INSTALL_STAGING = YES
|
||||
PYTHON_GOBJECT_DEPENDENCIES = \
|
||||
gobject-introspection \
|
||||
host-pkgconf \
|
||||
libglib2 \
|
||||
python3
|
||||
|
||||
PYTHON_GOBJECT_CONF_OPTS += \
|
||||
-Dpycairo=disabled \
|
||||
-Dtests=false
|
||||
|
||||
# A sysconfigdata_name must be manually specified or the resulting .so
|
||||
# will have a x86_64 prefix, which causes "import gi" to fail.
|
||||
# A pythonpath must be specified or the host python path will be used resulting
|
||||
# in a "not a valid python" error.
|
||||
PYTHON_GOBJECT_CONF_ENV += \
|
||||
_PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \
|
||||
PYTHONPATH=$(PYTHON3_PATH)
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user