# -*- 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 compiler_blacklist_versions 1.0
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
description An image viewing and cataloging program.
long_description This is the Eye of Gnome, an image viewer program. \
It is meant to be a fast and functional image viewer \
as well as an image cataloging program.
maintainers {devans @dbevans} openmaintainer
homepage https://wiki.gnome.org/Apps/EyeOfGnome
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 c3346e0592066fdcefa92115a3093403ebd77b73 \
sha256 b53e3d4dfa7d0085b829a5fb95f148a099803c00ef276be7685efd5ec38807ad
depends_build port:pkgconfig \
depends_lib port:desktop-file-utils \
port:gsettings-desktop-schemas \
depends_run port:adwaita-icon-theme \
gobject_introspection yes
# blacklist old compilers that do not support gcc diagnostic pragmas in functions
compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
configure.args --enable-compile-warnings=minimum \
--disable-schemas-compile \
notes "For extra functionality install eog-plugins"
system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"