blob: 56e3fb4fb0bed0d940bfb6fd4f38121f93c96a1d (
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
|
PORTNAME= phoc
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.0
CATEGORIES= x11-wm
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Phone compositor
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
LIB_DEPENDS= libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots \
libinput.so:x11/libinput \
libxkbcommon.so:x11/libxkbcommon
RUN_DEPENDS= ${LOCALBASE}/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml:x11-wm/mutter
USES= compiler:c11 gl gnome meson pkgconfig python:build shebangfix xorg
USE_GITLAB= yes
USE_GL= glesv2
USE_GNOME= gnomedesktop3
USE_XORG= pixman xcb
GL_SITE= https://source.puri.sm
GL_ACCOUNT= Librem5
GL_COMMIT= f26fa0123742ba95d303ad552fc1f8d2d0117288
SHEBANG_FILES= build-aux/post_install.py
CFLAGS+= -Wno-error=format-nonliteral # clang
PLIST_FILES= bin/${PORTNAME}
GLIB_SCHEMAS= sm.puri.phoc.gschema.xml
post-extract:
# Avoid confusing Meson instead of forcing -Dembed-wlroots=disabled
@${RMDIR} ${WRKSRC}/subprojects/wlroots
.include <bsd.port.mk>
|