aboutsummaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/Makefile
blob: f533d2c37458ed2b9e454399c981a5f5cb9d49e2 (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
PORTNAME=	kphotoalbum
DISTVERSION=	5.8.1
CATEGORIES=	graphics kde
MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTVERSION}/
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Image viewer and organizer for KDE

LICENSE=	GPLv2+

LIB_DEPENDS=	libexiv2.so:graphics/exiv2 \
		libexpat.so:textproc/expat2 \
		libKF5KDcraw.so:graphics/libkdcraw \
		libKF5Kipi.so:graphics/libkipi

USES=		cmake compiler:c++11-lang desktop-file-utils jpeg kde:5 \
		pkgconfig qt:5 shebangfix tar:xz
USE_KDE=	archive auth codecs completion config \
		configwidgets coreaddons ecm i18n \
		iconthemes jobwidgets kio marble purpose service \
		solid sonnet textwidgets widgetsaddons windowsystem xmlgui
USE_QT=		concurrent core dbus declarative gui location network phonon4 \
		printsupport sql webchannel widgets xml \
		buildtools_build qmake_build
SHEBANG_FILES=	scripts/open-raw.pl scripts/kpa-backup.sh

OPTIONS_DEFINE=	WEBENGINE
OPTIONS_DEFAULT_amd64=	WEBENGINE
OPTIONS_DEFAULT_i386=	WEBENGINE

WEBENGINE_DESC=	Add dependency on qt5-webengine
WEBENGINE_USE=	QT=webengine

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MWEBENGINE}
DEPRECATED=	Uses EOL Python 2.7 via www/qt5-webengine
EXPIRATION_DATE=2021-06-23
.endif

.include <bsd.port.mk>