# -*- 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
PortGroup compiler_blacklist_versions 1.0
PortGroup gobject_introspection 1.0
github.setup lwindolf liferea 1.12.7 v
# Note: do not remove the epoch line.
description A feed aggregator for GTK+/GNOME.
long_description Liferea is an aggregator for online news feeds. \
It supports the RSS/RDF, CDF, Atom, OCS and OPML \
formats and enclosures (podcasting). It also has \
maintainers {devans @dbevans} openmaintainer
homepage http://lzone.de/${name}/
checksums rmd160 e170eeb81ae91ab03b3a4b518a223dc2dc7bd08e \
sha256 f97df39c5abab58d497f94670f495414017c08be8dae6ca1e182890999741ea7 \
depends_build port:pkgconfig \
depends_lib port:desktop-file-utils \
port:gsettings-desktop-schemas \
path:lib/pkgconfig/webkit2-gtk-4.0.pc:webkit2-gtk
depends_run port:adwaita-icon-theme
patchfiles patch-autogen.sh.diff
gobject_introspection yes
# blacklist compilers that do not support C11 (redefinition of typedef ‘WebKitWebEditor’ at WebKitWebEditor.h)
compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
configure.cmd ./autogen.sh
configure.args --disable-schemas-compile \
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
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"