(needed to build DRI3 support in MesaLib and modular-xorg-server on Linux) This library offers a CPU-based synchronization primitive compatible with the X SyncFence objects that can be shared between processes using file descriptor passing. There are three underlying implementations: 1) On Linux, the library uses futexes 2) On FreeBSD, the library uses umtx 3) On other systems, the library uses posix mutexes and condition variables.
26 lines
699 B
Makefile
26 lines
699 B
Makefile
# $NetBSD: Makefile,v 1.1 2015/04/29 14:31:42 tnn Exp $
|
|
|
|
DISTNAME= libxshmfence-1.2
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://xorg.freedesktop.org/archive/individual/lib/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
COMMENT= Shared memory 'SyncFence' synchronization primitive
|
|
LICENSE= mit
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
PKGCONFIG_OVERRIDE+= xshmfence.pc.in
|
|
|
|
# Needs additional pthread functions or alternative synchronization
|
|
# implementation on NetBSD. See PR lib/49529.
|
|
# (On FreeBSD, umtx is used.)
|
|
|
|
ONLY_FOR_PLATFORM+= Linux-*-* FreeBSD-*-*
|
|
|
|
.include "../../x11/xproto/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|