You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
0c3c5e7701
Change jpeg port to install in a location that does not conflict with libjpeg-turbo or mozjpeg. Change all jpeg dependencies to use libjpeg-turbo by default while allowing mozjpeg as a drop-in replacement. Rev bump dependent ports due to differing library version. Fixes: https://trac.macports.org/ticket/38907
45 lines
1.4 KiB
Tcl
45 lines
1.4 KiB
Tcl
# -*- 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 python 1.0
|
|
|
|
name py-imread
|
|
version 0.7.4
|
|
revision 1
|
|
categories-append graphics
|
|
platforms darwin
|
|
license MIT
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description Reads images into numpy arrays
|
|
long_description ${description}
|
|
|
|
homepage http://luispedro.org/software/imread/
|
|
|
|
checksums rmd160 4c9bee536af59f1448d014171c86b17e8fcc3d5b \
|
|
sha256 0487adef11a22168700968c1727020361a72f6132b6ced2b8826b02d8cbf744f \
|
|
size 151570
|
|
|
|
if {${name} ne ${subport}} {
|
|
compiler.cxx_standard 2011
|
|
configure.cxxflags-append -std=c++11
|
|
configure.cc {*}${configure.cxx} {*}${configure.cxxflags}
|
|
build.env "CPPFLAGS=${configure.cppflags}"
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
depends_lib-append port:py${python.version}-numpy \
|
|
port:libpng \
|
|
path:include/turbojpeg.h:libjpeg-turbo \
|
|
port:tiff \
|
|
port:webp
|
|
|
|
patchfiles patch-setup.py.diff \
|
|
patch-imread__imread.cpp.diff
|
|
|
|
livecheck.type none
|
|
}
|