e2350967d0
them out as we'll go with the defaults for now. Also, add a patch from GIT to fix a resource leak. Bump rev.
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2008/02/16 07:18:45 bjs Exp $
|
|
#
|
|
|
|
DISTNAME= xcompmgr-1.1.3
|
|
PKGREVISION= 2
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://xapps.freedesktop.org/release/
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://www.freedesktop.org/
|
|
COMMENT= Sample compositing manager for X.org >= 6.8.0
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
USE_FEATURES= getopt_long
|
|
|
|
### XXX You may play around with these if you like; they're simply
|
|
### the #defines from xcompmgr.c placed here for your convenience.
|
|
#
|
|
#XCOMPMGR_DEFS+= -DCAN_DO_USABLE=0 # default: 0 (damage notification)
|
|
#XCOMPMGR_DEFS+= -DMONITOR_REPAINT=0 # default: 0 (?)
|
|
#XCOMPMGR_DEFS+= -DDEBUG_REPAINT=0 # default: 0 (debugging)
|
|
#XCOMPMGR_DEFS+= -DDEBUG_EVENTS=0 # default: 0 (debugging)
|
|
#XCOMPMGR_DEFS+= -DSHADOWS=1 # default: 1 (shadow support)
|
|
#XCOMPMGR_DEFS+= -DSHARP_SHADOW=0 # default 0 (?)
|
|
|
|
CPPFLAGS+= ${XCOMPMGR_DEFS}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(X11_TYPE) && !empty(X11_TYPE:MXFree86) || \
|
|
defined(X11_TYPE) && !empty(X11_TYPE:Mnative) || !defined(X11_TYPE)
|
|
PKG_FAIL_REASON+= "This package is exclusively for X.org."
|
|
.endif
|
|
|
|
.include "../../x11/compositeproto/buildlink3.mk"
|
|
.include "../../x11/libXdamage/buildlink3.mk"
|
|
.include "../../x11/libXcomposite/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|