pkgsrc/x11/libdrm/Makefile
wiz 60c4705a71 libdrm: update to 2.4.91.
Andrey Grodzovsky (1):
      amdgpu: Fix mistake in initial hole size calculation.

    Christian König (3):
      amdgpu: mostly revert "use the high VA range if possible v2"
      amdgpu: add AMDGPU_VA_RANGE_HIGH
      amdgpu: fix "add AMDGPU_VA_RANGE_HIGH"

    Chunming Zhou (1):
      test/amdgpu: disable bo eviction test by default

    Eric Engestrom (1):
      meson: add configuration summary

    Heiko Becker (1):
      *-symbol-check: Don't hard-code nm executable

    Igor Gnatenko (1):
      meson: do not use cairo/valgrind if disabled

    Jonathan Gray (1):
      meson/configure.ac: pthread-stubs not present on OpenBSD

    Marek Olšák (2):
      meson: bump the version number
      RELEASING: mention meson

    Michel Dänzer (1):
      tests/amdgpu: Fix misspellings of "suite"

    Rob Clark (2):
      freedreno: add interface to get buffer address
      bump version for release

    Rob Herring (4):
      android: revert making handle magic and version members const
      android: fix mis-named alloc_handle_t
      android: add helper to convert buffer_handle_t to gralloc_handle_t ptr
      android: fix gralloc_handle_create() problems

    Thierry Reding (2):
      drm/fourcc: Fix fourcc_mod_code() definition
      drm/tegra: Sanitize format modifiers
2018-03-07 12:12:35 +00:00

55 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.80 2018/03/07 12:12:35 wiz Exp $
DISTNAME= libdrm-2.4.91
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+= gmake 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(${CROSS_DESTDIR}/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
CONFIGURE_ARGS+= --disable-valgrind
PLIST_VARS+= intel arm
.if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64)
# libpciaccess is needed to build support for the intel KMS API,
# libdrm_intel.so.
.include "../../sysutils/libpciaccess/buildlink3.mk"
PLIST.intel= yes
.elif !empty(MACHINE_ARCH:Marm*) || \
!empty(MACHINE_ARCH:Mearm*) || \
!empty(MACHINE_ARCH:Maarch64)
PLIST.arm= yes
#.else
#CONFIGURE_ARGS+= --disable-intel
.endif
.include "../../mk/bsd.pkg.mk"