1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

graphics/darktable38: update to 3.8.1

https://github.com/darktable-org/darktable/releases/tag/release-3.8.1

Rename option from LIBAVIF to AVIF.

Convert all <opt>_CMAKE_OFF to <opt>_CMAKE_BOOL for better control
of options.

After receiving dumbbell's feedback that 3.8 can be merged back
to graphics/darktable, deprecate this port for end of March.
This commit is contained in:
Matthias Andree 2022-02-15 00:51:21 +01:00
parent 3be461dfa1
commit fb1e02a81d
3 changed files with 25 additions and 21 deletions

View File

@ -1,11 +1,14 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= darktable
PORTVERSION= 3.8.0
PORTVERSION= 3.8.1
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
PKGNAMESUFFIX= 38
DEPRECATED= to be folded back to graphics/darktable within 2022Q1
EXPIRATION_DATE=2022-03-31
MAINTAINER= mandree@FreeBSD.org
# lwhsu and dumbbell hereby receive blanket approval to deal with this port
# as though they were maintainers. Courtesy Cc: by e-mail of important changes appreciated. --mandree
@ -64,63 +67,63 @@ LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
OPTIONS_DEFINE= DOCS GEO GPHOTO GMIC GRAPHMAGICK LIBAVIF LIBSECRET LTO \
OPTIONS_DEFINE= DOCS GEO GPHOTO GMIC GRAPHMAGICK AVIF LIBSECRET LTO \
LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP
OPTIONS_DEFAULT= GEO GPHOTO LUA OPENEXR OPENJPEG PRINT WEBP
OPTIONS_DEFAULT= AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP
OPTIONS_SUB= yes
AVIF_DESC= Support encoding and decoding .avif files
GEO_DESC= Support geotagging
GMIC_DESC= Support G'Mic-compressed LUT in lut3d
LIBAVIF_DESC= Support encoding and decoding .avif files
LIBSECRET_DESC= Support libsecret as password backend
GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF
GEO_CMAKE_BOOL= USE_MAP
GMIC_LIB_DEPENDS= libgmic.so:graphics/gmic
GMIC_CMAKE_OFF= -DUSE_GMIC:BOOL=OFF
GMIC_CMAKE_BOOL= USE_GMIC
GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2
GPHOTO_CMAKE_OFF= -DUSE_CAMERA_SUPPORT:BOOL=OFF
GPHOTO_CMAKE_BOOL= USE_CAMERA_SUPPORT
GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick
GRAPHMAGICK_CMAKE_OFF= -DUSE_GRAPHICSMAGICK:BOOL=OFF
GRAPHMAGICK_CMAKE_BOOL= USE_GRAPHICSMAGICK
LIBAVIF_LIB_DEPENDS= libavif.so:graphics/libavif
LIBAVIF_CMAKE_OFF= -DUSE_LIBAVIF:BOOL=OFF
AVIF_LIB_DEPENDS= libavif.so:graphics/libavif
AVIF_CMAKE_BOOL= USE_AVIF
LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret
LIBSECRET_CMAKE_OFF= -DUSE_LIBSECRET:BOOL=OFF
LIBSECRET_CMAKE_BOOL= USE_LIBSECRET
LTO_CMAKE_BOOL= RAWSPEED_ENABLE_LTO
LUA_USES= lua:54
LUA_CMAKE_OFF= -DUSE_LUA:BOOL=OFF
LUA_CMAKE_BOOL= USE_LUA
# FIXME: Even with NLS turned off, darktable(1) is still linked to
# libintl.so.
NLS_USES= gettext
NLS_USES_OFF= gettext-runtime
NLS_CMAKE_OFF= -DUSE_NLS:BOOL=OFF
NLS_CMAKE_BOOL= USE_NLS
NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \
libImath.so:math/Imath
OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath
OPENEXR_CMAKE_OFF= -DUSE_OPENEXR:BOOL=OFF
OPENEXR_CMAKE_BOOL= USE_OPENEXR
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
OPENJPEG_CMAKE_OFF= -DUSE_OPENJPEG:BOOL=OFF
OPENJPEG_CMAKE_BOOL= USE_OPENJPEG
PRINT_LIB_DEPENDS= libcups.so:print/cups
PRINT_CMAKE_OFF= -DBUILD_PRINT:BOOL=OFF
PRINT_CMAKE_BOOL= BUILD_PRINT
TOOLS_DESC= Install additional scripts
TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool
TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF
WEBP_CMAKE_BOOL= USE_WEBP
.include <bsd.port.options.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1640412869
SHA256 (darktable-3.8.0.tar.xz) = 2e65c7c78d074ad218e3ef7a8c3051a8ea78f4a0406386667859645e5e4bf705
SIZE (darktable-3.8.0.tar.xz) = 5415532
TIMESTAMP = 1644861000
SHA256 (darktable-3.8.1.tar.xz) = 81ee069054dbde580749b2d3a81cda01b7d169a82ba48731823f3ea560b2bef6
SIZE (darktable-3.8.1.tar.xz) = 5514756

View File

@ -6,8 +6,8 @@ bin/darktable-cmstest
bin/darktable-generate-cache
bin/darktable-rs-identify
lib/darktable/libdarktable.so
%%AVIF%%lib/darktable/plugins/imageio/format/libavif.so
lib/darktable/plugins/imageio/format/libcopy.so
%%LIBAVIF%%lib/darktable/plugins/imageio/format/libavif.so
%%OPENEXR%%lib/darktable/plugins/imageio/format/libexr.so
%%OPENJPEG%%lib/darktable/plugins/imageio/format/libj2k.so
lib/darktable/plugins/imageio/format/libjpeg.so
@ -414,6 +414,7 @@ share/icons/hicolor/scalable/apps/darktable.svg
%%NLS%%share/locale/hu/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/it/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/ja/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/nl/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/pl/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/sl/LC_MESSAGES/darktable.mo