svn commit: r542477 - in head/x11-wm: . phoc
Jan Beich
jbeich at FreeBSD.org
Sat Jul 18 03:20:37 UTC 2020
Author: jbeich
Date: Sat Jul 18 03:20:36 2020
New Revision: 542477
URL: https://svnweb.freebsd.org/changeset/ports/542477
Log:
x11-wm/phoc: add new port
wlroots-based Phone compositor as used on the Librem5.
https://source.puri.sm/Librem5/phoc
Added:
head/x11-wm/phoc/
head/x11-wm/phoc/Makefile (contents, props changed)
head/x11-wm/phoc/distinfo (contents, props changed)
head/x11-wm/phoc/pkg-descr (contents, props changed)
Modified:
head/x11-wm/Makefile (contents, props changed)
Modified: head/x11-wm/Makefile
==============================================================================
--- head/x11-wm/Makefile Sat Jul 18 02:21:52 2020 (r542476)
+++ head/x11-wm/Makefile Sat Jul 18 03:20:36 2020 (r542477)
@@ -86,6 +86,7 @@
SUBDIR += peksystray
SUBDIR += pekwm
SUBDIR += phluid
+ SUBDIR += phoc
SUBDIR += picom
SUBDIR += piewm
SUBDIR += plasma5-kdecoration
Added: head/x11-wm/phoc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/phoc/Makefile Sat Jul 18 03:20:36 2020 (r542477)
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+PORTNAME= phoc
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4.0
+CATEGORIES= x11-wm
+
+PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
+PATCHFILES+= c7bbf4fcf917.diff:-p1 # https://source.puri.sm/Librem5/phoc/-/merge_requests/153
+PATCHFILES+= 8e132eb25297.diff:-p1 # https://source.puri.sm/Librem5/phoc/-/merge_requests/153
+
+MAINTAINER= jbeich at 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= cfc76a129d0b51c1f04f8eee73ef82a37ef9d769
+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
+.if defined(PATCHFILES) && ${PATCHFILES:Mc7bbf4fcf917*}
+# Pretend to be a regular file for vendor patch to apply as is
+ @${ECHO_CMD} "Subproject commit 59f7adfe2977c3cb27a8def72c0d9fc2f2926c6d" \
+ >${WRKSRC}/subprojects/wlroots
+.endif
+
+.include <bsd.port.mk>
Added: head/x11-wm/phoc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/phoc/distinfo Sat Jul 18 03:20:36 2020 (r542477)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1593529103
+SHA256 (Librem5-phoc-cfc76a129d0b51c1f04f8eee73ef82a37ef9d769_GL0.tar.gz) = b7ead12ffaac0027c3c713240a239c2a2e13486e3d74791e58494c9643dbfb44
+SIZE (Librem5-phoc-cfc76a129d0b51c1f04f8eee73ef82a37ef9d769_GL0.tar.gz) = 132198
+SHA256 (c7bbf4fcf917.diff) = 5cfa281265b1c583ca8e8ee3e996e1f37f7297601e3a269ea18af22a52116a40
+SIZE (c7bbf4fcf917.diff) = 872
+SHA256 (8e132eb25297.diff) = 7c159cb218ba70be36175b2b4789e409302a1a5c9eb8163d69df9a147f86c8c4
+SIZE (8e132eb25297.diff) = 1348
Added: head/x11-wm/phoc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/phoc/pkg-descr Sat Jul 18 03:20:36 2020 (r542477)
@@ -0,0 +1,4 @@
+Phoc aims to be a Wayland compositor targeted at mobile phones but
+also works for desktops and tablets.
+
+WWW: https://source.puri.sm/Librem5/phoc
More information about the svn-ports-all
mailing list