blob: e7e371b8b32c9c4233c636d9e447e86524abeded (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
PORTNAME= xarcan
DISTVERSION= 0.6.0
CATEGORIES= x11-servers
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 2be9063af666.patch:-p1 # https://github.com/letoram/xarcan/pull/8
MAINTAINER= jbeich@FreeBSD.org
COMMENT= X11 server as Arcan client
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libarcan_shmif_ext.so:multimedia/arcan
RUN_DEPENDS= xkbcomp:x11/xkbcomp \
xkeyboard-config>0:x11/xkeyboard-config
USES= compiler:c11 gl meson pkgconfig xorg
USE_GITHUB= yes
USE_GL= gbm gl
USE_XORG= pixman xau xdmcp xfont2 xkbfile xshmfence xtrans
GH_ACCOUNT= letoram
MESON_ARGS= -D${PORTNAME}=true \
-Dxorg=false \
-Dxnest=false \
-Dxvfb=false \
-Dxwayland=false \
-Dudev=false \
-Dudev_kms=false \
-Ddefault_font_path="${DEFAULT_FONTPATH_LIST:ts,}"
PLIST_FILES= bin/Xarcan
# Keep in sync with xorg-server
FONTPATH_ROOT?= ${LOCALBASE}/share/fonts
FONTPATHD?= ${PREFIX}/etc/X11/fontpath.d
DEFAULT_FONTPATH_LIST= \
${FONTPATH_ROOT}/misc/ \
${FONTPATH_ROOT}/TTF/ \
${FONTPATH_ROOT}/OTF/ \
${FONTPATH_ROOT}/Type1/ \
${FONTPATH_ROOT}/100dpi/ \
${FONTPATH_ROOT}/75dpi/ \
catalogue:${FONTPATHD}
do-install:
# XXX Prevent Meson from installing unrelated files
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hw/kdrive/arcan/Xarcan \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|