# -*- 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       cmake 1.1
PortGroup       github 1.0

# Warning: OpenJPH embeds the package version number in the dylib name.
# Therefore dependent rev bumps are required on every version update.
# Upstream is aware of issue, and will eventually improve:
# https://github.com/aous72/OpenJPH/issues/155

github.setup    aous72 OpenJPH 0.32.0
github.tarball_from archive

categories      graphics
license         BSD
maintainers     nomaintainer
description     Open-source implementation of JPEG2000 Part-15
long_description \
    Open source implementation of High-throughput JPEG2000 (HTJ2K), \
    also known as JPH, JPEG2000 Part 15, ISO/IEC 15444-15, and ITU-T \
    T.814. Here, we are interested in implementing the HTJ2K only, \
    supporting features that are defined in JPEG2000 Part 1 (for \
    example, for wavelet transform, only reversible 5/3 and \
    irreversible 9/7 are supported).

checksums       rmd160  3bd493826de01ae2435c7d0c0ac6f98a4d16ccbf \
                sha256  5cb1ebe18e5ee1322d23ff2130b37562d447d1ad5586c3d16cf84be3ae30f719 \
                size    566625

depends_lib     port:tiff

compiler.c_standard 2011
compiler.cxx_standard 2011
# Wants compiler support for various Intel SIMD instructions
# https://trac.macports.org/ticket/73736
compiler.blacklist  {clang < 1100}
