# -*- 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
# as of version 0.1.0 requires C++11 to build
maintainers {devans @dbevans} openmaintainer
homepage https://libopenraw.freedesktop.org/wiki/
master_sites https://libopenraw.freedesktop.org/download/
description libopenraw is an ongoing project to provide a free software implementation \
for decoding camera RAW files.
long_description ${description} \
One of the main reasons is that dcraw is not suited for easy integration into \
applications, and there is a need for an easy to use API to build free software \
digital image processing applications. It also has the goal to address features \
missing from dcraw such as meta-data decoding and easy thumbnail extraction.
checksums rmd160 9e7b8859be6a27f083448cb6186119b2e32ea306 \
sha256 6405634f555849eb01cb028e2a63936e7b841151ea2a1571ac5b5b10431cfab9 \
patchfiles patch-Makefile.am.diff \
depends_build port:pkgconfig \
depends_lib port:libxml2 \
# Teach glibtool about -stdlib=libc++
configure.args --with-boost=${prefix} \
variant gnome description {Build with GNOME/GTK+ support} {
depends_lib-append port:gdk-pixbuf2
configure.args-delete --disable-gnome
if {[variant_isset gnome]} {
ui_debug "Updating gdk-pixbuf.loaders..."
system "${prefix}/bin/gdk-pixbuf-query-loaders --update-cache"