summaryrefslogtreecommitdiff
path: root/emulators/snes9x-gtk/options.mk
blob: 4afc5df28cc3bc8343b00c4123de703b7f4d702e (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $NetBSD: options.mk,v 1.1 2013/07/06 16:19:41 rodent Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.snes9x-gtk
PKG_SUPPORTED_OPTIONS=	alsa opengl png pulseaudio xrandr xvideo zlib
PKG_SUGGESTED_OPTIONS+=	png xrandr xvideo zlib

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

.if !empty(PKG_OPTIONS:Malsa)
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-alsa
.endif

.if !empty(PKG_OPTIONS:Mopengl)
.include "../../graphics/MesaLib/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-opengl
.endif

.if !empty(PKG_OPTIONS:Mpng)
.include "../../graphics/png/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-screenshot
.endif

.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-pulseaudio
.endif

.if !empty(PKG_OPTIONS:Mxrandr)
.include "../../x11/libXrandr/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-xrandr
.endif

.if !empty(PKG_OPTIONS:Mxvideo)
.include "../../x11/libXv/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-xv
.endif

.if !empty(PKG_OPTIONS:Mzlib)
.include "../../devel/zlib/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-zlib
.endif