source: trunk/dports/graphics/exact-image/Portfile

Last change on this file was 148894, checked in by mcalhoun@…, 14 months ago

openexr, ilmbase: update version to 2.2.0
revbump dependencies since library name changes
homepage states that new features "should be available to applications without code modifications"
merge openexr and ilmbase into one Portfile since versions now seem linked
fixes #44620, #44619, #49965, and #49966; maintainer timeout

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# $Id: Portfile 148894 2016-05-22 14:26:15Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                exact-image
6version             0.8.7
7revision            2
8categories          graphics
9license             GPL-2
10maintainers         tobias-elze.de:macports openmaintainer
11description         a fast, modern and generic image processing library
12long_description \
13   ExactImage is ${description}.
14
15platforms           darwin
16
17homepage            http://www.exactcode.de/site/open_source/exactimage/
18master_sites        http://dl.exactcode.de/oss/exact-image/
19
20use_bzip2           yes
21
22checksums           rmd160  8e3f11a94688cc276ca4c29021e4b9231da25629 \
23                    sha256  b1b5d00e98903b7f87019920b200c600c8cbfe574ec158729566fa37f2641dfd
24
25depends_build       port:pkgconfig
26depends_lib         port:antigraingeometry \
27                    port:libpng \
28                    port:jasper \
29                    port:evas \
30                    port:expat \
31                    port:openexr \
32                    port:lcms
33
34# Undefined symbols: "BarDecode::code25i_t::tol", referenced from: __ZN9BarDecode9code25i_t3tolE$non_lazy_ptr in bardecode.o
35compiler.blacklist-append gcc-4.0
36
37# TODO: This project has buggy C++ which clang rejects
38# error: variable length array of non-POD element type
39# http://trac.macports.org/ticket/34201
40compiler.blacklist-append  *clang*
41
42platform darwin {
43    if {${os.major} >= 13} {
44        # This project needs to be updated to build with clang++ against libc++
45        depends_lib
46        depends_run
47        pre-fetch {
48            ui_error "$name does not build on Mavericks or later."
49            error "unsupported platform"
50        }
51    }
52}
53
54patchfiles          codecs_png.cc.diff
55
56configure.args      --with-freetype \
57                    --with-libjpeg \
58                    --with-libtiff \
59                    --with-libpng \
60                    --with-jasper \
61                    --with-evas \
62                    --with-expat \
63                    --with-openexr \
64                    --with-lcms \
65                    --without-bardecode \
66                    --without-libungif \
67                    --without-lua \
68                    --without-swig \
69                    --without-perl \
70                    --without-python \
71                    --without-php \
72                    --without-ruby
73
74configure.universal_args-delete --disable-dependency-tracking
75
76# gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
77universal_variant   no
78
79build.args          CC="${configure.cc} [get_canonical_archflags cc]" \
80                    CXX="${configure.cxx} [get_canonical_archflags cxx]" \
81                    Q=
82
83eval destroot.args  ${build.args}
84
85livecheck.type      regex
86livecheck.url       [lindex ${master_sites} 0]
87livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.