mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
x11-wm/phoc: move bundled wlroots to -phosh flavor
Partially revert4ea852fab0
after79c3c08148
. Other consumers may not need Phosh-specific changes from PureOS, and system wlroots helps debugging bundled version.
This commit is contained in:
parent
3504ad16ed
commit
855b2e5034
2 changed files with 13 additions and 0 deletions
|
@ -19,6 +19,8 @@ LIB_DEPENDS= libwayland-server.so:graphics/wayland \
|
||||||
libxkbcommon.so:x11/libxkbcommon
|
libxkbcommon.so:x11/libxkbcommon
|
||||||
RUN_DEPENDS= ${LOCALBASE}/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml:x11-wm/mutter
|
RUN_DEPENDS= ${LOCALBASE}/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml:x11-wm/mutter
|
||||||
|
|
||||||
|
FLAVORS= default phosh
|
||||||
|
|
||||||
USES= compiler:c11 gl gnome meson pkgconfig python:build shebangfix xorg
|
USES= compiler:c11 gl gnome meson pkgconfig python:build shebangfix xorg
|
||||||
USE_GITLAB= yes
|
USE_GITLAB= yes
|
||||||
USE_GL= glesv2
|
USE_GL= glesv2
|
||||||
|
@ -32,5 +34,16 @@ CFLAGS+= -Wno-error=format-nonliteral # clang
|
||||||
PLIST_FILES= bin/${PORTNAME}
|
PLIST_FILES= bin/${PORTNAME}
|
||||||
GLIB_SCHEMAS= sm.puri.phoc.gschema.xml
|
GLIB_SCHEMAS= sm.puri.phoc.gschema.xml
|
||||||
|
|
||||||
|
.if ${FLAVOR:U} == phosh
|
||||||
|
PKGNAMESUFFIX= -${FLAVOR}
|
||||||
|
COMMENT+= (with patched wlroots from PureOS)
|
||||||
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-private-wlroots
|
||||||
|
CONFLICTS_INSTALL= ${PORTNAME}
|
||||||
.include "${.CURDIR}/Makefile.wlroots"
|
.include "${.CURDIR}/Makefile.wlroots"
|
||||||
|
.else
|
||||||
|
COMMENT+= (with system wlroots)
|
||||||
|
CONFLICTS_INSTALL= ${PORTNAME}-phosh
|
||||||
|
.include "${.CURDIR:H:H}/x11-toolkits/wlroots015/override.mk"
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue