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

DISTNAME =	pixman-0.44.0

SHARED_LIBS =	pixman-1 44.0

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
.endif
.if ${MACHINE_ARCH} != riscv64
CONFIGURE_ARGS +=	-Drvv=disabled
.endif

.include <bsd.port.mk>