mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
5594c90dd6
https://github.com/Exiv2/exiv2/releases/tag/v0.28.3 PR: 281090 Reported by: Alven <alster@vinterdalen.se> MFH: 2024Q3 Security: 3e44c35f-6cf4-11ef-b813-4ccc6adda413
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
PORTNAME= exiv2
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.28.3
|
|
PORTEPOCH= 1
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Exif, IPTC, and XMP metadata manipulation library and tools
|
|
WWW= https://www.exiv2.org/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
|
|
libexpat.so:textproc/expat2 \
|
|
libinih.so:devel/inih
|
|
|
|
USES= cmake compiler:c++17-lang cpe dos2unix gettext-tools iconv \
|
|
localbase:ldflags pathfix shebangfix
|
|
DOS2UNIX_FILES= cmake/compilerFlags.cmake
|
|
SHEBANG_FILES= fuzz/mkdictionary.py tests/runner.py
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Exiv2
|
|
|
|
CMAKE_ON= EXIV2_ENABLE_VIDEO
|
|
CMAKE_OFF= EXIV2_ENABLE_EXTERNAL_XMP
|
|
|
|
LDFLAGS_mips= -lintl
|
|
LDFLAGS_mips64= -lintl
|
|
|
|
OPTIONS_DEFINE= DOCS DOXYGEN NLS SAMPLE TEST
|
|
OPTIONS_SUB= yes
|
|
|
|
SAMPLE_DESC= Include sample applications
|
|
|
|
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
|
|
doxygen:devel/doxygen
|
|
DOXYGEN_CMAKE_BOOL= EXIV2_BUILD_DOC
|
|
DOXYGEN_ALL_TARGET= all doc
|
|
DOXYGEN_PORTDOCS= *
|
|
|
|
NLS_USES= gettext-runtime
|
|
NLS_CMAKE_BOOL= EXIV2_ENABLE_NLS
|
|
|
|
SAMPLE_CMAKE_BOOL= EXIV2_BUILD_SAMPLES
|
|
|
|
TEST_BUILD_DEPENDS= googletest>0:devel/googletest
|
|
TEST_TEST_DEPENDS= bash:shells/bash
|
|
TEST_USES= python:build,test
|
|
TEST_CMAKE_BOOL= EXIV2_BUILD_UNIT_TESTS
|
|
TEST_CMAKE_ON= -DPython${PYTHON_MAJOR_VER}_EXECUTABLE:FILEPATH="${PYTHON_CMD}"
|
|
TEST_TEST_TARGET= test
|
|
TEST_IMPLIES= SAMPLE
|
|
|
|
.include <bsd.port.mk>
|