1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

x11/wapanel: add new port

Simple panel/status bar/task bar for your custom stacking
Wayland-based desktop.

Features:
- Good configurability
- Config hot reload
- Exposed API for writing custom applets
- Custom themes with CSS

https://firstbober.github.io/wapanel/
This commit is contained in:
Jan Beich 2021-04-23 06:00:30 +00:00
parent 5e5077f7d5
commit 87d2395554
5 changed files with 66 additions and 0 deletions

View File

@ -369,6 +369,7 @@
SUBDIR += virtboard
SUBDIR += virtualgl
SUBDIR += wallutils
SUBDIR += wapanel
SUBDIR += waybar
SUBDIR += wayland-logout
SUBDIR += wbar

35
x11/wapanel/Makefile Normal file
View File

@ -0,0 +1,35 @@
PORTNAME= wapanel
DISTVERSION= 1.0.2
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Desktop bar for Wayfire and other wlroots compositors
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= toml11>0:devel/toml11 \
wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
USES= compiler:c++17-lang gnome meson pkgconfig
USE_GITHUB= yes
USE_GNOME= gdkpixbuf2 gtk30
GH_ACCOUNT= Firstbober
MESON_ARGS= -Dsystem_toml11=true
OPTIONS_DEFINE= PULSEAUDIO
OPTIONS_DEFAULT=PULSEAUDIO
OPTIONS_SUB= yes
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_MESON_TRUE= volume-control
post-patch:
# Respect PREFIX for *.desktop
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/src/applets/task-switcher/task_switcher.cc \
${WRKSRC}/thirdparty/xdgpp/xdg.hpp
.include <bsd.port.mk>

3
x11/wapanel/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1619157630
SHA256 (Firstbober-wapanel-1.0.2_GH0.tar.gz) = ef6844a3a437a86e8dada9ba561b96475211cd662438467df92a194696fb1b16
SIZE (Firstbober-wapanel-1.0.2_GH0.tar.gz) = 905639

10
x11/wapanel/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Simple panel/status bar/task bar for your custom stacking
Wayland-based desktop.
Features:
- Good configurability
- Config hot reload
- Exposed API for writing custom applets
- Custom themes with CSS
WWW: https://firstbober.github.io/wapanel/

17
x11/wapanel/pkg-plist Normal file
View File

@ -0,0 +1,17 @@
bin/wapanel
include/wapanel-appletapi/appletapi.h
lib/libwapanel-appletapi.a
lib/wapanel/applets/libwapanel-applet-activator.so
lib/wapanel/applets/libwapanel-applet-app-finder.so
lib/wapanel/applets/libwapanel-applet-clock.so
lib/wapanel/applets/libwapanel-applet-separator.so
lib/wapanel/applets/libwapanel-applet-task-switcher.so
%%PULSEAUDIO%%lib/wapanel/applets/libwapanel-applet-volume-control.so
libdata/pkgconfig/wapanel-appletapi.pc
%%DATADIR%%/3RD_PARTY_LICENSES
%%DATADIR%%/icons/hicolor/scalable/actions/wapa-account.svg
%%DATADIR%%/icons/hicolor/scalable/actions/wapa-cog.svg
%%DATADIR%%/icons/hicolor/scalable/actions/wapa-folder.svg
%%DATADIR%%/icons/hicolor/scalable/apps/wapa-logo-nocolor-dark.svg
%%DATADIR%%/wapanel.css
%%DATADIR%%/wapanel.toml