summaryrefslogtreecommitdiffstats
path: root/graphics/glamor/Makefile
blob: ae0c175dffaa71f298b8926098c4a580c8cb7cb7 (plain) (blame)
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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   glamor-egl
PORTVERSION=    0.6.0
CATEGORIES= graphics

MAINTAINER= kwm@FreeBSD.org
COMMENT=    2D graphics common driver for the X Window System

LIB_DEPENDS=    libdrm.so:${PORTSDIR}/graphics/libdrm

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USES=       pathfix pkgconfig
USE_GL=     gl egl
XORG_CAT=       driver
XORG=       server pixman

# needs libgbm >=9
CONFIGURE_ARGS+=--disable-glamor-dri3
# needs libglesv2
CONFIGURE_ARGS+=--disable-glamor-gles2

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libglamor.so.0
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xorg/modules/libglamoregl.so

.include <bsd.port.mk>