# -*- 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 PortSystem 1.0 PortGroup active_variants 1.1 PortGroup gobject_introspection 1.0 name libgnomekbd version 3.26.1 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] description A GNOME library which manages keyboard configuration long_description Libgnomekbd is ${description} and offers various \ widgets related to keyboard configuration. maintainers {devans @dbevans} openmaintainer categories gnome license LGPL-2+ platforms darwin homepage https://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 f9d22e3875786dfe6fe3ba0d31dc0e8a42402029 \ sha256 f7ca02631576e9b88aee1b1bae37ac1488b80ee7975f20a97f29e761a7172679 \ size 450636 depends_build port:pkgconfig depends_lib port:desktop-file-utils \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:libxklavier gobject_introspection yes patchfiles patch-gettext-0.20-compat.diff use_autoreconf yes autoreconf.args -fvi # libgnomekbd/gkbd-keyboard-display.c uses gdk_set_allowed_backends ("x11") require_active_variants path:lib/pkgconfig/gtk+-3.0.pc:gtk3 x11 configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-schemas-compile \ --disable-silent-rules post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome