# Note: depends on gobject-introspection
# Note: depends on py2cairo or pycairo
wget -c http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.16/pygobject-3.16.2.tar.xz
tar -xJf pygobject-3.16.2.tar.xz
cd pygobject-3.16.2
mkdir -p build-python3
cd build-python3
if ../configure --prefix="/usr" --with-python=python3 --enable-compile-warnings=no; then
  make # Doesn't mind -j#
  make install
fi
cd ..
mkdir -p build-python2
cd build-python2
if ../configure --prefix="/usr" --with-python=python2 --enable-compile-warnings=no; then
  make # Doesn't mind -j#
  make install
fi