mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
47705c393a
ChangeLog: https://github.com/davatorium/rofi/releases/tag/1.7.5 PR: 276605 Reported by: freebsd@robertwahlberg.se Approved by: nomoo@nomoo.ru (maintainer, timeout > 2 weeks)
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
PORTNAME= rofi
|
|
DISTVERSION?= 1.7.5
|
|
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:555fa6d: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>
|