# -*- 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
maintainers {nicos @NicosPavlov} openmaintainer
description Gwenview is an image viewer for KDE.
long_description Gwenview can load and save all image formats supported by KDE.
homepage https://www.kde.org/applications/graphics/gwenview/
master_sites kde:stable/${version}/src/
distname gwenview-${version}
checksums rmd160 493754167864154be07772bc85be168fb5a2b755 \
sha256 2032d18bc20ea490f3d1298e015ffac2a7b96eb7a76c02578df0713c1ab427a0
#Binaries do not link directly to openssl, nor use the ssl backend of kdelibs4,
#nor links to libkimap or libmailtransport from kdepimlibs4
license_noconflict openssl
depends_lib-append port:kdelibs4 \
patchfiles patch-fileutils.diff
# kde4-baseapps is not universal
if {![variant_isset docs]} {
patchfiles-append patch-CMakeLists.txt.diff
configure.args-append -DGWENVIEW_SEMANTICINFO_BACKEND=None
variant baloo description "Enable semantic info backend" {
depends_lib-append port:baloo
configure.args-delete -DGWENVIEW_SEMANTICINFO_BACKEND=None
#Default is baloo, but set for completeness
configure.args-append -DGWENVIEW_SEMANTICINFO_BACKEND=BALOO
livecheck.url ${kde4.mirror}
livecheck.regex (\\d+(\\.\\d+)+)