aboutsummaryrefslogtreecommitdiff
path: root/graphics/xviewer/Makefile
blob: 5359fb045700202cf2228eb3abb9ecfc0251accd (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	xviewer
PORTVERSION=	3.0.2
PORTREVISION=	1
CATEGORIES=	graphics gnome
DIST_SUBDIR=	gnome

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Fast and functional image viewer

LICENSE=	GPLv2+

PORTSCOUT=	limit:^[0-9.]+$$	# ignore master.mint* tags

BUILD_DEPENDS=	${LOCALBASE}/share/aclocal/gtk-doc.m4:textproc/gtk-doc \
		intltool-update:textproc/intltool \
		itstool:textproc/itstool \
		${LOCALBASE}/share/aclocal/yelp.m4:textproc/yelp-tools
LIB_DEPENDS=	libcinnamon-desktop.so:x11/cinnamon-desktop \
		libxapp.so:x11/xapp \
		libpeas-1.0.so:devel/libpeas
RUN_DEPENDS=	yelp:x11/yelp

USES=		autoreconf compiler:c++11-lang desktop-file-utils gettext-tools \
		gmake gnome libtool localbase pkgconfig xorg
GNU_CONFIGURE=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	linuxmint
USE_GNOME=	atk cairo gdkpixbuf2 gtk30 introspection pango
USE_XORG=	x11
GLIB_SCHEMAS=	org.x.viewer.enums.xml org.x.viewer.gschema.xml

OPTIONS_DEFINE=	JPEG LCMS2 LIBEXIF LIBRSVG2 XMP
OPTIONS_DEFAULT=	JPEG LCMS2 LIBEXIF LIBRSVG2 XMP
XMP_DESC=	Adobe Extensible Metadata Platform support
OPTIONS_SUB=	yes

JPEG_USES=		jpeg
JPEG_CONFIGURE_OFF=	--without-libjpeg

LCMS2_LIB_DEPENDS=	liblcms2.so:graphics/lcms2
LCMS2_CONFIGURE_OFF=	--without-cms

LIBEXIF_LIB_DEPENDS=	libexif.so:graphics/libexif
LIBEXIF_CONFIGURE_OFF=	--without-libexif

LIBRSVG2_USE=		GNOME=librsvg2
LIBRSVG2_CONFIGURE_OFF=	--without-librsvg

XMP_LIB_DEPENDS=	libexempi.so:textproc/exempi
XMP_CONFIGURE_OFF=	--without-xmp

.include <bsd.port.mk>