# -*- 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 compiler_blacklist_versions 1.0
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
description The GNOME filemanager
long_description Nautilus is the official file manager for the \
GNOME desktop. It is designed to be primarly a file manager, \
but there are support for web and file viewing too.
maintainers {devans @dbevans} openmaintainer
homepage https://wiki.gnome.org/Apps/Nautilus
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 f636f18f3af8e4bc87b3b0632255c051234e9116 \
sha256 357d9d051fcc2c385ce9b3beb2db2ea1874b7cdf507ca10274a063023e1a61b3
depends_build port:pkgconfig
depends_lib port:desktop-file-utils \
port:gsettings-desktop-schemas \
depends_run port:adwaita-icon-theme
gobject_introspection yes
# blacklist compilers that do not support C11 (redefinition of typedef ‘NautilusLocationEntryClass’ at nautilus-location-entry.h:39)
compiler.blacklist *gcc* {clang < 300}
configure.args --disable-tracker \
--disable-update-mimedb \
--disable-schemas-compile
# exempi 2.4.0+ requires libc++
if {${configure.cxx_stdlib} eq "libstdc++"} {
depends_lib-delete port:exempi
configure.args-append --disable-xmp
variant desktop description {Enable desktop support} {