svn commit: r568461 - in head/graphics/timg: . files

Fernando Apesteguía fernape at FreeBSD.org
Mon Mar 15 14:40:29 UTC 2021


Author: fernape
Date: Mon Mar 15 14:40:28 2021
New Revision: 568461
URL: https://svnweb.freebsd.org/changeset/ports/568461

Log:
  graphics/timg: update to 1.2.0
  
  ChangeLog: https://github.com/hzeller/timg/releases/tag/v1.2.0
  
  PR:	254304
  Submitted by:	uzsolt at uzsolt.hu (maintainer)

Deleted:
  head/graphics/timg/files/
Modified:
  head/graphics/timg/Makefile
  head/graphics/timg/distinfo
  head/graphics/timg/pkg-descr

Modified: head/graphics/timg/Makefile
==============================================================================
--- head/graphics/timg/Makefile	Mon Mar 15 14:26:13 2021	(r568460)
+++ head/graphics/timg/Makefile	Mon Mar 15 14:40:28 2021	(r568461)
@@ -1,27 +1,32 @@
 # $FreeBSD$
 
 PORTNAME=	timg
-PORTVERSION=	0.9.8
+PORTVERSION=	1.2.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	graphics
 
 MAINTAINER=	uzsolt at uzsolt.hu
-COMMENT=	Terminal Image Viewer
+COMMENT=	Terminal Image and Video Viewer
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libMagick++-6.so:graphics/ImageMagick6
+BUILD_DEPENDS=	pkgconf>0:devel/pkgconf \
+		ffmpeg>0:multimedia/ffmpeg
+LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg \
+		libexif.so:graphics/libexif \
+		libGraphicsMagick.so:graphics/GraphicsMagick \
+		libpng16.so:graphics/png \
+		libturbojpeg.so:graphics/libjpeg-turbo
 
-USES=		compiler:c++11-lang gmake
+USES=		cmake compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	hzeller
 
-ALL_TARGET=	${PORTNAME}
-WRKSRC_SUBDIR=	src
+# 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
 
-PLIST_FILES=	bin/timg
-
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+PLIST_FILES=	bin/timg man/man1/timg.1.gz
 
 .include <bsd.port.mk>

Modified: head/graphics/timg/distinfo
==============================================================================
--- head/graphics/timg/distinfo	Mon Mar 15 14:26:13 2021	(r568460)
+++ head/graphics/timg/distinfo	Mon Mar 15 14:40:28 2021	(r568461)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1593323068
-SHA256 (hzeller-timg-v0.9.8_GH0.tar.gz) = 436e2c3b5f43e906786ca150d11e521281d558329a7bc00198fe30d6907ee8c4
-SIZE (hzeller-timg-v0.9.8_GH0.tar.gz) = 92611
+TIMESTAMP = 1615796137
+SHA256 (hzeller-timg-v1.2.0_GH0.tar.gz) = b0fa8b4571247833167b73d6fe5aab733160c09f56389b97c9e516d0f0f2a5de
+SIZE (hzeller-timg-v1.2.0_GH0.tar.gz) = 1024378

Modified: head/graphics/timg/pkg-descr
==============================================================================
--- head/graphics/timg/pkg-descr	Mon Mar 15 14:26:13 2021	(r568460)
+++ head/graphics/timg/pkg-descr	Mon Mar 15 14:40:28 2021	(r568461)
@@ -1,9 +1,10 @@
-timg - Terminal Image Viewer
+timg - Terminal Image and Video Viewer
 
-A viewer that uses 24-Bit color capabilities and unicode
-character blocks to display images in the terminal.
-Displays regular images, plays animated gifs or allows to
-scroll static images.
+A user-friendly viewer that uses 24-Bit color capabilities
+and unicode character blocks to display images, animations
+and videos in the terminal.
+Displays regular images, plays animated gifs, scrolls
+static images and plays videos.
 
 Very useful for if you want to have a quick visual check
 without starting a bulky image viewer or in an SSH session.


More information about the svn-ports-head mailing list