# -*- 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 # $Id$ PortSystem 1.0 name gnome-photos version 3.22.1 license GPL-2 set branch [join [lrange [split ${version} .] 0 1] .] description Photo manager for GNOME. long_description GNOME Photos is a simple standalone application to find, organize and view your photos. maintainers juanrgar devans openmaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Apps/Photos master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 3439c672d10af156ba6f986ebbf67e3c84b995cb \ sha256 51aa6204e8bf126015894e77aecae34b56e3cb51c6788b6e1229603746d25f4a depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:yelp-tools \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gtk3 \ port:cairo \ port:gegl-0.3 \ port:gfbgraph \ port:gdk-pixbuf2 \ port:gnome-desktop \ port:gnome-online-accounts \ port:grilo \ port:grilo-plugins \ port:tracker depends_run port:gnome-online-miners \ port:gnome-themes-standard \ port:yelp patchfiles patch-configure.ac.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --disable-schemas-compile \ --disable-silent-rules \ --enable-compile-warnings=no # port installs hicolor icons, desktop application file, and gschemas post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome