# -*- 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 PortSystem 1.0 name eog-plugins version 3.26.8 revision 1 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Extra plugins for the Eye of GNOME image viewer long_description $description maintainers {devans @dbevans} openmaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Apps/EyeOfGnome master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 f8b8893fd67d4ca4f23ca676c2c73a40f46c7bc7 \ sha256 80709f435232375f71f4b5d74267597a16b0922b271d1c81e522817eae6c9db5 \ size 479356 depends_build port:pkgconfig \ port:gettext depends_lib port:clutter \ port:clutter-gtk \ port:eog \ port:gettext-runtime \ port:gsettings-desktop-schemas \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:libchamplain \ port:libgdata \ port:libexif \ port:libpeas patchfiles patch-plugins-pythonconsole.diff \ patch-plugins-slideshowshuffle.diff \ patch-needs-libpeas-gtk.diff configure.args --disable-python \ --disable-schemas-compile \ --disable-silent-rules use_autoreconf yes autoreconf.args -fvi variant python38 conflicts python39 python310 description {Python plugins use python 3.8} { depends_build-append port:python38 configure.python ${prefix}/bin/python3.8 set python_framework ${frameworks_dir}/Python.framework/Versions/3.8 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } variant python39 conflicts python38 python310 description {Python plugins use python 3.9} { depends_build-append port:python39 configure.python ${prefix}/bin/python3.9 set python_framework ${frameworks_dir}/Python.framework/Versions/3.9 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } variant python310 conflicts python38 python39 description {Python plugins use python 3.10} { depends_build-append port:python310 configure.python ${prefix}/bin/python3.10 set python_framework ${frameworks_dir}/Python.framework/Versions/3.10 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } if {![variant_isset python38] && \ ![variant_isset python39] && \ ![variant_isset python310]} { default_variants +python310 } post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome