summaryrefslogtreecommitdiff
path: root/graphics/pixman/Makefile
blob: cc2b18aef415a09a634891034f7a391049360d6f (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
COMMENT =	low-level software library for pixel manipulation

DISTNAME =	pixman-0.43.4

SHARED_LIBS =	pixman-1 43.4

CATEGORIES =	graphics

HOMEPAGE =	https://www.pixman.org/

MAINTAINER =	xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB =		m

SITES =			https://cairographics.org/releases/

MODULES =		devel/meson xenocara

SEPARATE_BUILD =	Yes

CONFIGURE_ARGS +=	-Dopenmp=disabled -Ddemos=disabled \
			-Dtests=disabled -Dlibpng=disabled

.if ${MACHINE_ARCH} != mips
CONFIGURE_ARGS += 	-Dloongson-mmi=disabled \
			-Dmips-dspr2=disabled
.endif
.if ${MACHINE_ARCH} != powerpc
CONFIGURE_ARGS +=	-Dvmx=disabled
.endif
.if ${MACHINE_ARCH} != arm
CONFIGURE_ARGS +=	-Darm-simd=disabled \
			-Dneon=disabled \
			-Da64-neon=disabled \
			-Diwmmxt=disabled
.endif

.include <bsd.port.mk>