[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / wm / compiz

File: [cvs.NetBSD.org] / pkgsrc / wm / compiz / options.mk (download)

Revision 1.5, Fri Aug 3 21:17:47 2018 UTC (15 months, 1 week ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
Changes since 1.4: +2 -2 lines

wm/compiz: Do not suggest an unavailable option

devel/libinotify is not available on Linux.

# $NetBSD: options.mk,v 1.5 2018/08/03 21:17:47 minskim Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.compiz
PKG_SUPPORTED_OPTIONS=	fuse gnome inotify kde4
PLIST_VARS+=		gnome inotify kde

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "Linux" && ${OPSYS} != "SunOS"
PKG_SUGGESTED_OPTIONS+=	inotify
.endif

.include "../../mk/bsd.options.mk"

# XXX configure needs fuse.pc, which isn't in NetBSD's base for some reason
.if !empty(PKG_OPTIONS:Mfuse)
.include "../../filesystems/fuse/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-fuse
.else
CONFIGURE_ARGS+=	--disable-fuse
.endif

.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+=	--enable-librsvg
PLIST.gnome=		yes
BUILDLINK_DEPMETHOD.gnome-desktop=	build
.include "../../x11/gnome-desktop/buildlink3.mk"
BUILDLINK_DEPMETHOD.gnome-control-center=	build
.include "../../x11/gnome-control-center/buildlink3.mk"
BUILDLINK_DEPMETHOD.metacity=	build
.include "../../wm/metacity/buildlink3.mk"
BUILDLINK_DEPMETHOD.librsvg=	build
.include "../../graphics/librsvg/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-gnome --disable-gnome-keybindings
.endif

.if !empty(PKG_OPTIONS:Minotify)
.include "../../devel/libinotify/buildlink3.mk"
PLIST.inotify=		yes
.else
CONFIGURE_ARGS+=	--disable-inotify
.endif

.if !empty(PKG_OPTIONS:Mkde4)
# XXX This option is broken on NetBSD 6.0.1/amd64 + pkgsrc-current
.include "../../x11/kde-workspace4/buildlink3.mk"
# XXX Test to see which PLIST entries are KDE{3,4}-specific, besides kconfig.
PLIST.kde=		yes
#PLIST.kde4=		yes
.else
CONFIGURE_ARGS+=	--disable-kde4
.endif