summaryrefslogtreecommitdiff
path: root/graphics/timg/Makefile
blob: 745db06e0ef51079fe03ce79504d9b6f561e9b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

PORTNAME=	timg
PORTVERSION=	1.2.0
DISTVERSIONPREFIX=	v
CATEGORIES=	graphics

MAINTAINER=	uzsolt@uzsolt.hu
COMMENT=	Terminal Image and Video Viewer

LICENSE=	GPLv2

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=		cmake compiler:c++11-lang
USE_GITHUB=	yes
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

PLIST_FILES=	bin/timg man/man1/timg.1.gz

.include <bsd.port.mk>