pkgsrc/x11/libdrm/Makefile
wiz fb7d6b6a50 Update to 2.4.47:
Alex Deucher (2):
      radeon: add berlin pci ids
      radeon: pad CS to 8 DW

Ben Widawsky (1):
      libdrm: bump to 2.4.47

Chia-I Wu (1):
      intel: silence valgrind warnings for unsynchronized maps

Damien Lespiau (3):
      drm: Synchronize the stereo 3D mode flags from the kernel headers
      drm: Sync the DRM_SET_CLIENT_CAP ioctl definition
      drm: Introduce a drmSetClientCap() wrapper

Daniel Kurtz (1):
      libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic

Emil Velikov (6):
      tests/*version: add missing string.h header
      tests/modetest: silence compiler warning about uninitialised variables
      freedreno: use local drm.h over the system one
      freedreno: set automake options to include subdir-objects
      intel: Update package name and description in libdrm_intel.pc
      configure: add AC_LANG_SOURCE call within AC_COMPILE_IFELSE

Ilia Mirkin (2):
      modetest: add a -D option to specify a device to be used
      modetest: allow setting a scaling factor when showing plane

Imre Deak (1):
      libdrm: add missing DRM_CAP_TIMESTAMP_MONOTONIC

Kristian Høgsberg (1):
      intel: Set bo size from lseek if kernel supports it

Laurent Pinchart (23):
      modetest: Fix warnings
      modetest: Remove extern declarations of opt(arg|ind|err|opt)
      modetest: Sort command line arguments
      modetest: Add a command line parameter to select the driver
      modetest: Add a command line parameter to drop master after mode set
      modetest: Retrieve all resources in one go
      modetest: Don't limit mode set and planes to two instances
      modetest: Add a command line parameter to set properties
      modetest: Allow specifying plane position
      modetest: Print the plane ID when setting up a plane
      modetest: Remove the -m argument
      modetest: Create a device structure
      modetest: Compute CRTC pipe number as needed
      modetest: Remove the struct connector_arg encoder field
      modetest: Store the crtc in the connector_arg structure
      modetest: Store the mode in the crtc structure
      modetest: Give the CRTC ID to the -P option
      modetest: Split mode setting and plane setup
      modetest: Rename struct connector_arg to struct pipe_arg
      modetest: Support pipes with multiple connectors
      modetest: Try all possible encoders for a connector
      modetest: Fix line stride in SMPTE YUV packet pattern generator
      modetest: Allocate NV buffers large enough for the two planes

Marek Olšák (1):
      radeon: fix pitch alignment for non-power-of-two mipmaps on SI

Michel Dänzer (1):
      radeon: Fix tiling mode index for 1D tiled depth/stencil surfaces on CIK

Rob Clark (5):
      tests: add tilcdc to modetest/vbltest
      freedreno: support either kgsl or msm
      freedreno: add support for msm drm
      tests: add msm
      freedreno: add missing NOSYNC flag
2013-10-11 18:19:54 +00:00

48 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2013/10/11 18:19:54 wiz Exp $
DISTNAME= libdrm-2.4.47
CATEGORIES= x11 graphics
MASTER_SITES= http://dri.freedesktop.org/libdrm/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://dri.freedesktop.org/wiki/DRM
COMMENT= Userspace interface to kernel DRM services
ONLY_FOR_PLATFORM= NetBSD-*-* DragonFly-*-* FreeBSD-*-* OpenBSD-*-* \
Linux-*-* SunOS-*-*
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libdrm.pc.in
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= atomic
SUBST_FILES.atomic= xf86drm.h
SUBST_MESSAGE.atomic= Configuring xf86drm.h's atomic operations.
SUBST_STAGE.atomic= pre-configure
SUBST_VARS.atomic= ATOMIC_OPS_CHECK
ATOMIC_OPS_CHECK= 0
.if exists(/usr/include/sys/atomic.h)
ATOMIC_OPS_CHECK= 1
.else
. include "../../devel/libatomic_ops/buildlink3.mk"
CONFIGURE_ENV+= drm_cv_atomic_primitives=libatomic-ops
.endif
CONFIGURE_ARGS+= PTHREADSTUBS_CFLAGS=-I${PREFIX}/include \
PTHREADSTUBS_LIBS=-L${PREFIX}/lib
CONFIGURE_ARGS+= --disable-manpages
PLIST_VARS+= intel
.if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64)
.include "../../sysutils/libpciaccess/buildlink3.mk"
PLIST.intel= yes
#.else
#CONFIGURE_ARGS+= --disable-intel
.endif
.include "../../mk/bsd.pkg.mk"