1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2015 Alexander Pyhalov
14#
15
16set name=pkg.fmri \
17    value=pkg:/x11/library/libdrm@$(LIBDRM_VERS),$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
18set name=pkg.description value="Direct Rendering Manager (DRM) Libraries"
19set name=pkg.summary value="DRM Libraries"
20set name=info.classification value=System/X11
21set name=info.source-url \
22    value=http://dri.freedesktop.org/libdrm-$(LIBDRM_VERS).tar.bz2
23set name=info.upstream-url value=http://dri.freedesktop.org
24#
25dir path=usr group=sys
26dir path=usr/include
27dir path=usr/include/drm
28dir path=usr/include/exynos
29dir path=usr/include/freedreno
30dir path=usr/lib
31dir path=usr/lib/$(ARCH64)
32dir path=usr/lib/$(ARCH64)/pkgconfig group=other
33dir path=usr/lib/pkgconfig group=other
34dir path=usr/lib/xorg
35dir path=usr/lib/xorg/$(ARCH64)
36#
37file path=usr/include/drm/amdgpu.h
38file path=usr/include/drm/amdgpu_drm.h
39#file path=usr/include/drm/drm.h
40#file path=usr/include/drm/drm_fourcc.h
41#file path=usr/include/drm/drm_mode.h
42#file path=usr/include/drm/drm_sarea.h
43file path=usr/include/drm/exynos_drmif.h
44#file path=usr/include/drm/i915_drm.h
45file path=usr/include/drm/intel_aub.h
46file path=usr/include/drm/intel_bufmgr.h
47file path=usr/include/drm/intel_debug.h
48file path=usr/include/drm/mach64_drm.h
49file path=usr/include/drm/mga_drm.h
50file path=usr/include/drm/nouveau_drm.h
51file path=usr/include/drm/omap_drmif.h
52file path=usr/include/drm/qxl_drm.h
53file path=usr/include/drm/r128_drm.h
54file path=usr/include/drm/r600_pci_ids.h
55file path=usr/include/drm/radeon_bo.h
56file path=usr/include/drm/radeon_bo_gem.h
57file path=usr/include/drm/radeon_bo_int.h
58file path=usr/include/drm/radeon_cs.h
59file path=usr/include/drm/radeon_cs_gem.h
60file path=usr/include/drm/radeon_cs_int.h
61file path=usr/include/drm/radeon_drm.h
62file path=usr/include/drm/radeon_surface.h
63file path=usr/include/drm/savage_drm.h
64file path=usr/include/drm/sis_drm.h
65file path=usr/include/drm/tegra.h
66file path=usr/include/drm/tegra_drm.h
67file path=usr/include/drm/vc4_drm.h
68file path=usr/include/drm/via_drm.h
69#file path=usr/include/drm/virtgpu_drm.h
70file path=usr/include/drm/vmwgfx_drm.h
71file path=usr/include/exynos/exynos_drm.h
72file path=usr/include/exynos/exynos_fimg2d.h
73file path=usr/include/freedreno/freedreno_drmif.h
74file path=usr/include/freedreno/freedreno_ringbuffer.h
75file path=usr/include/libkms/libkms.h
76file path=usr/include/libsync.h
77file path=usr/include/omap/omap_drm.h
78file path=usr/include/xf86drm.h
79file path=usr/include/xf86drmMode.h
80#
81file path=usr/lib/$(ARCH64)/pkgconfig/libdrm.pc
82file path=usr/lib/$(ARCH64)/pkgconfig/libdrm_amdgpu.pc
83file path=usr/lib/$(ARCH64)/pkgconfig/libdrm_exynos.pc
84file path=usr/lib/$(ARCH64)/pkgconfig/libdrm_freedreno.pc
85file path=usr/lib/$(ARCH64)/pkgconfig/libdrm_intel.pc
86file path=usr/lib/$(ARCH64)/pkgconfig/libdrm_omap.pc
87file path=usr/lib/$(ARCH64)/pkgconfig/libdrm_radeon.pc
88file path=usr/lib/$(ARCH64)/pkgconfig/libdrm_tegra.pc
89file path=usr/lib/$(ARCH64)/pkgconfig/libkms.pc
90file path=usr/lib/pkgconfig/libdrm.pc
91file path=usr/lib/pkgconfig/libdrm_amdgpu.pc
92file path=usr/lib/pkgconfig/libdrm_exynos.pc
93file path=usr/lib/pkgconfig/libdrm_freedreno.pc
94file path=usr/lib/pkgconfig/libdrm_intel.pc
95file path=usr/lib/pkgconfig/libdrm_omap.pc
96file path=usr/lib/pkgconfig/libdrm_radeon.pc
97file path=usr/lib/pkgconfig/libdrm_tegra.pc
98file path=usr/lib/pkgconfig/libkms.pc
99#
100file path=usr/lib/xorg/$(ARCH64)/libdrm.so.2
101file path=usr/lib/xorg/$(ARCH64)/libdrm_amdgpu.so.1
102file path=usr/lib/xorg/$(ARCH64)/libdrm_exynos.so.1
103file path=usr/lib/xorg/$(ARCH64)/libdrm_freedreno.so.1
104file path=usr/lib/xorg/$(ARCH64)/libdrm_intel.so.1
105file path=usr/lib/xorg/$(ARCH64)/libdrm_omap.so.1
106file path=usr/lib/xorg/$(ARCH64)/libdrm_radeon.so.1
107file path=usr/lib/xorg/$(ARCH64)/libdrm_tegra.so.0
108file path=usr/lib/xorg/$(ARCH64)/libkms.so.1
109file path=usr/lib/xorg/libdrm.so.2
110file path=usr/lib/xorg/libdrm_amdgpu.so.1
111file path=usr/lib/xorg/libdrm_exynos.so.1
112file path=usr/lib/xorg/libdrm_freedreno.so.1
113file path=usr/lib/xorg/libdrm_intel.so.1
114file path=usr/lib/xorg/libdrm_omap.so.1
115file path=usr/lib/xorg/libdrm_radeon.so.1
116file path=usr/lib/xorg/libdrm_tegra.so.0
117file path=usr/lib/xorg/libkms.so.1
118#
119license usr/src/common/libdrm/LICENSE_LIBDRM \
120    license=usr/src/common/libdrm/LICENSE_LIBDRM
121#
122link path=usr/include/libdrm target=drm
123link path=usr/lib/xorg/$(ARCH64)/libdrm.so target=libdrm.so.2
124link path=usr/lib/xorg/$(ARCH64)/libdrm_amdgpu.so target=libdrm_amdgpu.so.1
125link path=usr/lib/xorg/$(ARCH64)/libdrm_exynos.so target=libdrm_exynos.so.1
126link path=usr/lib/xorg/$(ARCH64)/libdrm_freedreno.so \
127    target=libdrm_freedreno.so.1
128link path=usr/lib/xorg/$(ARCH64)/libdrm_intel.so target=libdrm_intel.so.1
129link path=usr/lib/xorg/$(ARCH64)/libdrm_omap.so target=libdrm_omap.so.1
130link path=usr/lib/xorg/$(ARCH64)/libdrm_radeon.so target=libdrm_radeon.so.1
131link path=usr/lib/xorg/$(ARCH64)/libdrm_tegra.so target=libdrm_tegra.so.0
132link path=usr/lib/xorg/$(ARCH64)/libkms.so target=libkms.so.1
133link path=usr/lib/xorg/libdrm.so target=libdrm.so.2
134link path=usr/lib/xorg/libdrm_amdgpu.so target=libdrm_amdgpu.so.1
135link path=usr/lib/xorg/libdrm_exynos.so target=libdrm_exynos.so.1
136link path=usr/lib/xorg/libdrm_freedreno.so target=libdrm_freedreno.so.1
137link path=usr/lib/xorg/libdrm_intel.so target=libdrm_intel.so.1
138link path=usr/lib/xorg/libdrm_omap.so target=libdrm_omap.so.1
139link path=usr/lib/xorg/libdrm_radeon.so target=libdrm_radeon.so.1
140link path=usr/lib/xorg/libdrm_tegra.so target=libdrm_tegra.so.0
141link path=usr/lib/xorg/libkms.so target=libkms.so.1
142depend fmri=pkg:/driver/graphics/drm type=require
143