freebsd-ports/x11/rofi/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

PORTNAME= rofi
DISTVERSION?= 1.7.3
PORTREVISION?= 0
CATEGORIES= x11
MAINTAINER= nomoo@nomoo.ru
COMMENT= Window switcher, run dialog and dmenu replacement
WWW= https://github.com/davatorium/rofi
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS+= libstartup-notification-1.so:x11/startup-notification \
libxcb-cursor.so:x11/xcb-util-cursor \
libxcb-ewmh.so:x11/xcb-util-wm \
libxcb-icccm.so:x11/xcb-util-wm \
libxcb-util.so:x11/xcb-util \
libxcb-xrm.so:x11/xcb-util-xrm \
libxkbcommon-x11.so:x11/libxkbcommon
USES= bison gnome meson pkgconfig shebangfix xorg
USE_GITHUB= yes # required by rofi-wayland
USE_GNOME= cairo gdkpixbuf2 librsvg2 pango
USE_XORG= xcb
GH_ACCOUNT?= davatorium
GH_TUPLE= sardemff7:libgwater:1db5b4b:libgwater/subprojects/libgwater \
sardemff7:libnkutils:d08fa89:libnkutils/subprojects/libnkutils
SHEBANG_FILES= script/get_git_rev.sh \
script/rofi-sensible-terminal
bash_CMD= /bin/sh
CONFLICTS_INSTALL?= ${PORTNAME}-wayland
OPTIONS_DEFINE= TEST
TEST_BUILD_DEPENDS= checkmk:devel/check
TEST_MESON_ENABLED= check
post-patch:
# Fix rofi-theme-selector which assumes we have GNU sed
@${REINPLACE_CMD} 's|$${SED} -i |$${SED} -i "" |' \
${WRKSRC}/script/rofi-theme-selector
.include <bsd.port.mk>