Files
macports-ports/gnome/eog-plugins/Portfile
T
2025-11-04 22:36:38 -05:00

64 lines
2.2 KiB
Tcl

# -*- 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:libpeas1
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 python310 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
}
default_variants +python310
post-activate {
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}
livecheck.type gnome