mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
pygobject, fix issues reported, 32bit fixes (#9057)
This commit is contained in:
@@ -2,14 +2,14 @@ SUMMARY="Python bindings for GLib/GObject/GIO/GTK"
|
||||
DESCRIPTION="PyGObject is a Python package which provides bindings for GObject based libraries \
|
||||
such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more."
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
|
||||
COPYRIGHT="2014 Developer name
|
||||
2016 Another developer's name"
|
||||
COPYRIGHT="2023 Christoph Reiter"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.gnome.org/sources/pygobject/3.44/pygobject-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="3c6805d1321be90cc32e648215a562430e0d3d6edcda8f4c5e7a9daffcad5710"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
$portName = $portVersion
|
||||
@@ -40,6 +40,12 @@ for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
\""
|
||||
# Also provide "non _x86" package on x86 32 bits
|
||||
if [ "$targetArchitecture" = "x86_gcc2" ]; then
|
||||
eval "PROVIDES_${pythonPackage}+=\"
|
||||
pygobject_$pythonPackage = $portVersion
|
||||
\""
|
||||
fi
|
||||
eval "REQUIRES_$pythonPackage=\"
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:python$pythonVersion
|
||||
|
||||
Reference in New Issue
Block a user