freebsd-ports/graphics/art/Makefile
Daniel Engberg 664a2fa1e5 */*: Bump jpeg-turbo users treewide
New major version 3.0.0
2023-07-28 19:13:17 +02:00

59 lines
1.7 KiB
Makefile

PORTNAME= art
DISTVERSION= 1.20.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://bitbucket.org/agriggio/art/downloads/
PKGNAMESUFFIX= -raw-image-editor
DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Raw image processing program
WWW= https://bitbucket.org/agriggio/art/wiki/Home
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_armv7= compilation fails: use of overloaded operator '[]' is ambiguous, see https://bitbucket.org/agriggio/art/issues/256/build-fails-on-32-bit-architectures-use-of
BROKEN_i386= ld: error: undefined symbol: __atomic_load
EXTRACT_DEPENDS= gtar:archivers/gtar # bsdtar(1) complains about hard links to itself
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libraw_r.so:graphics/libraw \
libexiv2.so:graphics/exiv2 \
libexpat.so:textproc/expat2 \
libfftw3f.so:math/fftw3-float \
libharfbuzz.so:print/harfbuzz \
liblensfun.so:graphics/lensfun \
liblcms2.so:graphics/lcms2 \
libmimalloc.so:devel/mimalloc \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= cmake compiler:c++11-lang desktop-file-utils gnome jpeg pkgconfig tar:xz xorg
USE_GNOME= atk atkmm cairo cairomm glibmm gtkmm30 librsvg2
USE_XORG= x11
EXTRACT_CMD= gtar
LDFLAGS+= -lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create
OPTIONS_DEFINE= LTO
OPTIONS_DEFAULT= LTO
LTO_CMAKE_BOOL= WITH_LTO
.if exists(/usr/include/omp.h)
OPTIONS_DEFINE+= OPENMP
OPTIONS_DEFAULT+= OPENMP
OPENMP_CMAKE_BOOL= OPTION_OMP
.else
CMAKE_OFF= OPTION_OMP
.endif
post-install:
${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ART
.include <bsd.port.mk>