blob: 277d9948eef3927490f3e7d78d2b483fb2c36ecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= wmenu
DISTVERSION= 0.1.4
CATEGORIES= x11 wayland
MASTER_SITES= https://git.sr.ht/~adnano/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= o.hushchenkov@gmail.com
COMMENT= Efficient dynamic menu for Wayland
WWW= https://sr.ht/~adnano/wmenu/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= scdoc:textproc/scdoc \
wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c11 gnome meson pkgconfig
USE_GNOME= cairo pango
# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
# https://cgit.freebsd.org/src/commit/?id=af93fea71038
.if !exists(/usr/include/sys/timerfd.h)
LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
CPPFLAGS+= `pkg-config --cflags epoll-shim`
LDFLAGS+= `pkg-config --libs epoll-shim`
.endif
PLIST_FILES= bin/wmenu \
man/man1/wmenu.1.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE
.endif
.include <bsd.port.mk>
|