# -*- 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 compiler_blacklist_versions 1.0 name metacity version 3.34.1 set branch [join [lrange [split ${version} .] 0 1] .] description A window manager for the adult in you. long_description ${description} maintainers {devans @dbevans} openmaintainer categories gnome x11-wm license GPL-2+ platforms darwin homepage https://wiki.gnome.org/Projects/Metacity master_sites gnome:sources/${name}/${branch} use_xz yes checksums rmd160 366fb6234f4b1291a045d3ff72a2321b53968770 \ sha256 31c7d1045c390afb3bf405735b0b26c459197cbf43af37c469eb8918ce3a453d \ size 2055708 depends_build port:pkgconfig \ port:itstool depends_lib port:desktop-file-utils \ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:startup-notification \ port:xorg-libXcomposite \ port:xorg-libXfixes \ port:xrender \ port:xorg-libXdamage \ port:xorg-libXcursor \ port:xorg-libXinerama \ port:xorg-libXext \ port:xorg-libxkbfile \ port:xorg-libXrandr \ port:xorg-libsm \ port:xorg-libice \ port:libgtop \ port:libcanberra \ port:gsettings-desktop-schemas \ port:zenity depends_run port:gnome-settings-daemon configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --enable-debug \ --disable-compile-warnings \ --disable-silent-rules \ --disable-schemas-compile # 'clang < 300' is a guess. We basically need support for C11 redefinition of typedefs. # clang-75 definitely fails. # core/display-private.h:45: error: redefinition of typedef ‘MetaKeyBinding’ # ./include/types.h:29: error: previous declaration of ‘MetaKeyBinding’ was here compiler.c_standard 2011 compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300} configure.cflags-append -std=gnu11 post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } livecheck.type gnome