freebsd-ports/x11/rofi/Makefile
Alexandre C. Guimarães 82bd953194
x11/rofi: Update to 1.7.3
- also update the x11/rofi-wayland SLAVEPORT
2022-02-16 16:12:32 -03:00

44 lines
1.2 KiB
Makefile

PORTNAME= rofi
DISTVERSION?= 1.7.3
PORTREVISION?= 0
CATEGORIES= x11
MAINTAINER= nomoo@nomoo.ru
COMMENT= Window switcher, run dialog and dmenu replacement
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>