2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2015 Alexander Pyhalov
13 # Copyright 2024 Till Wegmueller
16 set name=pkg.fmri value=pkg:/x11/library/mesa@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.summary value="$(COMPONENT_SUMMARY)"
18 set name=info.classification value="org.opensolaris.category.2008:System/X11"
19 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
20 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
21 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
23 license mesa.license license='Mesa License (Mixed: MIT, LGPLv2, others)'
25 # our setup of gl libraries does not allow pkgdepend to find them
26 <transform file -> add pkg.depend.bypass-generate libGL\.so\.1>
28 # suppress the pkglint for dri modules we place in the xservers load path
29 <transform file path=usr/lib/xorg/modules/dri.* -> add pkg.linted.userland.action001.2 true>
31 # For several libraries we create direct links
32 link path=usr/X11/lib/mesa target=../../lib/mesa
33 link path=usr/lib/GL/$(MACH64)/libglapi.so.0 target=libglapi.so.0.0.0
34 link path=usr/lib/GL/$(MACH64)/libglapi.so target=libglapi.so.0
35 link path=usr/lib/GL/$(MACH64)/libglapi.so.0.0.0 target=../../mesa/$(MACH64)/libglapi.so.0.0.0
37 link path=usr/lib/$(MACH64)/libGL.so.1 target=../GL/$(MACH64)/libGL.so.1 pkg.linted.userland.action002.0=true
38 link path=usr/lib/$(MACH64)/libGL.so target=libGL.so.1
40 link path=usr/lib/$(MACH64)/libglapi.so.0 target=libglapi.so.0.0.0
41 link path=usr/lib/$(MACH64)/libglapi.so target=libglapi.so.0
42 link path=usr/lib/$(MACH64)/libglapi.so.0.0.0 target=../GL/$(MACH64)/libglapi.so.0.0.0
44 link path=usr/lib/GL/$(MACH64)/libgbm.so.1.0.0 target=../../mesa/$(MACH64)/libgbm.so.1.0.0
45 link path=usr/lib/GL/$(MACH64)/libgbm.so target=libgbm.so.1.0.0
46 link path=usr/lib/GL/$(MACH64)/libgbm.so.1 target=libgbm.so.1.0.0
47 link path=usr/lib/$(MACH64)/libgbm.so.1.0.0 target=../GL/$(MACH64)/libgbm.so.1.0.0
48 link path=usr/lib/$(MACH64)/libgbm.so target=libgbm.so.1.0.0
49 link path=usr/lib/$(MACH64)/libgbm.so.1 target=libgbm.so.1.0.0
52 link path=usr/X11/lib/$(MACH64)/libglapi.so.0 target=libglapi.so.0.0.0
53 link path=usr/X11/lib/$(MACH64)/libglapi.so target=libglapi.so.0
54 link path=usr/X11/lib/$(MACH64)/libglapi.so.0.0.0 target=../GL/$(MACH64)/libglapi.so.0.0.0 pkg.linted.userland.action002.0=true
56 # libGLU has moved to x11/library/glu
57 depend fmri=pkg:/x11/library/glu@9.0.0 type=require
59 # Runtime links are provided by ogl-select
60 depend fmri=pkg:/service/opengl/ogl-select type=require
62 # Some headers are provided by x11-protocols package
63 depend facet.devel=true fmri=pkg:/x11/header/x11-protocols type=require
65 # .pc files should be found in /usr/lib
66 link path=usr/lib/$(MACH64)/pkgconfig/dri.pc target=../../mesa/$(MACH64)/pkgconfig/dri.pc
67 link path=usr/lib/$(MACH64)/pkgconfig/egl.pc target=../../mesa/$(MACH64)/pkgconfig/egl.pc
68 link path=usr/lib/$(MACH64)/pkgconfig/gbm.pc target=../../mesa/$(MACH64)/pkgconfig/gbm.pc
69 link path=usr/lib/$(MACH64)/pkgconfig/gl.pc target=../../mesa/$(MACH64)/pkgconfig/gl.pc
70 link path=usr/lib/$(MACH64)/pkgconfig/glesv1_cm.pc target=../../mesa/$(MACH64)/pkgconfig/glesv1_cm.pc
71 link path=usr/lib/$(MACH64)/pkgconfig/glesv2.pc target=../../mesa/$(MACH64)/pkgconfig/glesv2.pc
72 link path=usr/lib/$(MACH64)/pkgconfig/osmesa.pc target=../../mesa/$(MACH64)/pkgconfig/osmesa.pc
73 link path=usr/lib/$(MACH64)/pkgconfig/xatracker.pc target=../../mesa/$(MACH64)/pkgconfig/xatracker.pc
75 file path=usr/include/EGL/egl.h
76 file path=usr/include/EGL/eglext.h
77 file path=usr/include/EGL/eglextchromium.h
78 file path=usr/include/EGL/eglmesaext.h
79 file path=usr/include/EGL/eglplatform.h
80 file path=usr/include/GLES/egl.h
81 file path=usr/include/GLES/gl.h
82 file path=usr/include/GLES/glext.h
83 file path=usr/include/GLES/glplatform.h
84 file path=usr/include/GLES2/gl2.h
85 file path=usr/include/GLES2/gl2ext.h
86 file path=usr/include/GLES2/gl2platform.h
87 file path=usr/include/GLES3/gl3.h
88 file path=usr/include/GLES3/gl31.h
89 file path=usr/include/GLES3/gl32.h
90 file path=usr/include/GLES3/gl3ext.h
91 file path=usr/include/GLES3/gl3platform.h
92 file path=usr/include/KHR/khrplatform.h
93 file path=usr/include/gbm.h
94 file path=usr/include/mesa/gl.h
95 file path=usr/include/mesa/glcorearb.h
96 file path=usr/include/mesa/glext.h
97 file path=usr/include/mesa/glx.h
98 file path=usr/include/mesa/glxext.h
99 file path=usr/include/mesa/internal/dri_interface.h
100 file path=usr/include/mesa/osmesa.h
101 file path=usr/include/xa_composite.h
102 file path=usr/include/xa_context.h
103 file path=usr/include/xa_tracker.h
104 link path=usr/lib/mesa/$(MACH64)/libEGL.so target=libEGL.so.1
105 link path=usr/lib/mesa/$(MACH64)/libEGL.so.1 target=libEGL.so.1.0.0
106 file path=usr/lib/mesa/$(MACH64)/libEGL.so.1.0.0
107 link path=usr/lib/mesa/$(MACH64)/libGL.so target=libGL.so.1
108 link path=usr/lib/mesa/$(MACH64)/libGL.so.1 target=libGL.so.1.2.0
109 file path=usr/lib/mesa/$(MACH64)/libGL.so.1.2.0
110 link path=usr/lib/mesa/$(MACH64)/libGLESv1_CM.so target=libGLESv1_CM.so.1
111 link path=usr/lib/mesa/$(MACH64)/libGLESv1_CM.so.1 target=libGLESv1_CM.so.1.1.0
112 file path=usr/lib/mesa/$(MACH64)/libGLESv1_CM.so.1.1.0
113 link path=usr/lib/mesa/$(MACH64)/libGLESv2.so target=libGLESv2.so.2
114 link path=usr/lib/mesa/$(MACH64)/libGLESv2.so.2 target=libGLESv2.so.2.0.0
115 file path=usr/lib/mesa/$(MACH64)/libGLESv2.so.2.0.0
116 link path=usr/lib/mesa/$(MACH64)/libOSMesa.so target=libOSMesa.so.8
117 link path=usr/lib/mesa/$(MACH64)/libOSMesa.so.8 target=libOSMesa.so.8.0.0
118 file path=usr/lib/mesa/$(MACH64)/libOSMesa.so.8.0.0
119 link path=usr/lib/mesa/$(MACH64)/libXvMCr600.so target=libXvMCr600.so.1.0.0
120 link path=usr/lib/mesa/$(MACH64)/libXvMCr600.so.1 target=libXvMCr600.so.1.0.0
121 link path=usr/lib/mesa/$(MACH64)/libXvMCr600.so.1.0 target=libXvMCr600.so.1.0.0
122 file path=usr/lib/mesa/$(MACH64)/libXvMCr600.so.1.0.0
123 link path=usr/lib/mesa/$(MACH64)/libgbm.so target=libgbm.so.1
124 link path=usr/lib/mesa/$(MACH64)/libgbm.so.1 target=libgbm.so.1.0.0
125 file path=usr/lib/mesa/$(MACH64)/libgbm.so.1.0.0
126 link path=usr/lib/mesa/$(MACH64)/libglapi.so target=libglapi.so.0
127 link path=usr/lib/mesa/$(MACH64)/libglapi.so.0 target=libglapi.so.0.0.0
128 file path=usr/lib/mesa/$(MACH64)/libglapi.so.0.0.0
129 link path=usr/lib/mesa/$(MACH64)/libxatracker.so target=libxatracker.so.2
130 link path=usr/lib/mesa/$(MACH64)/libxatracker.so.2 target=libxatracker.so.2.5.0
131 file path=usr/lib/mesa/$(MACH64)/libxatracker.so.2.5.0
132 file path=usr/lib/mesa/$(MACH64)/pkgconfig/dri.pc
133 file path=usr/lib/mesa/$(MACH64)/pkgconfig/egl.pc
134 file path=usr/lib/mesa/$(MACH64)/pkgconfig/gbm.pc
135 file path=usr/lib/mesa/$(MACH64)/pkgconfig/gl.pc
136 file path=usr/lib/mesa/$(MACH64)/pkgconfig/glesv1_cm.pc
137 file path=usr/lib/mesa/$(MACH64)/pkgconfig/glesv2.pc
138 file path=usr/lib/mesa/$(MACH64)/pkgconfig/osmesa.pc
139 file path=usr/lib/mesa/$(MACH64)/pkgconfig/xatracker.pc
140 link path=usr/lib/mesa/$(MACH64)/vdpau/libvdpau_r600.so \
141 target=libvdpau_r600.so.1.0.0
142 link path=usr/lib/mesa/$(MACH64)/vdpau/libvdpau_r600.so.1 \
143 target=libvdpau_r600.so.1.0.0
144 link path=usr/lib/mesa/$(MACH64)/vdpau/libvdpau_r600.so.1.0 \
145 target=libvdpau_r600.so.1.0.0
146 file path=usr/lib/mesa/$(MACH64)/vdpau/libvdpau_r600.so.1.0.0
147 file path=usr/lib/xorg/modules/dri/i915_dri.so
148 hardlink path=usr/lib/xorg/modules/dri/kms_swrast_dri.so target=i915_dri.so
149 hardlink path=usr/lib/xorg/modules/dri/r600_dri.so target=i915_dri.so
150 hardlink path=usr/lib/xorg/modules/dri/swrast_dri.so target=i915_dri.so
151 file path=usr/share/drirc.d/00-mesa-defaults.conf