summaryrefslogtreecommitdiff
path: root/multimedia/smpeg/options.mk
blob: 0809af00571b3241b517c8910cbe0abab8654d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: options.mk,v 1.2 2005/11/04 17:22:08 rillig Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.smpeg
PKG_SUPPORTED_OPTIONS=	gtk-player opengl-player

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

.if !empty(PKG_OPTIONS:Mgtk-player)
PLIST_SUBST+=		GTK_PLAYER=
CONFIGURE_ARGS+=	--enable-gtk-player
.  include "../../x11/gtk/buildlink3.mk"
.else
PLIST_SUBST+=		GTK_PLAYER="@comment "
CONFIGURE_ARGS+=	--disable-gtk-player --disable-gtk-test
.endif

.if !empty(PKG_OPTIONS:Mopengl-player)
PLIST_SUBST+=		OPENGL_PLAYER=
CONFIGURE_ARGS+=	--enable-opengl-player
.  include "../../graphics/glu/buildlink3.mk"
.else
PLIST_SUBST+=		OPENGL_PLAYER="@comment "
CONFIGURE_ARGS+=	--disable-opengl-player
.endif