View | Details | Raw Unified | Return to bug 279275 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11/babl/Makefile (-14 / +39 lines)
Lines 1-5 Link Here
1
PORTNAME=	babl
1
PORTNAME=	babl
2
PORTVERSION=	0.1.108
2
DISTVERSION=	0.1.108
3
PORTREVISION=	1
3
CATEGORIES=	x11
4
CATEGORIES=	x11
4
MASTER_SITES=	GIMP
5
MASTER_SITES=	GIMP
5
6
Lines 12-36 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
12
13
13
LIB_DEPENDS=	liblcms2.so:graphics/lcms2
14
LIB_DEPENDS=	liblcms2.so:graphics/lcms2
14
15
15
USES=		gnome libtool localbase meson pathfix pkgconfig tar:xz vala:build
16
USES=		gnome meson pathfix pkgconfig tar:xz vala:build
16
17
USE_LDCONFIG=	yes
18
USE_GNOME=	introspection:build
17
USE_GNOME=	introspection:build
18
USE_LDCONFIG=	yes
19
19
20
MESON_ARGS=	-Dgi-docgen=disabled -Dwith-docs=false
20
MESON_ARGS=	-Dgi-docgen=disabled -Dwith-docs=false
21
21
22
OPTIONS_DEFINE=	SIMD
23
OPTIONS_DEFAULT_amd64=SIMD
24
OPTIONS_EXCLUDE_i386=SIMD
25
26
SIMD_MESON_OFF=	-Denable-mmx=false -Denable-sse=false \
27
		-Denable-sse2=false -Denable-sse4_1=false \
28
		-Denable-avx2=false -Denable-f16c=false
29
30
BABL_SHLIB=	0.207.1
22
BABL_SHLIB=	0.207.1
31
BABL_VER=	0.1
23
BABL_VER=	0.1
32
PLIST_SUB+=	BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER}
24
PLIST_SUB+=	BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER}
33
25
26
OPTIONS_DEFINE_amd64=	AVX2 F16C MMX SSE2 SSE41 SSE
27
OPTIONS_DEFINE_i386=	AVX2 F16C MMX SSE2 SSE41 SSE
28
OPTIONS_DEFAULT_amd64=	MMX SSE2 SSE
29
OPTIONS_DEFAULT_i386=	MMX
30
31
AVX2_DESC=		Use AVX2 optimized routines
32
F16C_DESC=		Use F16C optimized routines
33
SSE2_DESC=		Use SSE2 optimized routines
34
SSE41_DESC=		Use SSE4.1 optimized routines
35
36
AVX2_IMPLIES=		SSE41
37
AVX2_MESON_ON=		-Denable-avx2=true
38
AVX2_MESON_OFF=		-Denable-avx2=false
39
40
F16C_IMPLIES=		MMX
41
F16C_MESON_ON=		-Denable-f16c=true
42
F16C_MESON_OFF=		-Denable-f16c=false
43
44
MMX_MESON_ON=		-Denable-mmx=true
45
MMX_MESON_OFF=		-Denable-mmx=false
46
47
SSE2_IMPLIES=		SSE
48
SSE2_MESON_ON=		-Denable-sse2=true
49
SSE2_MESON_OFF=		-Denable-sse2=false
50
51
SSE41_IMPLIES=		SSE2
52
SSE41_MESON_ON=		-Denable-sse4_1=true
53
SSE41_MESON_OFF=	-Denable-sse4_1=false
54
55
SSE_IMPLIES=		MMX
56
SSE_MESON_ON=		-Denable-sse=true
57
SSE_MESON_OFF=		-Denable-sse=false
58
34
.include <bsd.port.options.mk>
59
.include <bsd.port.options.mk>
35
60
36
.if ${ARCH} == powerpc
61
.if ${ARCH} == powerpc
Lines 42-49 USES+= compiler:c11 Link Here
42
.include <bsd.port.pre.mk>
67
.include <bsd.port.pre.mk>
43
68
44
.if ${ARCH} == "amd64"
69
.if ${ARCH} == "amd64"
45
PLIST_SUB+=	AMD64="" ARM="@comment "
70
PLIST_SUB+=	AMD64=""          ARM="@comment "
46
.elif ${ARCH} == "armv6" || ${ARCH} == "armv7"
71
.elif ${ARCH} == "aarch64" || ${ARCH} == "armv6" || ${ARCH} == "armv7"
47
PLIST_SUB+=	AMD64="@comment " ARM=""
72
PLIST_SUB+=	AMD64="@comment " ARM=""
48
.else
73
.else
49
PLIST_SUB+=	AMD64="@comment " ARM="@comment "
74
PLIST_SUB+=	AMD64="@comment " ARM="@comment "

Return to bug 279275