summaryrefslogtreecommitdiff
path: root/wayland/wlroots/Makefile
blob: 7509f967c3f9f14a5a72cb04c0a103b683b79832 (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
54
55
56
57
58
59
60
COMMENT = A modular Wayland compositor library

V = 20230715
PKGNAME = wlroots-$V
CATEGORIES = wayland

MASTER_SITES = https://gitlab.freedesktop.org/mherrb/wlroots/-/archive/wlroots-obsd-$V/
DISTFILES = wlroots-wlroots-obsd-${V}${EXTRACT_SUFX}

HOMEPAGE = https://gitlab.freedesktop.org/wlroots

# MIT
PERMIT_PACKAGE =        Yes

SHARED_LIBS +=  wlroots                   0.0 # 0.0

WRKSRC = ${WRKDIR}/wlroots-wlroots-obsd-${V}

MODULES = devel/meson

WANTLIB += EGL GLESv2 drm gbm m pixman-1
WANTLIB += display-info liftoff udev
WANTLIB += input seat
WANTLIB += vulkan wayland-client wayland-server
WANTLIB += xcb xcb-composite xcb-dri3 xcb-errors xcb-ewmh
WANTLIB += xcb-icccm xcb-present xcb-render xcb-render-util
WANTLIB += xcb-res xcb-shm xcb-xfixes xcb-xinput
WANTLIB += xkbcommon

BUILD_DEPENDS = \
		devel/ninja \
		graphics/cairo \
		graphics/ffmpeg \
		graphics/glslang \
		graphics/png \
		graphics/vulkan-headers \
		misc/hwdata \
		wayland/wayland-protocols \
		wayland/xwayland

LIB_DEPENDS = \
		devel/libinput-openbsd \
		graphics/libliftoff \
		graphics/vulkan-loader \
		sysutils/libdisplay-info \
		sysutils/libudev-openbsd \
		sysutils/seatd \
		wayland/wayland \
		x11/xcb-util-errors \
		x11/xkbcommon

RUN_DEPENDS = \
		graphics/cairo \
		graphics/ffmpeg \
		graphics/png \
		wayland/xwayland

DEBUG_PACKAGES = ${BUILD_PACKAGES}

.include <bsd.port.mk>