1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/x11-wm/phoc/Makefile
2021-01-07 00:20:58 +00:00

39 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= phoc
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.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= bfd96f36872fa869ef8d2572a6d0dff91584e5ef
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>