# -*- 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

PortSystem          1.0
PortGroup           kde4   1.1

name                libkexiv2
version             4.14.3
revision            7
categories          kde kde4
license             GPL-2+ LGPL-2+
maintainers         nomaintainer
description         Wrapper around Exiv2 for KDE.
long_description    LibKExiv2 is a wrapper around Exiv2 library to manipulate pictures metadata as \
                    EXIF, IPTC, and XMP. This Metadata interface follow Metadata Working Group Specification. \
                    This library is used by kipi-plugins, digiKam and others kipi host programs.
platforms           darwin
homepage            https://www.kde.org
master_sites        kde:stable/${version}/src/
use_xz              yes
distname            libkexiv2-${version}

checksums           rmd160  67b9a51cd4694bcda0d5490d8e161504448d65c8 \
                    sha256  c487078cc7349768dc76f0eabd98e546762fdd3fda9da088fbfa74785daf0efd \
                    size    136292

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

depends_lib-append  port:kdelibs4 \
                    port:exiv2

patchfiles          patch-libkexiv2-kexiv2_p.h.diff \
                    patch-libkexiv2-kexiv2exif.cpp.diff \
                    patch-libkexiv2-rotationmatrix.cpp.orig.diff

livecheck.url       ${kde4.mirror}
livecheck.regex     (\\d+(\\.\\d+)+)
