aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-07-09 10:41:37 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-07-09 10:41:37 +0000
commitb39a225d4b8d608e7789f2fbc276dc84fe484f45 (patch)
treeb1b3bf19da40e3c3d8c6b778838045fe774f56e4
parentc4261cef8d4c8ed505bc92af0ac1cac3bc4a51e7 (diff)
MFH: r541320
graphics/exiv2: update to 0.27.3 PR: 247708 Submitted by: daniel.engberg.lists@pyret.net Exp-run by: antoine Approved by: ports-secteam (joneum)
Notes
svn path=/branches/2020Q3/; revision=541741
-rw-r--r--graphics/exiv2/Makefile19
-rw-r--r--graphics/exiv2/distinfo6
-rw-r--r--graphics/exiv2/pkg-plist19
3 files changed, 20 insertions, 24 deletions
diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile
index ab673a3c292a..c196f788b94e 100644
--- a/graphics/exiv2/Makefile
+++ b/graphics/exiv2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= exiv2
-DISTVERSION= 0.27.2
+DISTVERSION= 0.27.3
DISTVERSIONSUFFIX= -Source
PORTEPOCH= 1
CATEGORIES= graphics
@@ -15,24 +15,37 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2
+TEST_DEPENDS= bash:shells/bash
-USES= cmake compiler:c++11-lang cpe gettext iconv pathfix localbase:ldflags
+USES= cmake compiler:c++11-lang cpe gettext iconv pathfix \
+ python:3.5+,test localbase:ldflags
USE_LDCONFIG= yes
+TEST_TARGET= tests
+
LDFLAGS+= -lintl
CMAKE_ON= EXIV2_ENABLE_VIDEO \
EXIV2_ENABLE_NLS
CMAKE_OFF= EXIV2_ENABLE_LIBXMP
-OPTIONS_DEFINE= SAMPLE
+OPTIONS_DEFINE= SAMPLE TEST
OPTIONS_SUB= yes
+TEST_IMPLIES= SAMPLE
SAMPLE_DESC= Include sample applications
SAMPLE_CMAKE_BOOL= EXIV2_BUILD_SAMPLES
+TEST_CMAKE_BOOL= EXIV2_BUILD_UNIT_TESTS
+
PATHFIX_CMAKELISTSTXT= CMakeChecks.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-Source
+post-patch:
+ @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \
+ ${WRKSRC}/test/Makefile
+ @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \
+ ${WRKSRC}/test/functions.source
+
.include <bsd.port.mk>
diff --git a/graphics/exiv2/distinfo b/graphics/exiv2/distinfo
index df4d65e9feea..d20fd4be455c 100644
--- a/graphics/exiv2/distinfo
+++ b/graphics/exiv2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1571385425
-SHA256 (exiv2-0.27.2-Source.tar.gz) = 2652f56b912711327baff6dc0c90960818211cf7ab79bb5e1eb59320b78d153f
-SIZE (exiv2-0.27.2-Source.tar.gz) = 27591236
+TIMESTAMP = 1593677376
+SHA256 (exiv2-0.27.3-Source.tar.gz) = a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778
+SIZE (exiv2-0.27.3-Source.tar.gz) = 26447901
diff --git a/graphics/exiv2/pkg-plist b/graphics/exiv2/pkg-plist
index f34cc6eb5306..f3099e00d2b5 100644
--- a/graphics/exiv2/pkg-plist
+++ b/graphics/exiv2/pkg-plist
@@ -1,35 +1,18 @@
%%SAMPLE%%bin/addmoddel
-%%SAMPLE%%bin/convert-test
-%%SAMPLE%%bin/easyaccess-test
%%SAMPLE%%bin/exifcomment
%%SAMPLE%%bin/exifdata
-%%SAMPLE%%bin/exifdata-test
%%SAMPLE%%bin/exifprint
%%SAMPLE%%bin/exifvalue
bin/exiv2
%%SAMPLE%%bin/exiv2json
%%SAMPLE%%bin/geotag
-%%SAMPLE%%bin/ini-test
-%%SAMPLE%%bin/iotest
%%SAMPLE%%bin/iptceasy
%%SAMPLE%%bin/iptcprint
-%%SAMPLE%%bin/iptctest
-%%SAMPLE%%bin/key-test
-%%SAMPLE%%bin/largeiptc-test
%%SAMPLE%%bin/metacopy
-%%SAMPLE%%bin/mmap-test
%%SAMPLE%%bin/mrwthumb
-%%SAMPLE%%bin/path-test
-%%SAMPLE%%bin/prevtest
-%%SAMPLE%%bin/stringto-test
%%SAMPLE%%bin/taglist
-%%SAMPLE%%bin/tiff-test
-%%SAMPLE%%bin/werror-test
-%%SAMPLE%%bin/write-test
-%%SAMPLE%%bin/write2-test
%%SAMPLE%%bin/xmpdump
%%SAMPLE%%bin/xmpparse
-%%SAMPLE%%bin/xmpparser-test
%%SAMPLE%%bin/xmpprint
%%SAMPLE%%bin/xmpsample
include/exiv2/asfvideo.hpp
@@ -86,7 +69,7 @@ lib/cmake/exiv2/exiv2Config-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/exiv2/exiv2Config.cmake
lib/cmake/exiv2/exiv2ConfigVersion.cmake
lib/libexiv2.so
-lib/libexiv2.so.0.27.2
+lib/libexiv2.so.0.27.3
lib/libexiv2.so.27
lib/libexiv2-xmp.a
libdata/pkgconfig/exiv2.pc