Upadate to 1.0.0-alpha3

In this release Hikari is switching from X11 to Wayland.

Submitted by:	ports_xanderio.de
Reviewed by:	jbeich, raichoo_googlemail.com
Differential Revision:	https://reviews.freebsd.org/D23544
This commit is contained in:
Mateusz Piotrowski 2020-02-12 12:13:31 +00:00
parent dd4df29a44
commit 1861007af0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525906
3 changed files with 34 additions and 55 deletions

View File

@ -1,67 +1,46 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= hikari PORTNAME= hikari
DISTVERSION= 0.1.3 DISTVERSION= 1.0.0-alpha3
PORTREVISION= 1
CATEGORIES= x11-wm CATEGORIES= x11-wm
MASTER_SITES= https://acmelabs.space/~raichoo/ MASTER_SITES= https://acmelabs.space/~raichoo/
MAINTAINER= alex@xanderio.de MAINTAINER= ports@xanderio.de
COMMENT= Stacking window manager with tiling capabilities COMMENT= Stacking Wayland compositor with tiling capabilities
LICENSE= BSD2CLAUSE LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libxcb-ewmh.so:x11/xcb-util-wm \ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
libxcb-icccm.so:x11/xcb-util-wm \ wayland-protocols>=1.14:graphics/wayland-protocols \
libxcb-keysyms.so:x11/xcb-util-keysyms wlroots>=0.9.0<0.11.0:x11-toolkits/wlroots
LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libinput.so:x11/libinput \
libucl.so:textproc/libucl \
libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c11 localbase:ldflags xorg USES= gnome pkgconfig xorg
USE_XORG= x11 xcb USE_GNOME= cairo glib20 pango
USE_XORG= pixman
ALL_TARGET= ${WITH_DEBUG:Ddebug}
PLIST_FILES= "${MAYBE_SUID}bin/${PORTNAME}" \
"${MAYBE_SUID}bin/${PORTNAME}-unlocker"
PORTEXAMPLES= ${PORTNAME}.conf
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= EXAMPLES SUID X11
OPTIONS_DEFAULT= SUID
NO_WRKSUBDIR= yes SUID_DESC= setuid bit on binaries (required for DRM and PAM)
SUB_FILES= hikari.desktop SUID_VARS= MAYBE_SUID="@(,,4755) "
SUB_LIST= COMMENT="${COMMENT}" X11_MAKE_ARGS= WITH_XWAYLAND=yes
PLIST_FILES= bin/hikari \
man/man1/hikari.1.gz \
share/xsessions/hikari.desktop
PORTDATA= config.def.h
PORTDOCS= README.md
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
ALL_TARGET= debug
.else
ALL_TARGET= hikari
.endif
pre-everything::
@${ECHO_MSG} "You can build hikari with your own config.h using the HIKARI_CONF knob:"
@${ECHO_MSG} "make HIKARI_CONF=/path/to/hikari/config.h install clean"
@${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h files may not work."
post-patch:
.if defined(HIKARI_CONF)
@${ECHO_MSG} "Creating config.h from ${HIKARI_CONF}"
@${LN} -sf ${HIKARI_CONF} ${WRKSRC}/config.h
.else
@${LN} -sf ${WRKSRC}/config.def.h ${WRKSRC}/config.h
.endif
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hikari ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/hikari ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/hikari.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ ${INSTALL_PROGRAM} ${WRKSRC}/hikari-unlocker ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDATA} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/doc/example_hikari.conf ${STAGEDIR}${EXAMPLESDIR}/hikari.conf
@${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions
${INSTALL_DATA} ${WRKDIR}/hikari.desktop ${STAGEDIR}${PREFIX}/share/xsessions
post-install-DOCS-on: .include <bsd.port.mk>
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1558731796 TIMESTAMP = 1581110939
SHA256 (hikari-0.1.3.tar.gz) = 703805682ccc586746d53fbd37890d7ca2366bc80b43ce3043f7245a41693ff2 SHA256 (hikari-1.0.0-alpha3.tar.gz) = 2d634066b5d4494233d0f1d6606691096a0e68f710bab47012f3fdb9e6b2c7ae
SIZE (hikari-0.1.3.tar.gz) = 58669 SIZE (hikari-1.0.0-alpha3.tar.gz) = 63974

View File

@ -1,5 +1,5 @@
Hikari is a stacking window manager with additional tiling capabilities, it is Hikari is a stacking Wayland compositor with additional tiling capabilities, it
heavily inspired by the Calm Window manager (cwm(1)). Its core concepts are is heavily inspired by the Calm Window manager (cwm(1)). Its core concepts are
windows, groups, sheets and the workspace. views, groups, sheets and the workspace.
WWW: https://hub.darcs.net/raichoo/hikari WWW: https://hub.darcs.net/raichoo/hikari