git: a3001778c69f - main - graphics/timg: update to 1.5.1

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 24 Jul 2023 11:31:33 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3001778c69f01b8a8317ee28d9cc4480aabaecc

commit a3001778c69f01b8a8317ee28d9cc4480aabaecc
Author:     Zsolt Udvari <uzsolt@uzsolt.hu>
AuthorDate: 2023-07-23 17:04:28 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-07-24 11:31:22 +0000

    graphics/timg: update to 1.5.1
    
    ChangeLog: https://github.com/hzeller/timg/releases/tag/v1.5.1
    
    PR:             272677
    Reported by:    uzsolt@uzsolt.hu (maintainer)
---
 graphics/timg/Makefile | 10 ++++++----
 graphics/timg/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/graphics/timg/Makefile b/graphics/timg/Makefile
index 7d272909fd26..359f529acda3 100644
--- a/graphics/timg/Makefile
+++ b/graphics/timg/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	timg
-PORTVERSION=	1.4.5
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+DISTVERSION=	1.5.1
 CATEGORIES=	graphics
 
 MAINTAINER=	uzsolt@uzsolt.hu
@@ -9,13 +8,16 @@ COMMENT=	Terminal Image and Video Viewer
 WWW=		https://github.com/hzeller/timg
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	pkgconf>0:devel/pkgconf \
 		ffmpeg>0:multimedia/ffmpeg
 LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg \
+		libdeflate.so:archivers/libdeflate \
 		libexif.so:graphics/libexif \
 		libGraphicsMagick.so:graphics/GraphicsMagick \
 		libpng.so:graphics/png \
+		libsixel.so:graphics/libsixel \
 		libturbojpeg.so:graphics/libjpeg-turbo
 
 USES=		cmake compiler:c++11-lang
@@ -24,8 +26,8 @@ GH_ACCOUNT=	hzeller
 
 # timg requires libavutil, contained in multimedia/ffmpeg
 # isn't splitted libavcodec, libavutil, etc.
-CMAKE_ON+=	WITH_VIDEO_DECODING WITH_VIDEO_DEVICE
-CMAKE_OFF+=	TIMG_VERSION_FROM_GIT WITH_OPENSLIDE_SUPPORT
+CMAKE_ON=	WITH_VIDEO_DECODING WITH_VIDEO_DEVICE
+CMAKE_OFF=	TIMG_VERSION_FROM_GIT WITH_OPENSLIDE_SUPPORT
 
 PLIST_FILES=	bin/timg share/man/man1/timg.1.gz
 
diff --git a/graphics/timg/distinfo b/graphics/timg/distinfo
index 7bcc910dc0a9..72bd2d991dd3 100644
--- a/graphics/timg/distinfo
+++ b/graphics/timg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672864873
-SHA256 (hzeller-timg-v1.4.5_GH0.tar.gz) = 3c96476ce4ba2af4b9f639c5b59ded77ce1a4511551a04555ded105f14398e01
-SIZE (hzeller-timg-v1.4.5_GH0.tar.gz) = 1123650
+TIMESTAMP = 1690117158
+SHA256 (hzeller-timg-v1.5.1_GH0.tar.gz) = ac8905e4615d964eee6b014b9ff3413160cfc5b73f547e91736bc06c928ac811
+SIZE (hzeller-timg-v1.5.1_GH0.tar.gz) = 1154997