aboutsummaryrefslogtreecommitdiff
path: root/x11/plasma5-plasma-desktop/Makefile
blob: b0ff6bf9e72979f00a7859f4802ca3b17ee46387 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
PORTNAME=	plasma-desktop
DISTVERSION=	${KDE_PLASMA_VERSION}
PORTREVISION=	1
CATEGORIES=	x11 kde kde-plasma

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Plasma5 plasma desktop

# TODO: update packagekit-qt5
#LIB_DEPENDS=    libpackagekit-qt.so:ports-mgmt/packagekit-qt5
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libxkbcommon.so:x11/libxkbcommon \
		libxcb-image.so:x11/xcb-util-image \
		libxcb-keysyms.so:x11/xcb-util-keysyms \
		libxcb-util.so:x11/xcb-util \
		libxkbfile.so:x11/libxkbfile
RUN_DEPENDS=	iso-codes>=0:misc/iso-codes \
		xf86-input-evdev>0:x11-drivers/xf86-input-evdev \
		xf86-input-libinput>0:x11-drivers/xf86-input-libinput \
		setxkbmap:x11/setxkbmap
BUILD_DEPENDS=	xf86-input-evdev>0:x11-drivers/xf86-input-evdev \
		xf86-input-synaptics>0:x11-drivers/xf86-input-synaptics \
		xf86-input-libinput>0:x11-drivers/xf86-input-libinput

USES=		cmake compiler:c++11-lib cpe desktop-file-utils gettext gnome \
		kde:5 pkgconfig python:3.5+,run qt:5 shebangfix tar:xz xorg
USE_GNOME=	glib20
USE_KDE=	activities activities-stats archive attica auth baloo \
		bookmarks codecs completion config configwidgets coreaddons \
		crash dbusaddons emoticons filemetadata globalaccel guiaddons \
		i18n iconthemes init itemmodels itemviews jobwidgets kcmutils \
		kdeclarative kdelibs4support kio libksysguard newstuff \
		notifications notifyconfig package parts people \
		plasma-framework plasma-workspace runner service solid sonnet \
		textwidgets unitconversion wallet widgetsaddons windowsystem \
		xmlgui \
		doctools_build ecm_build \
		drkonqi_run infocenter_run kde-cli-tools_run kmenuedit_run \
		ksysguard_run polkit-kde-agent-1_run systemsettings_run
USE_QT=		concurrent core dbus declarative gui network phonon4 \
		printsupport sql svg widgets x11extras xml \
		buildtools_build qmake_build
USE_XORG=	ice sm x11 xcb xcursor xext xfixes xft xi xrender

CPE_VENDOR=	kde

CMAKE_ON=	WANT_SYNAPTICS

SHEBANG_FILES=	kcms/ksmserver/kconf_update/*.py \
		kcms/keyboard/*.py

OPTIONS_SUB=	yes

OPTIONS_GROUP=		IM
OPTIONS_GROUP_IM=	IBUS SCIM
IM_DESC=		Input Method Support

IBUS_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_IBus
IBUS_LIB_DEPENDS=	libibus-1.0.so:textproc/ibus
IBUS_DESC=		Enable IBUS backend for input dialog
SCIM_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_SCIM
SCIM_LIB_DEPENDS=	libscim-1.0.so:textproc/scim
SCIM_DESC=		Enable SCIM backend for input dialog

post-patch:
# Set the correct iso-codes directory
	${REINPLACE_CMD} -e '/isoCodesXmlDir/ s#/usr/share#${LOCALBASE}/share#g' \
		${PATCH_WRKSRC}/kcms/keyboard/iso_codes.h

.include <bsd.port.mk>