2020-07-17 01:31:42 +02:00
|
|
|
PORTNAME= nwg-launchers
|
|
|
|
DISTVERSIONPREFIX= v
|
2022-10-24 15:57:52 +02:00
|
|
|
DISTVERSION= 0.7.1
|
2022-07-20 12:29:44 +02:00
|
|
|
CATEGORIES= x11 wayland
|
2020-07-17 01:31:42 +02:00
|
|
|
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
|
|
COMMENT= GTK-based launchers: application grid, button bar, dmenu for sway and other window managers
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/nwg-piotr/nwg-launchers
|
2020-07-17 01:31:42 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2020-07-29 14:40:39 +02:00
|
|
|
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
|
2020-07-17 01:31:42 +02:00
|
|
|
|
|
|
|
USES= compiler:c++17-lang gnome meson pkgconfig
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USE_GNOME= gtkmm30
|
|
|
|
GH_ACCOUNT= nwg-piotr
|
|
|
|
|
2021-09-23 07:32:09 +02:00
|
|
|
OPTIONS_DEFINE= GLS
|
|
|
|
OPTIONS_DEFAULT=GLS
|
2021-07-19 19:10:29 +02:00
|
|
|
|
|
|
|
GLS_DESC= Layer-shell support
|
|
|
|
GLS_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
|
|
|
|
GLS_MESON_ENABLED= layer-shell
|
|
|
|
|
2020-07-17 01:38:12 +02:00
|
|
|
post-patch:
|
|
|
|
# Respect PREFIX when looking for .desktop files
|
2021-07-19 21:25:29 +02:00
|
|
|
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
|
2021-07-19 19:10:29 +02:00
|
|
|
${WRKSRC}/common/nwg_classes.cc \
|
2020-09-17 02:38:07 +02:00
|
|
|
${WRKSRC}/grid/grid_tools.cc
|
2020-07-17 01:38:12 +02:00
|
|
|
|
2020-07-17 01:31:42 +02:00
|
|
|
.include <bsd.port.mk>
|