# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup gobject_introspection 1.0
github.setup jcupitt libvips 8.6.4 v
description VIPS is an image processing library.
long_description VIPS is an image processing library. It is good for \
large images and for colour.
maintainers {bgilbert @bgilbert} {gmail.com:jcupitt @jcupitt}
homepage https://jcupitt.github.io/libvips/
github.tarball_from releases
checksums rmd160 80770fe6e1a52c9d334736597b749fea60e043f0 \
sha256 4631a080c92b2b371379252e451818604858942b754c924b09843a7f528a8af4
depends_build port:gtk-doc \
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/pango.pc:pango \
gobject_introspection yes
configure.args --enable-gtk-doc
proc install_pygi {pyver} {
global destroot frameworks_dir prefix worksrcpath
set destdir ${destroot}${frameworks_dir}/Python.framework/Versions/${pyver}/lib/python${pyver}/site-packages/gi/overrides
xinstall ${worksrcpath}/python/packages/gi/overrides/Vips.py ${destdir}
system "${prefix}/bin/python${pyver} -m compileall ${destdir}"
variant python27 description {Install Python 2.7 interface} {
depends_lib-append port:py27-gobject3