# -*- 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 compiler_blacklist_versions 1.0
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
description GNOME editor.
long_description ${description}
maintainers {devans @dbevans} openmaintainer
homepage https://wiki.gnome.org/Apps/Gedit
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 43b2a5b5254a4481f276f67e6b94d52256cc5434 \
sha256 f174be0958ce63771fef9a81d06da6769358dab8705364a6abb5c7d10ec8211d \
depends_build port:pkgconfig \
depends_lib port:desktop-file-utils \
port:gsettings-desktop-schemas \
depends_run port:adwaita-icon-theme
gobject_introspection yes
patchfiles patch-configure.ac.diff
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
configure.cmd ./autogen.sh
# blacklist compilers that do not support C11 (redefinition of typedef ‘GtkSourceTag’ at gtksourceview/gtksourcetag.h:35)