mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
x11-wm/cage-devel: add new port
Supports wayvnc, uses wlroots 0.16 and wlr_scene API.
This commit is contained in:
parent
688aaad750
commit
9bca641885
@ -14,6 +14,7 @@
|
||||
SUBDIR += bspwm
|
||||
SUBDIR += bspwm-devel
|
||||
SUBDIR += cage
|
||||
SUBDIR += cage-devel
|
||||
SUBDIR += cagebreak
|
||||
SUBDIR += chamfer
|
||||
SUBDIR += compiz
|
||||
|
47
x11-wm/cage-devel/Makefile
Normal file
47
x11-wm/cage-devel/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
PORTNAME= cage
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.1.4-54
|
||||
DISTVERSIONSUFFIX= -gbd5b20e
|
||||
CATEGORIES= x11-wm wayland
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
||||
PATCHFILES+= 638d4fb71555.patch:-p1 # https://github.com/cage-kiosk/cage/pull/148
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
COMMENT= Wayland kiosk (development snapshot)
|
||||
WWW= https://www.hjdskes.nl/projects/cage/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
|
||||
wayland-protocols>=1.14:graphics/wayland-protocols \
|
||||
wlroots>=0.16.0:x11-toolkits/wlroots
|
||||
LIB_DEPENDS= libwayland-server.so:graphics/wayland \
|
||||
libwlroots.so:x11-toolkits/wlroots \
|
||||
libxkbcommon.so:x11/libxkbcommon
|
||||
|
||||
USES= compiler:c11 meson pkgconfig
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= cage-kiosk
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
CONFLICTS_INSTALL= ${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= MANPAGES X11
|
||||
OPTIONS_DEFAULT=MANPAGES X11
|
||||
|
||||
MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc
|
||||
MANPAGES_MESON_ENABLED= man-pages
|
||||
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
|
||||
|
||||
X11_MESON_TRUE= xwayland
|
||||
|
||||
post-patch:
|
||||
# Extract (snapshot) version from the port instead of meson.build
|
||||
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
|
||||
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
|
||||
${WRKSRC}/meson.build
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11-wm/cage-devel/distinfo
Normal file
5
x11-wm/cage-devel/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
TIMESTAMP = 1675207597
|
||||
SHA256 (cage-kiosk-cage-v0.1.4-54-gbd5b20e_GH0.tar.gz) = 8e1bb0539fa8eaeaa28db587ba606a0669e4345e29fade6e2fc9dad6c400bddf
|
||||
SIZE (cage-kiosk-cage-v0.1.4-54-gbd5b20e_GH0.tar.gz) = 22354
|
||||
SHA256 (638d4fb71555.patch) = 0730b618e248a453284df9c0d01378f3e3e16c8c4b453b2a8629a4b41f02cc65
|
||||
SIZE (638d4fb71555.patch) = 2232
|
6
x11-wm/cage-devel/pkg-descr
Normal file
6
x11-wm/cage-devel/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Cage is a kiosk compositor for Wayland. A kiosk is a window manager
|
||||
(in the X11 world) or compositor (in the Wayland world) that is
|
||||
designed for a user experience wherein user interaction and activities
|
||||
outside the scope of the running application are prevented. That is, a
|
||||
kiosk compositor displays a single maximized application at a time and
|
||||
prevents the user from interacting with anything but this application.
|
@ -30,6 +30,8 @@ USE_XORG= pixman
|
||||
GH_ACCOUNT= cage-kiosk
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
CONFLICTS_INSTALL= ${PORTNAME}-devel
|
||||
|
||||
OPTIONS_DEFINE= MANPAGES X11
|
||||
OPTIONS_DEFAULT=MANPAGES X11
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user