summaryrefslogtreecommitdiff
path: root/x11-wm/plasma5-kwin/Makefile
blob: 0b2e61158cc82542f472db83a5350d17098a012e (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

PORTNAME=	kwin
DISTVERSION=	${KDE_PLASMA_VERSION}
PORTREVISION=	1
CATEGORIES=	x11-wm kde kde-plasma

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Plasma5 window manager

LICENSE=	GPLv2

LIB_DEPENDS=	libXcursor.so:x11/libXcursor \
		libdrm.so:graphics/libdrm \
		libepoxy.so:graphics/libepoxy \
		libepoll-shim.so:devel/libepoll-shim \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libinput.so:x11/libinput \
		libudev.so:devel/libudev-devd \
		libwayland-cursor.so:graphics/wayland \
		libxcb-cursor.so:x11/xcb-util-cursor \
		libxcb-icccm.so:x11/xcb-util-wm \
		libxcb-image.so:x11/xcb-util-image \
		libxcb-keysyms.so:x11/xcb-util-keysyms \
		libxkbcommon.so:x11/libxkbcommon
BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
		xwayland-devel>0:x11-servers/xwayland-devel
RUN_DEPENDS=	xwayland-devel>0:x11-servers/xwayland-devel

USES=		cmake compiler:c++11-lib cpe gettext gl gnome kde:5 pkgconfig python:3.5+,run \
		qt:5 shebangfix tar:xz xorg
USE_GL=		egl
USE_GNOME=	glib20
USE_KDE=	activities activities attica auth breeze codecs \
		completion config configwidgets coreaddons crash decoration \
		doctools doctools globalaccel i18n iconthemes idletime init \
		jobwidgets kcmutils kdeclarative kio kwayland-server kscreenlocker \
		newstuff notifications package plasma-framework service sonnet \
		textwidgets wayland widgetsaddons windowsystem xmlgui
USE_LDCONFIG=	yes
USE_QT=		concurrent core dbus declarative gui multimedia network script \
		sensors testlib uiplugin uitools widgets x11extras xml \
		buildtools_build qmake_build \
		quickcontrols2_run virtualkeyboard_run
USE_XORG=	ice sm x11 xcb xext xi
SHEBANG_FILES=	kconf_update/kwin-5.18-move-animspeed.py \
		kconf_update/kwinrules-5.19-placement.pl

post-patch:
	${REINPLACE_CMD} '/sysmacros.h/d' \
		${PATCH_WRKSRC}/logind.cpp

.include <bsd.port.mk>