320e7828a9
Changes: https://github.com/Firstbober/wapanel/releases/tag/1.1.0 Reported by: GitHub (watch releases)
35 lines
915 B
Makefile
35 lines
915 B
Makefile
PORTNAME= wapanel
|
|
DISTVERSION= 1.1.0
|
|
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>
|