1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11-wm/phoc/Makefile
2020-08-08 00:51:13 +00:00

38 lines
981 B
Makefile

# $FreeBSD$
PORTNAME= phoc
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.2
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 xorg
USE_GITLAB= yes
USE_GL= glesv2
USE_GNOME= gnomedesktop3
USE_XORG= pixman
GL_SITE= https://source.puri.sm
GL_ACCOUNT= Librem5
GL_COMMIT= 0be2173791e709e8d07d5916ad12adbba614a799
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>