aboutsummaryrefslogtreecommitdiff
path: root/graphics/shotwell/Makefile
blob: 0af626f535f5808fc472d9a1e630fda0499d6780 (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
55
PORTNAME=	shotwell
PORTVERSION=	0.32.6
CATEGORIES=	graphics gnome
MASTER_SITES=	GNOME

MAINTAINER=	cmt@FreeBSD.org
COMMENT=	Open source photo manager for GNOME
WWW=		https://wiki.gnome.org/Apps/Shotwell

LICENSE=	LGPL21+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	itstool:textproc/itstool
LIB_DEPENDS=	libportal.so:deskutils/libportal \
		libportal-gtk3.so:deskutils/libportal-gtk3 \
		libgio-2.0.so:devel/glib20 \
		libjson-glib-1.0.so:devel/json-glib \
		libgee-0.8.so:devel/libgee \
		libsoup-3.0.so:devel/libsoup3 \
		libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \
		libgexiv2.so:graphics/gexiv2 \
		libexif.so:graphics/libexif \
		libgphoto2.so:graphics/libgphoto2 \
		libraw.so:graphics/libraw \
		libwebp.so:graphics/webp \
		libgcr-ui-3.so:security/gcr \
		libsecret-1.so:security/libsecret \
		libxml2.so:textproc/libxml2

USES=		compiler:c++11-lib cpe desktop-file-utils gettext gnome gstreamer meson \
		ninja pkgconfig python:build sqlite tar:xz vala:build xorg
CPE_VENDOR=	gnome
USE_GNOME=	cairo gtk30
USE_LDCONFIG=	yes
USE_XORG=	x11

MESON_ARGS=	-Dudev=false \
		-Dpublishers=flickr,gallery3,googlephotos,piwigo,tumblr,youtube
PORTSCOUT=	limitw:1,even
MAKE_JOBS_UNSAFE=	yes

OPTIONS_DEFINE=	FACED
OPTIONS_SUB=	yes

FACED_DESC=	Face Detection

FACED_CONFIGURE_ON=	-Dface_detection=true
FACED_CONFIGURE_OFF=	-Dface_detection=false -Dface_detection_helper=true
FACED_LIB_DEPENDS=	libopencv_core.so:graphics/opencv

PLIST_SUB=	DISTVERSION=${DISTVERSION}

GLIB_SCHEMAS=	org.yorba.shotwell.gschema.xml org.yorba.shotwell-extras.gschema.xml

.include <bsd.port.mk>