distribution/packages/python/devel/pygobject/package.mk

23 lines
908 B
Makefile
Raw Normal View History

2022-07-07 22:41:48 +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)
# Copyright (C) 2022-present Team CoreELEC (https://coreelec.org)
PKG_NAME="pygobject"
PKG_VERSION="3.46.0"
2022-07-07 22:41:48 +00:00
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.pygtk.org/"
PKG_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/$(get_pkg_version_maj_min)/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain Python3 glib libffi gobject-introspection pgi"
PKG_LONGDESC="A convenient wrapper for the GObject+ library for use in Python programs."
2023-03-09 14:12:11 +00:00
pre_configure_target() {
PKG_CONFIG_PATH="${SYSROOT_PREFIX}/usr/lib/pkgconfig"
2022-07-07 22:41:48 +00:00
PKG_MESON_OPTS_TARGET=" \
2023-03-09 14:12:11 +00:00
-Dpython=${TOOLCHAIN}/bin/${PKG_PYTHON_VERSION} \
-Dpycairo=disabled \
-Dtests=false"
2022-07-07 22:41:48 +00:00
}