226ffc22a8
Luminance HDR is an open source graphical user interface application that aims to provide a complete workflow for HDR image processing. Supported features: * Create an HDR file from a set of images (formats: JPEG, TIFF 8-bit and 16-bit, RAW) of the same scene taken at different exposure settings * Rotate, resize, and crop HDR images * Tonemap HDR images * Copy EXIF data between sets of images Supported HDR formats (with file extensions): * OpenEXR (.exr) * Radiance RGBE (.hdr) * TIFF formats: 16-bit, 32-bit (float) and LogLuv (.tiff) * PFS native format (.pfs) * Raw image formats (various) Supported LDR formats: JPEG, PNG, PPM, PBM, TIFF (8-bit). WWW: http://qtpfsgui.sourceforge.net/ PR: 191690 Submitted by: bugzilla@soulrebel.in-berlin.de
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# Created by: Yinghong Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= luminance-hdr
|
|
DISTVERSION= 2.4.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION}
|
|
|
|
MAINTAINER= h2+fbsdports@fsfe.org
|
|
COMMENT= Complete open source solution for HDR photography
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
|
|
LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
|
libexiv2.so:${PORTSDIR}/graphics/exiv2 \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
|
|
libtiff.so:${PORTSDIR}/graphics/tiff \
|
|
libgsl.so:${PORTSDIR}/math/gsl \
|
|
libraw_r.so:${PORTSDIR}/graphics/libraw \
|
|
libboost_system.so:${PORTSDIR}/devel/boost-libs
|
|
|
|
USES= cmake:outsource tar:bzip2
|
|
USE_QT5= buildtools_build gui sql webkit xml linguist_build \
|
|
imageformats_run concurrent qmake_build
|
|
INSTALLS_ICONS= yes
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1000024
|
|
USE_GCC= yes
|
|
.endif
|
|
|
|
post-patch:
|
|
# Do not install yet another copy of GPL (we use license framework instead)
|
|
# and fix installation path for docs (but not for internal help files)
|
|
@${REINPLACE_CMD} -e '/LICENSE/d ; \
|
|
/#info files/s,share/luminance-hdr,${DOCSDIR_REL},' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
# Point to the right location for program where to look for GPL text
|
|
@${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \
|
|
s,share/doc/luminance-hdr,share/licenses/${PKGNAME},' \
|
|
${WRKSRC}/src/UI/UMessageBox.cpp
|
|
|
|
# Allow builds from release distfile to display correct git hash in "About"
|
|
# dialog window
|
|
@${REINPLACE_CMD} -e \
|
|
's,@GIT_SHA1@,be5409f2ed028b0a509d3f4cd44a970a09d2ef6c,' \
|
|
${WRKSRC}/src/Common/GitSHA1.cpp.in
|
|
|
|
pre-install:
|
|
QT_BINDIR_REL=bin
|
|
|
|
.include <bsd.port.post.mk>
|