mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
6e65b4ee05
Changes: https://github.com/nwg-piotr/nwg-launchers/releases/tag/v0.6.0 Changes: https://github.com/nwg-piotr/nwg-launchers/releases/tag/v0.6.1 Reported by: GitHub (watch releases)
37 lines
898 B
Makefile
37 lines
898 B
Makefile
PORTNAME= nwg-launchers
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.6.1
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= GTK-based launchers: application grid, button bar, dmenu for sway and other window managers
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
|
|
|
|
USES= compiler:c++17-lang gnome meson pkgconfig
|
|
USE_GITHUB= yes
|
|
USE_GNOME= gtkmm30
|
|
GH_ACCOUNT= nwg-piotr
|
|
|
|
OPTIONS_DEFINE= GLS LIBRSVG2
|
|
OPTIONS_DEFAULT=GLS LIBRSVG2
|
|
OPTIONS_SUB= yes
|
|
|
|
GLS_DESC= Layer-shell support
|
|
GLS_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
|
|
GLS_MESON_ENABLED= layer-shell
|
|
|
|
LIBRSVG2_USE= GNOME=librsvg2
|
|
LIBRSVG2_MESON_ENABLED= support-svg
|
|
|
|
post-patch:
|
|
# Respect PREFIX when looking for .desktop files
|
|
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
|
|
${WRKSRC}/common/nwg_classes.cc \
|
|
${WRKSRC}/grid/grid_tools.cc
|
|
|
|
.include <bsd.port.mk>
|