Lines 30-36
Link Here
|
30 |
|
30 |
|
31 |
LICENSE= MIT |
31 |
LICENSE= MIT |
32 |
|
32 |
|
33 |
ONLY_FOR_ARCHS= amd64 i386 |
33 |
ONLY_FOR_ARCHS= amd64 i386 powerpc64 |
34 |
ONLY_FOR_ARCHS_REASON= Limited scope: no old drivers and no software rendering. \ |
34 |
ONLY_FOR_ARCHS_REASON= Limited scope: no old drivers and no software rendering. \ |
35 |
See also https://mesamatrix.net/ |
35 |
See also https://mesamatrix.net/ |
36 |
BROKEN_DragonFly= requires making Vulkan support conditional |
36 |
BROKEN_DragonFly= requires making Vulkan support conditional |
Lines 48-56
Link Here
|
48 |
BINARY_ALIAS= llvm-config=llvm-config${LLVM_DEFAULT} python=${PYTHON_CMD} |
48 |
BINARY_ALIAS= llvm-config=llvm-config${LLVM_DEFAULT} python=${PYTHON_CMD} |
49 |
SHEBANG_FILES= src/vulkan/overlay-layer/${PORTNAME}-overlay-control.py |
49 |
SHEBANG_FILES= src/vulkan/overlay-layer/${PORTNAME}-overlay-control.py |
50 |
PLATFORMS= ${PORT_OPTIONS:MX11:tl} ${PORT_OPTIONS:MWAYLAND:tl} drm surfaceless |
50 |
PLATFORMS= ${PORT_OPTIONS:MX11:tl} ${PORT_OPTIONS:MWAYLAND:tl} drm surfaceless |
51 |
MESON_ARGS= -Ddri-drivers=i965 \ |
51 |
MESON_ARGS= -Dgallium-omx=disabled \ |
52 |
-Dgallium-drivers=iris,r600,radeonsi \ |
|
|
53 |
-Dgallium-omx=disabled \ |
54 |
-Dgallium-opencl=disabled \ |
52 |
-Dgallium-opencl=disabled \ |
55 |
-Dgallium-va=false \ |
53 |
-Dgallium-va=false \ |
56 |
-Dgallium-vdpau=false \ |
54 |
-Dgallium-vdpau=false \ |
Lines 72-77
Link Here
|
72 |
|
70 |
|
73 |
OPTIONS_DEFINE= LIBUNWIND VAAPI VDPAU WAYLAND X11 ZSTD |
71 |
OPTIONS_DEFINE= LIBUNWIND VAAPI VDPAU WAYLAND X11 ZSTD |
74 |
OPTIONS_DEFAULT= LIBUNWIND VAAPI VDPAU WAYLAND X11 ZSTD |
72 |
OPTIONS_DEFAULT= LIBUNWIND VAAPI VDPAU WAYLAND X11 ZSTD |
|
|
73 |
OPTIONS_EXCLUDE_powerpc64= LIBUNWIND |
75 |
OPTIONS_SUB= yes |
74 |
OPTIONS_SUB= yes |
76 |
|
75 |
|
77 |
LIBUNWIND_DESC= Use libunwind for stacktraces |
76 |
LIBUNWIND_DESC= Use libunwind for stacktraces |
Lines 95-100
Link Here
|
95 |
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd |
94 |
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd |
96 |
ZSTD_MESON_TRUE= zstd |
95 |
ZSTD_MESON_TRUE= zstd |
97 |
|
96 |
|
|
|
97 |
.include <bsd.port.options.mk> |
98 |
|
99 |
.if ${ARCH} == powerpc64 |
100 |
MESON_ARGS+= -Ddri-drivers= \ |
101 |
-Dgallium-drivers=r600,radeonsi \ |
102 |
-Dvulkan-drivers=amd |
103 |
PLIST_SUB+= PPC64="@comment " |
104 |
.else |
105 |
MESON_ARGS+= -Ddri-drivers=i965 \ |
106 |
-Dgallium-drivers=iris,r600,radeonsi |
107 |
PLIST_SUB+= PPC64="" |
108 |
.endif |
109 |
|
98 |
post-patch: |
110 |
post-patch: |
99 |
# Extract (snapshot) version from the port instead of empty string |
111 |
# Extract (snapshot) version from the port instead of empty string |
100 |
@${REINPLACE_CMD} '/MESA_GIT_SHA1/s/""/" (git-${DISTVERSIONSUFFIX:C/.*-g//})"/' \ |
112 |
@${REINPLACE_CMD} '/MESA_GIT_SHA1/s/""/" (git-${DISTVERSIONSUFFIX:C/.*-g//})"/' \ |