diff options
-rw-r--r-- | x11/libdrm/DESCR | 3 | ||||
-rw-r--r-- | x11/libdrm/Makefile | 19 | ||||
-rw-r--r-- | x11/libdrm/PLIST | 18 | ||||
-rw-r--r-- | x11/libdrm/buildlink3.mk | 19 | ||||
-rw-r--r-- | x11/libdrm/distinfo | 6 | ||||
-rw-r--r-- | x11/libdrm/patches/patch-aa | 13 |
6 files changed, 78 insertions, 0 deletions
diff --git a/x11/libdrm/DESCR b/x11/libdrm/DESCR new file mode 100644 index 00000000000..c8be56c6b40 --- /dev/null +++ b/x11/libdrm/DESCR @@ -0,0 +1,3 @@ +This package provides a library which offers a userspace interface +to kernel DRM (Direct Rendering Manager) services for access to +graphics hardware. diff --git a/x11/libdrm/Makefile b/x11/libdrm/Makefile new file mode 100644 index 00000000000..8b7e9ceb644 --- /dev/null +++ b/x11/libdrm/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/11/14 14:22:12 joerg Exp $ +# + +DISTNAME= libdrm-2.2.0 +CATEGORIES= x11 graphics +MASTER_SITES= http://dri.freedesktop.org/libdrm/ + +MAINTAINER= joerg@NetBSD.org +HOMEPAGE= http://dri.freedesktop.org/wiki/DRM +COMMENT= Userspace interface to kernel DRM services + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +PKGCONFIG_OVERRIDE+= libdrm.pc.in +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/libdrm/PLIST b/x11/libdrm/PLIST new file mode 100644 index 00000000000..24d5acdc324 --- /dev/null +++ b/x11/libdrm/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/14 14:22:12 joerg Exp $ +include/drm/drm.h +include/drm/drm_sarea.h +include/drm/i915_drm.h +include/drm/mach64_drm.h +include/drm/mga_drm.h +include/drm/r128_drm.h +include/drm/r300_reg.h +include/drm/radeon_drm.h +include/drm/savage_drm.h +include/drm/sis_drm.h +include/drm/via_3d_reg.h +include/drm/via_drm.h +include/xf86drm.h +include/xf86mm.h +lib/libdrm.la +lib/pkgconfig/libdrm.pc +@dirrm include/drm diff --git a/x11/libdrm/buildlink3.mk b/x11/libdrm/buildlink3.mk new file mode 100644 index 00000000000..c67a3075a16 --- /dev/null +++ b/x11/libdrm/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/14 14:22:12 joerg Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBDRM_BUILDLINK3_MK:= ${LIBDRM_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libdrm +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdrm} +BUILDLINK_PACKAGES+= libdrm +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdrm + +.if ${LIBDRM_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.2.0 +BUILDLINK_PKGSRCDIR.libdrm?= ../../x11/libdrm +.endif # LIBDRM_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/x11/libdrm/distinfo b/x11/libdrm/distinfo new file mode 100644 index 00000000000..2cf5939fe06 --- /dev/null +++ b/x11/libdrm/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/11/14 14:22:12 joerg Exp $ + +SHA1 (libdrm-2.2.0.tar.gz) = 09447cb4b1ced6de29dc0b8e7d98edd012d13328 +RMD160 (libdrm-2.2.0.tar.gz) = db40b5d24fb9140666a7b17ed2929fcec29bb941 +Size (libdrm-2.2.0.tar.gz) = 394605 bytes +SHA1 (patch-aa) = 9ff35cf268bd4724107146a0ed07ffc3fce5816a diff --git a/x11/libdrm/patches/patch-aa b/x11/libdrm/patches/patch-aa new file mode 100644 index 00000000000..5a8f3be24f0 --- /dev/null +++ b/x11/libdrm/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/11/14 14:22:12 joerg Exp $ + +--- shared-core/drm.h.orig 2006-11-06 16:05:55.000000000 +0000 ++++ shared-core/drm.h +@@ -139,6 +139,8 @@ typedef unsigned long long drm_u64_t; + + typedef unsigned int drm_handle_t; + #else ++#include <stdint.h> ++typedef uint64_t drm_u64_t; + typedef unsigned long drm_handle_t; /**< To mapped regions */ + #endif + typedef unsigned int drm_context_t; /**< GLXContext handle */ |