pkg/manifests/service-opengl-ogl-select.mf
changeset 977 46c5e46c27fb
parent 970 272328fe1b4a
child 980 c30d0dbf2c96
equal deleted inserted replaced
976:e38ba1d6c74f 977:46c5e46c27fb
       
     1 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
       
     2 #
       
     3 # Permission is hereby granted, free of charge, to any person obtaining a
       
     4 # copy of this software and associated documentation files (the "Software"),
       
     5 # to deal in the Software without restriction, including without limitation
       
     6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
       
     7 # and/or sell copies of the Software, and to permit persons to whom the
       
     8 # Software is furnished to do so, subject to the following conditions:
       
     9 #
       
    10 # The above copyright notice and this permission notice (including the next
       
    11 # paragraph) shall be included in all copies or substantial portions of the
       
    12 # Software.
       
    13 #
       
    14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
    15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
    16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
       
    17 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
       
    19 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
       
    20 # DEALINGS IN THE SOFTWARE.
       
    21 #
       
    22 set name=pkg.fmri \
       
    23     value=pkg:/service/opengl/ogl-select@$(OSPKGVERS)
       
    24 set name=pkg.description \
       
    25     value="ogl-select is a SMF service that determines at boot time which vendor supplied OpenGL headers and libraries will be used, based on the hardware and drivers installed in the system."
       
    26 set name=pkg.summary \
       
    27     value="ogl-select - boot time selection of OpenGL vendor files"
       
    28 dir path=lib
       
    29 dir path=lib/opengl
       
    30 dir path=lib/opengl/ogl_select
       
    31 dir path=lib/svc
       
    32 dir path=lib/svc/method
       
    33 dir path=usr
       
    34 dir path=usr/X11
       
    35 dir path=usr/X11/include
       
    36 dir path=usr/X11/lib
       
    37 dir path=usr/X11/lib/$(ARCH64)
       
    38 dir path=usr/include
       
    39 dir path=usr/include/GL
       
    40 dir path=usr/lib
       
    41 dir path=usr/lib/$(ARCH64)
       
    42 dir path=usr/lib/GL
       
    43 dir path=usr/lib/GL/$(ARCH64)
       
    44 dir path=usr/lib/xorg
       
    45 dir path=usr/lib/xorg/modules
       
    46 dir path=usr/lib/xorg/modules/extensions
       
    47 $(i386_ONLY)dir path=usr/lib/xorg/modules/extensions/$(ARCH64)
       
    48 dir path=usr/share
       
    49 dir path=usr/share/man
       
    50 dir path=usr/share/man/man1
       
    51 dir path=var
       
    52 dir path=var/svc
       
    53 dir path=var/svc/manifest
       
    54 dir path=var/svc/manifest/application
       
    55 dir path=var/svc/manifest/application/opengl
       
    56 file path=lib/opengl/ogl_select/mesa_vendor_select mode=0555
       
    57 $(i386_ONLY)file path=lib/opengl/ogl_select/nvidia_vendor_select mode=0555
       
    58 $(sparc_ONLY)file path=lib/opengl/ogl_select/sun_vendor_select mode=0555
       
    59 file path=lib/svc/method/ogl-select
       
    60 file path=usr/share/man/man1/ogl-select.1
       
    61 file path=var/svc/manifest/application/opengl/ogl-select.xml
       
    62 link path=usr/X11/include/GL target=../../include/GL
       
    63 link path=usr/X11/lib/$(ARCH64)/libGL.so target=libGL.so.1
       
    64 link path=usr/X11/lib/$(ARCH64)/libGL.so.1 target=../GL/$(ARCH64)/libGL.so.1
       
    65 link path=usr/X11/lib/64 target=$(ARCH64)
       
    66 link path=usr/X11/lib/GL target=../../lib/GL
       
    67 link path=usr/X11/lib/libGL.so target=libGL.so.1
       
    68 link path=usr/X11/lib/libGL.so.1 target=GL/libGL.so.1
       
    69 link path=usr/include/GL/gl.h target=../../../var/run/opengl/include/gl.h
       
    70 link path=usr/include/GL/glext.h \
       
    71     target=../../../var/run/opengl/include/glext.h
       
    72 link path=usr/include/GL/glx.h target=../../../var/run/opengl/include/glx.h
       
    73 link path=usr/include/GL/glxext.h \
       
    74     target=../../../var/run/opengl/include/glxext.h
       
    75 link path=usr/lib/$(ARCH64)/libGL.so target=libGL.so.1
       
    76 link path=usr/lib/$(ARCH64)/libGL.so.1 target=../GL/$(ARCH64)/libGL.so.1
       
    77 link path=usr/lib/GL/$(ARCH64)/libGL.so target=libGL.so.1
       
    78 link path=usr/lib/GL/$(ARCH64)/libGL.so.1 \
       
    79     target=../../../../var/run/opengl/lib/$(ARCH64)/libGL.so.1
       
    80 link path=usr/lib/GL/64 target=$(ARCH64)
       
    81 link path=usr/lib/GL/libGL.so target=libGL.so.1
       
    82 link path=usr/lib/GL/libGL.so.1 target=../../../var/run/opengl/lib/libGL.so.1
       
    83 link path=usr/lib/libGL.so target=libGL.so.1
       
    84 link path=usr/lib/libGL.so.1 target=GL/libGL.so.1
       
    85 $(i386_ONLY)link path=usr/lib/xorg/modules/extensions/$(ARCH64)/libglx.so \
       
    86     target=../../../../../../var/run/opengl/server/$(ARCH64)/libglx.so
       
    87 link path=usr/lib/xorg/modules/extensions/libglx.so \
       
    88     target=../../../../../var/run/opengl/server/libglx.so
       
    89 # constype is required to detect which vendor_select script to run
       
    90 depend fmri=pkg:/diagnostic/constype type=require