mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
36 lines
1.3 KiB
Tcl
36 lines
1.3 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 cmake 1.1
|
||
PortGroup github 1.0
|
||
|
||
github.setup CarVac librtprocess 9a858270acb2096e2e403d932760ee688fcac425
|
||
version 2023.06.28
|
||
revision 0
|
||
categories graphics
|
||
license GPL-3
|
||
maintainers nomaintainer
|
||
description Select raw processing routines
|
||
long_description This is a project that aims to make some of RawTherapeeʼs highly optimized raw processing routines readily available for other FOSS photo editing software.
|
||
checksums rmd160 27814295ac9029a8d1c91a8b08774414751f7b6d \
|
||
sha256 a85bac0d67fc08ceaf61a7deeedff5ffaf8edabcebeb9a59924df378efc800f6 \
|
||
size 159040
|
||
github.tarball_from archive
|
||
|
||
compiler.cxx_standard 2011
|
||
compiler.openmp_version 2.5
|
||
|
||
configure.args-append \
|
||
-DBUILD_SHARED_LIBS=ON \
|
||
-DPROC_TARGET_NUMBER=0
|
||
|
||
if {[string match *clang* ${configure.compiler}]} {
|
||
configure.ldflags-append \
|
||
-L${prefix}/lib/libomp -lomp
|
||
}
|
||
|
||
variant native description "Optimize for the CPU" {
|
||
configure.args-replace \
|
||
-DPROC_TARGET_NUMBER=0 -DPROC_TARGET_NUMBER=2
|
||
}
|