blob: 639e07cf45b8783dbd972d5c1e2e896e6272288e (
plain)
1 # Description: Python bindings for GLib/GObject/GIO/GTK+/GStreamer
2 # URL: https://wiki.gnome.org/Projects/PyGObject
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: gobject-introspection python3-cairo
5
6 name=python3-gobject
7 version=3.42.2
8 release=1
9 source=(https://ftp.gnome.org/pub/GNOME/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
10
11 build() {
12 meson pygobject-$version build --prefix /usr -D python=/usr/bin/python3
13 ninja -C build -j ${JOBS-1}
14 DESTDIR=$PKG meson install -C build
15
16 /usr/bin/python3 -m compileall -d /usr/lib $PKG/usr/lib
17 /usr/bin/python3 -O -m compileall -d /usr/lib $PKG/usr/lib
18 }
|