MesaLib: Update to 19.2.7 This is a bugfix release. EGL platform selection was reworked so we have to move X11 to always be the first fallback because Mesa is apparently bad at detecting X11 now.diff -r1.178 -r1.179 pkgsrc/graphics/MesaLib/Makefile
(nia)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.178 2019/12/02 10:09:29 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.179 2019/12/08 13:07:20 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= mesa-19.2.4 | 3 | DISTNAME= mesa-19.2.7 | |
4 | PKGNAME= ${DISTNAME:S/mesa/MesaLib/} | 4 | PKGNAME= ${DISTNAME:S/mesa/MesaLib/} | |
5 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
6 | MASTER_SITES= https://mesa.freedesktop.org/archive/ | 6 | MASTER_SITES= https://mesa.freedesktop.org/archive/ | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= nia@NetBSD.org | 9 | MAINTAINER= nia@NetBSD.org | |
10 | HOMEPAGE= https://www.mesa3d.org/ | 10 | HOMEPAGE= https://www.mesa3d.org/ | |
11 | COMMENT= Open source OpenGL implementation | 11 | COMMENT= Open source OpenGL implementation | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | USE_TOOLS+= bison flex pkg-config xgettext | 14 | USE_TOOLS+= bison flex pkg-config xgettext | |
15 | USE_LANGUAGES= c99 c++14 | 15 | USE_LANGUAGES= c99 c++14 | |
16 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
@@ -18,47 +18,47 @@ USE_LIBTOOL= yes | @@ -18,47 +18,47 @@ USE_LIBTOOL= yes | |||
18 | # ERROR: C++ Compiler does not support -std=c++14 | 18 | # ERROR: C++ Compiler does not support -std=c++14 | |
19 | GCC_REQD+= 5 | 19 | GCC_REQD+= 5 | |
20 | 20 | |||
21 | USE_FEATURES+= strnlen | 21 | USE_FEATURES+= strnlen | |
22 | 22 | |||
23 | CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS | 23 | CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS | |
24 | CXXFLAGS.SunOS+= -Drestrict=__restrict__ | 24 | CXXFLAGS.SunOS+= -Drestrict=__restrict__ | |
25 | LDFLAGS.SunOS+= -lsocket -lnsl | 25 | LDFLAGS.SunOS+= -lsocket -lnsl | |
26 | 26 | |||
27 | # Some of these get appended in options.mk. | 27 | # Some of these get appended in options.mk. | |
28 | DRI_DRIVERS= # | 28 | DRI_DRIVERS= # | |
29 | GALLIUM_DRIVERS= swrast | 29 | GALLIUM_DRIVERS= swrast | |
30 | VULKAN_DRIVERS= # | 30 | VULKAN_DRIVERS= # | |
31 | MESA_PLATFORMS= surfaceless | 31 | MESA_PLATFORMS= # | |
32 | 32 | |||
33 | .include "../../mk/compiler.mk" | 33 | .include "../../mk/compiler.mk" | |
34 | .include "features.mk" | 34 | .include "features.mk" | |
35 | .include "options.mk" | 35 | .include "options.mk" | |
36 | 36 | |||
37 | PLIST_SUBST+= GLVER="1.2.0" | 37 | PLIST_SUBST+= GLVER="1.2.0" | |
38 | 38 | |||
39 | # classic DRI drivers | 39 | # classic DRI drivers | |
40 | PLIST_VARS+= i915 i965 r100 r200 nouveau_dri | 40 | PLIST_VARS+= i915 i965 r100 r200 nouveau_dri | |
41 | 41 | |||
42 | # Gallium drivers | 42 | # Gallium drivers | |
43 | PLIST_VARS+= r300 svga nouveau vc4 lima panfrost | 43 | PLIST_VARS+= r300 svga nouveau vc4 lima panfrost | |
44 | 44 | |||
45 | # other features | 45 | # other features | |
46 | PLIST_VARS+= kms vaapi | 46 | PLIST_VARS+= kms vaapi | |
47 | 47 | |||
48 | .if ${MESALIB_SUPPORTS_DRI} == "yes" | 48 | .if ${MESALIB_SUPPORTS_DRI} == "yes" | |
49 | BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.81 | 49 | BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.81 | |
50 | .include "../../x11/libdrm/buildlink3.mk" | 50 | .include "../../x11/libdrm/buildlink3.mk" | |
51 | MESA_PLATFORMS+= drm | 51 | MESA_PLATFORMS+= drm surfaceless | |
52 | MESON_ARGS+= -Degl=true | 52 | MESON_ARGS+= -Degl=true | |
53 | MESON_ARGS+= -Dgbm=true | 53 | MESON_ARGS+= -Dgbm=true | |
54 | MESON_ARGS+= -Dgallium-xa=true | 54 | MESON_ARGS+= -Dgallium-xa=true | |
55 | PLIST.kms= yes | 55 | PLIST.kms= yes | |
56 | . include "../../multimedia/libva/available.mk" | 56 | . include "../../multimedia/libva/available.mk" | |
57 | . if ${VAAPI_AVAILABLE} == "yes" | 57 | . if ${VAAPI_AVAILABLE} == "yes" | |
58 | MESON_ARGS+= -Dgallium-va=true | 58 | MESON_ARGS+= -Dgallium-va=true | |
59 | PLIST.vaapi= yes | 59 | PLIST.vaapi= yes | |
60 | . include "../../multimedia/libva/buildlink3.mk" | 60 | . include "../../multimedia/libva/buildlink3.mk" | |
61 | . else | 61 | . else | |
62 | MESON_ARGS+= -Dgallium-va=false | 62 | MESON_ARGS+= -Dgallium-va=false | |
63 | . endif | 63 | . endif | |
64 | . if !empty(MACHINE_ARCH:M*arm*) || \ | 64 | . if !empty(MACHINE_ARCH:M*arm*) || \ | |
@@ -99,26 +99,27 @@ DRI_DRIVERS+= nouveau | @@ -99,26 +99,27 @@ DRI_DRIVERS+= nouveau | |||
99 | #GALLIUM_DRIVERS+= virgl | 99 | #GALLIUM_DRIVERS+= virgl | |
100 | #PLIST.virgl= yes | 100 | #PLIST.virgl= yes | |
101 | . endif | 101 | . endif | |
102 | # theoretically cross platform PCI drivers | 102 | # theoretically cross platform PCI drivers | |
103 | . if empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && \ | 103 | . if empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && \ | |
104 | empty(MACHINE_PLATFORM:MNetBSD-*-mipsel) | 104 | empty(MACHINE_PLATFORM:MNetBSD-*-mipsel) | |
105 | DRI_DRIVERS+= r100 r200 | 105 | DRI_DRIVERS+= r100 r200 | |
106 | GALLIUM_DRIVERS+= r300 | 106 | GALLIUM_DRIVERS+= r300 | |
107 | PLIST.r100= yes | 107 | PLIST.r100= yes | |
108 | PLIST.r200= yes | 108 | PLIST.r200= yes | |
109 | PLIST.r300= yes | 109 | PLIST.r300= yes | |
110 | . endif | 110 | . endif | |
111 | .else | 111 | .else | |
112 | MESA_PLATFORMS+= surfaceless | |||
112 | MESON_ARGS+= -Degl=false | 113 | MESON_ARGS+= -Degl=false | |
113 | MESON_ARGS+= -Dgbm=false | 114 | MESON_ARGS+= -Dgbm=false | |
114 | .endif # ${MESALIB_SUPPORTS_DRI} == "yes" | 115 | .endif # ${MESALIB_SUPPORTS_DRI} == "yes" | |
115 | 116 | |||
116 | MESON_ARGS+= -Dgallium-drivers=${GALLIUM_DRIVERS:ts,} | 117 | MESON_ARGS+= -Dgallium-drivers=${GALLIUM_DRIVERS:ts,} | |
117 | MESON_ARGS+= -Ddri-drivers=${DRI_DRIVERS:ts,} | 118 | MESON_ARGS+= -Ddri-drivers=${DRI_DRIVERS:ts,} | |
118 | MESON_ARGS+= -Dvulkan-drivers=${VULKAN_DRIVERS:ts,} | 119 | MESON_ARGS+= -Dvulkan-drivers=${VULKAN_DRIVERS:ts,} | |
119 | MESON_ARGS+= -Dplatforms=${MESA_PLATFORMS:ts,} | 120 | MESON_ARGS+= -Dplatforms=${MESA_PLATFORMS:ts,} | |
120 | 121 | |||
121 | .if ${MACHINE_ARCH} == "i386" | 122 | .if ${MACHINE_ARCH} == "i386" | |
122 | MESON_ARGS+= -Dglx-read-only-text=true | 123 | MESON_ARGS+= -Dglx-read-only-text=true | |
123 | .endif | 124 | .endif | |
124 | 125 | |||
@@ -144,29 +145,27 @@ BUILDLINK_TRANSFORM+= rm:-Werror=return | @@ -144,29 +145,27 @@ BUILDLINK_TRANSFORM+= rm:-Werror=return | |||
144 | # ../src/intel/perf/gen_perf.c:426:7: error: %m is only allowed in syslog(3) like functions | 145 | # ../src/intel/perf/gen_perf.c:426:7: error: %m is only allowed in syslog(3) like functions | |
145 | BUILDLINK_TRANSFORM+= rm:-Werror=format | 146 | BUILDLINK_TRANSFORM+= rm:-Werror=format | |
146 | BUILDLINK_TRANSFORM+= rm:-Wformat-security | 147 | BUILDLINK_TRANSFORM+= rm:-Wformat-security | |
147 | 148 | |||
148 | # https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1853 | 149 | # https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1853 | |
149 | BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--build-id=sha1 | 150 | BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--build-id=sha1 | |
150 | 151 | |||
151 | # Work around Xorg segfaulting in radeon driver due to wrong alloca being used | 152 | # Work around Xorg segfaulting in radeon driver due to wrong alloca being used | |
152 | CFLAGS.NetBSD+= -Dalloca=__builtin_alloca | 153 | CFLAGS.NetBSD+= -Dalloca=__builtin_alloca | |
153 | CXXFLAGS.NetBSD+= -Dalloca=__builtin_alloca | 154 | CXXFLAGS.NetBSD+= -Dalloca=__builtin_alloca | |
154 | 155 | |||
155 | EGDIR= ${PREFIX}/share/examples/mesa | 156 | EGDIR= ${PREFIX}/share/examples/mesa | |
156 | 157 | |||
157 | OWN_DIRS= ${PKG_SYSCONFDIR}/drirc.d | 158 | CONF_FILES+= ${EGDIR}/00-mesa-defaults.conf ${PKG_SYSCONFDIR}/drirc | |
158 | CONF_FILES+= ${EGDIR}/00-mesa-defaults.conf \ | |||
159 | ${PKG_SYSCONFDIR}/drirc.d/00-mesa-defaults.conf | |||
160 | 159 | |||
161 | INSTALLATION_DIRS+= ${EGDIR} | 160 | INSTALLATION_DIRS+= ${EGDIR} | |
162 | 161 | |||
163 | PYTHON_FOR_BUILD_ONLY= tool | 162 | PYTHON_FOR_BUILD_ONLY= tool | |
164 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 163 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
165 | 164 | |||
166 | PKGCONFIG_OVERRIDE_STAGE= pre-install | 165 | PKGCONFIG_OVERRIDE_STAGE= pre-install | |
167 | PKGCONFIG_OVERRIDE+= output/meson-private/glesv1_cm.pc | 166 | PKGCONFIG_OVERRIDE+= output/meson-private/glesv1_cm.pc | |
168 | PKGCONFIG_OVERRIDE+= output/meson-private/glesv2.pc | 167 | PKGCONFIG_OVERRIDE+= output/meson-private/glesv2.pc | |
169 | PKGCONFIG_OVERRIDE+= output/meson-private/dri.pc | 168 | PKGCONFIG_OVERRIDE+= output/meson-private/dri.pc | |
170 | PKGCONFIG_OVERRIDE+= output/meson-private/gbm.pc | 169 | PKGCONFIG_OVERRIDE+= output/meson-private/gbm.pc | |
171 | PKGCONFIG_OVERRIDE+= output/meson-private/egl.pc | 170 | PKGCONFIG_OVERRIDE+= output/meson-private/egl.pc | |
172 | PKGCONFIG_OVERRIDE+= output/meson-private/osmesa.pc | 171 | PKGCONFIG_OVERRIDE+= output/meson-private/osmesa.pc |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | $NetBSD: distinfo,v 1.144 2019/11/29 10:34:13 jperkin Exp $ | 1 | $NetBSD: distinfo,v 1.145 2019/12/08 13:07:20 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (mesa-19.2.4.tar.xz) = 85cc1b57840f14d720f806f8160356b8c9b13a7f | 3 | SHA1 (mesa-19.2.7.tar.xz) = 9b8ebf66770353a48bd710e12e2727fb33645f44 | |
4 | RMD160 (mesa-19.2.4.tar.xz) = f2c7d454fb67cc27bf28de3ea4f5c85979523e96 | 4 | RMD160 (mesa-19.2.7.tar.xz) = 5323b623ac22c168b86548cf6d842ce004e346a9 | |
5 | SHA512 (mesa-19.2.4.tar.xz) = e8a0e90460f3153d730f8fb13f2c912a9826c05d2af9e22dc575bcd8885bf6a33c0af1c6659e81701ff097a132df88eead208e89dceb552b9da809ab543fa479 | 5 | SHA512 (mesa-19.2.7.tar.xz) = 87a82664381432e956ee23dc92bec5accf667606232e38d9458d67132c16fdc44584f65671293b83f00c58ad7742b80e942a5d1bd66d457705be60aaaf35395b | |
6 | Size (mesa-19.2.4.tar.xz) = 11458340 bytes | 6 | Size (mesa-19.2.7.tar.xz) = 11460812 bytes | |
7 | SHA1 (patch-include_c11_threads__posix.h) = e1dca04b5c514d20123ef99338c6dabedbc14c5f | 7 | SHA1 (patch-include_c11_threads__posix.h) = e1dca04b5c514d20123ef99338c6dabedbc14c5f | |
8 | SHA1 (patch-src_amd_common_ac__debug.c) = 8233367c3b5bc344442ea8d19488fdd1e3791ae9 | 8 | SHA1 (patch-src_amd_common_ac__debug.c) = 8233367c3b5bc344442ea8d19488fdd1e3791ae9 | |
9 | SHA1 (patch-src_compiler_builtin__type__macros.h) = e4868011711fb89a293580a12eb603b8e7162336 | 9 | SHA1 (patch-src_compiler_builtin__type__macros.h) = e4868011711fb89a293580a12eb603b8e7162336 | |
10 | SHA1 (patch-src_compiler_glsl_glsl__parser__extras.cpp) = ef114d6e288e6d212fce9d1c0606f7d454a171c4 | 10 | SHA1 (patch-src_compiler_glsl_glsl__parser__extras.cpp) = ef114d6e288e6d212fce9d1c0606f7d454a171c4 | |
11 | SHA1 (patch-src_egl_drivers_dri2_platform__x11.c) = 49e48c31eacb79d1da357fe70eaffd2926b5280e | 11 | SHA1 (patch-src_egl_drivers_dri2_platform__x11.c) = 49e48c31eacb79d1da357fe70eaffd2926b5280e | |
12 | SHA1 (patch-src_egl_main_eglglobals.c) = 0d52014f52e62fc5fa6650336ddb0011ecf331e6 | 12 | SHA1 (patch-src_egl_main_eglglobals.c) = 0d52014f52e62fc5fa6650336ddb0011ecf331e6 | |
13 | SHA1 (patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c) = f913b779404e6bd8ae707a4fd66eb7c1dca9b311 | 13 | SHA1 (patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c) = f913b779404e6bd8ae707a4fd66eb7c1dca9b311 | |
14 | SHA1 (patch-src_gallium_auxiliary_rbug_rbug__texture.c) = 57d831b1001419191a27c05d9cb7734481372d27 | 14 | SHA1 (patch-src_gallium_auxiliary_rbug_rbug__texture.c) = 57d831b1001419191a27c05d9cb7734481372d27 | |
15 | SHA1 (patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c) = 04f95784c3270c9bb7e95377982e217962481525 | 15 | SHA1 (patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c) = 04f95784c3270c9bb7e95377982e217962481525 | |
16 | SHA1 (patch-src_gallium_drivers_nouveau_nv50_nv84__video.c) = 1b4239fe053523835ecac006894bdb0cde0ee626 | 16 | SHA1 (patch-src_gallium_drivers_nouveau_nv50_nv84__video.c) = 1b4239fe053523835ecac006894bdb0cde0ee626 | |
17 | SHA1 (patch-src_gallium_drivers_radeonsi_si__state__shaders.c) = 2a6fb80e2dd8c19a73c1ae9c037e7b1769ca100f | 17 | SHA1 (patch-src_gallium_drivers_radeonsi_si__state__shaders.c) = 2a6fb80e2dd8c19a73c1ae9c037e7b1769ca100f | |
18 | SHA1 (patch-src_gallium_drivers_vc4_vc4__bufmgr.c) = 1d591d346486fdf58893f69ab92a272e6a31a987 | 18 | SHA1 (patch-src_gallium_drivers_vc4_vc4__bufmgr.c) = 1d591d346486fdf58893f69ab92a272e6a31a987 | |
19 | SHA1 (patch-src_gallium_include_pipe_p__config.h) = f4e38eac66167b619c30076bb0144dd716310967 | 19 | SHA1 (patch-src_gallium_include_pipe_p__config.h) = f4e38eac66167b619c30076bb0144dd716310967 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: options.mk,v 1.76 2019/10/21 20:47:55 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.77 2019/12/08 13:07:20 nia Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib | |
4 | 4 | |||
5 | .include "features.mk" | 5 | .include "features.mk" | |
6 | 6 | |||
7 | PKG_SUPPORTED_OPTIONS+= llvm vulkan x11 | 7 | PKG_SUPPORTED_OPTIONS+= llvm vulkan x11 | |
8 | 8 | |||
9 | .if ${MESALIB_SUPPORTS_DRI} == "yes" | 9 | .if ${MESALIB_SUPPORTS_DRI} == "yes" | |
10 | PKG_SUPPORTED_OPTIONS+= wayland | 10 | PKG_SUPPORTED_OPTIONS+= wayland | |
11 | .endif | 11 | .endif | |
12 | 12 | |||
13 | PKG_SUGGESTED_OPTIONS+= x11 | 13 | PKG_SUGGESTED_OPTIONS+= x11 | |
14 | 14 | |||
@@ -58,36 +58,26 @@ GALLIUM_DRIVERS+= radeonsi | @@ -58,36 +58,26 @@ GALLIUM_DRIVERS+= radeonsi | |||
58 | MESON_ARGS+= -Dllvm=false | 58 | MESON_ARGS+= -Dllvm=false | |
59 | .endif | 59 | .endif | |
60 | 60 | |||
61 | # | 61 | # | |
62 | # Vulkan support - experimental | 62 | # Vulkan support - experimental | |
63 | # | 63 | # | |
64 | .if !empty(PKG_OPTIONS:Mvulkan) | 64 | .if !empty(PKG_OPTIONS:Mvulkan) | |
65 | MESON_ARGS+= -Dvulkan-drivers="auto" | 65 | MESON_ARGS+= -Dvulkan-drivers="auto" | |
66 | .else | 66 | .else | |
67 | MESON_ARGS+= -Dvulkan-drivers="" | 67 | MESON_ARGS+= -Dvulkan-drivers="" | |
68 | .endif | 68 | .endif | |
69 | 69 | |||
70 | # | 70 | # | |
71 | # Wayland support | |||
72 | # | |||
73 | .if !empty(PKG_OPTIONS:Mwayland) | |||
74 | MESA_PLATFORMS+= wayland | |||
75 | PLIST.wayland= yes | |||
76 | . include "../../devel/wayland/buildlink3.mk" | |||
77 | . include "../../devel/wayland-protocols/buildlink3.mk" | |||
78 | .endif | |||
79 | ||||
80 | # | |||
81 | # X11 support | 71 | # X11 support | |
82 | # | 72 | # | |
83 | .if !empty(PKG_OPTIONS:Mx11) | 73 | .if !empty(PKG_OPTIONS:Mx11) | |
84 | MESA_PLATFORMS+= x11 | 74 | MESA_PLATFORMS+= x11 | |
85 | PLIST.glx= yes | 75 | PLIST.glx= yes | |
86 | . if ${MESALIB_SUPPORTS_DRI} == "yes" | 76 | . if ${MESALIB_SUPPORTS_DRI} == "yes" | |
87 | MESON_ARGS+= -Dglx=dri | 77 | MESON_ARGS+= -Dglx=dri | |
88 | . include "../../multimedia/libvdpau/available.mk" | 78 | . include "../../multimedia/libvdpau/available.mk" | |
89 | . if ${VDPAU_AVAILABLE} == "yes" | 79 | . if ${VDPAU_AVAILABLE} == "yes" | |
90 | MESON_ARGS+= -Dgallium-vdpau=true | 80 | MESON_ARGS+= -Dgallium-vdpau=true | |
91 | PLIST.vdpau= yes | 81 | PLIST.vdpau= yes | |
92 | . include "../../multimedia/libvdpau/buildlink3.mk" | 82 | . include "../../multimedia/libvdpau/buildlink3.mk" | |
93 | . else | 83 | . else | |
@@ -98,13 +88,23 @@ MESON_ARGS+= -Dgallium-vdpau=false | @@ -98,13 +88,23 @@ MESON_ARGS+= -Dgallium-vdpau=false | |||
98 | . include "../../x11/libXdamage/buildlink3.mk" | 88 | . include "../../x11/libXdamage/buildlink3.mk" | |
99 | . include "../../x11/libXext/buildlink3.mk" | 89 | . include "../../x11/libXext/buildlink3.mk" | |
100 | . include "../../x11/libXfixes/buildlink3.mk" | 90 | . include "../../x11/libXfixes/buildlink3.mk" | |
101 | . include "../../x11/libXrandr/buildlink3.mk" | 91 | . include "../../x11/libXrandr/buildlink3.mk" | |
102 | . include "../../x11/libXxf86vm/buildlink3.mk" | 92 | . include "../../x11/libXxf86vm/buildlink3.mk" | |
103 | . include "../../x11/libxcb/buildlink3.mk" | 93 | . include "../../x11/libxcb/buildlink3.mk" | |
104 | . include "../../x11/libxshmfence/buildlink3.mk" | 94 | . include "../../x11/libxshmfence/buildlink3.mk" | |
105 | . include "../../x11/xcb-proto/buildlink3.mk" | 95 | . include "../../x11/xcb-proto/buildlink3.mk" | |
106 | . include "../../x11/xorgproto/buildlink3.mk" | 96 | . include "../../x11/xorgproto/buildlink3.mk" | |
107 | .else | 97 | .else | |
108 | MESON_ARGS+= -Dglx=disabled | 98 | MESON_ARGS+= -Dglx=disabled | |
109 | MESON_ARGS+= -Dgallium-vdpau=false | 99 | MESON_ARGS+= -Dgallium-vdpau=false | |
110 | .endif | 100 | .endif | |
101 | ||||
102 | # | |||
103 | # Wayland support | |||
104 | # | |||
105 | .if !empty(PKG_OPTIONS:Mwayland) | |||
106 | MESA_PLATFORMS+= wayland | |||
107 | PLIST.wayland= yes | |||
108 | . include "../../devel/wayland/buildlink3.mk" | |||
109 | . include "../../devel/wayland-protocols/buildlink3.mk" | |||
110 | .endif |