commit ae106c5e2cefae0692dcdc20e26c730aaf4de21b Author: Tim Biermann <tbier@posteo.de> Date: Sat Aug 19 11:23:17 2023 +0200 python3-gobject: adopted port diff --git a/python3-gobject/.signature b/python3-gobject/.signature index 27abc6f17..23ae78d93 100644 --- a/python3-gobject/.signature +++ b/python3-gobject/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/XvkT4sEeS2jPEgWIpSJ7WQO3Aew09w45ioprX6ziGE1P1NFmXT+8uvLUZRiMtVhKsp5cBC47G0+PtxWrPegYgw= -SHA256 (Pkgfile) = 4fce015550505e9915fdc1b889d4d516e04d7ca2844478b2e2611f71c0c09606 +RWSE3ohX2g5d/VZhXMnBd1vMFWqred8SdLDhsZ4AHniDG0FvIlh2okEhDTc7UzZE0yEAluRPMiYwI5/LYLnPPRZzyqzVoAEXUgw= +SHA256 (Pkgfile) = 91815f55c422f64566d96c7027a641782ec45065c2a2d221e4499eed81a78471 SHA256 (.footprint) = 69622fbaeae69188e8ea3b942d4a79d304e50eb85b175899ae0b425e6628293d SHA256 (pygobject-3.44.1.tar.xz) = 3c6805d1321be90cc32e648215a562430e0d3d6edcda8f4c5e7a9daffcad5710 diff --git a/python3-gobject/Pkgfile b/python3-gobject/Pkgfile index 521a0803c..acf4d2b66 100644 --- a/python3-gobject/Pkgfile +++ b/python3-gobject/Pkgfile @@ -1,16 +1,23 @@ # Description: Python bindings for GLib/GObject/GIO/GTK+/GStreamer # URL: https://wiki.gnome.org/Projects/PyGObject -# Maintainer: Danny Rawlins, crux at romster dot me +# Maintainer: CRUX System Team, core-ports at crux dot nu # Depends on: gobject-introspection python3-cairo name=python3-gobject version=3.44.1 -release=1 +release=2 source=(https://ftp.gnome.org/pub/GNOME/sources/pygobject/${version::4}/pygobject-$version.tar.xz) build() { - meson pygobject-$version build --prefix /usr -D python=/usr/bin/python3 - ninja -C build -j ${JOBS-1} + meson setup pygobject-$version build \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true \ + -D python=/usr/bin/python3 + + meson compile -C build -j ${JOBS-1} DESTDIR=$PKG meson install -C build /usr/bin/python3 -m compileall -d /usr/lib $PKG/usr/lib