# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortGroup active_variants 1.1
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
description gspell - a spell-checking library for GTK+
long_description gspell provides a flexible API to implement the spell checking \
maintainers {devans @dbevans} openmaintainer
homepage https://wiki.gnome.org/Projects/gspell
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 672db2a5505520e65c2a7060331c2f25558900dc \
sha256 819a1d23c7603000e73f5e738bdd284342e0cd345fb0c7650999c31ec741bbe5 \
depends_build port:pkgconfig \
depends_lib port:gdk-pixbuf2 \
gobject_introspection yes
patchfiles patch-gspell-Makefile.am.diff \
patch-testsuite-Makefile.am.diff
configure.args --enable-compile-warnings=no \
if {[variant_isset quartz]} {
require_active_variants gtk3 quartz
depends_lib-append port:gtk-osx-application-gtk3
require_active_variants gtk3 x11