summaryrefslogtreecommitdiff
path: root/multimedia/smpeg/options.mk
blob: 68bd85bb2e5ff58a868cf5bad60f328c652619b9 (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.3 2008/04/12 22:43:07 jlam Exp $

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

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

PLIST_VARS+=		gtk opengl

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

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