# -*- 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 meson 1.0 name gnome-settings-daemon version 3.38.2 revision 1 categories gnome license GPL-2 LGPL-2.1 maintainers {devans @dbevans} openmaintainer description Gnome 3 settings daemon. long_description ${description} homepage https://www.gnome.org/ set branch [join [lrange [split ${version} .] 0 1] .] master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 17d1397e3317823ccb7bd011bdbb0974d3d8250a \ sha256 32c3d516cce1115ef08ef25f3a718d163b7b333b9068ccf2a6806ddcf21dd78c \ size 1439328 # Disable unexpected download of subprojects meson.wrap_mode nodownload patchfiles-append patch-meson-build.diff depends_build-append \ port:gettext \ port:pkgconfig depends_lib-append \ port:fontconfig \ port:geoclue2 \ port:geocode-glib \ port:gettext-runtime \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:gnome-desktop \ port:gsettings-desktop-schemas \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:lcms2 \ port:libcanberra \ port:libgweather \ port:libnotify \ port:policykit \ port:pulseaudio \ port:upower \ port:xorg-xorgproto \ port:xorg-libxkbfile \ port:xorg-libXfixes \ port:xorg-libXi \ port:xorg-libXrandr \ port:xorg-libXtst configure.args-append \ -Dalsa=false \ -Dcolord=false \ -Dgudev=false \ -Dnetwork_manager=false \ -Drfkill=false \ -Dsmartcard=false \ -Dsystemd=false \ -Dwayland=false \ -Dwwan=false platform darwin { if {${os.major} < 10} { configure.args-append \ -Dcups=false } } # uses x11 specific gdk api so gtk3 +x11 is required # Without libcanberra +x11 gnome-settings-daemon will fail to find the libcanberra-gtk3 package, aborting configure require_active_variants path:lib/pkgconfig/gtk+-3.0.pc:gtk3 x11 require_active_variants port:libcanberra x11 post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome