Fixup fromcvs/togit conversion
[pkgsrcv2.git] / emulators / snes9x-gtk / options.mk
1 # $NetBSD$
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.snes9x-gtk
4 PKG_SUPPORTED_OPTIONS=  alsa opengl png pulseaudio xrandr xvideo zlib
5 PKG_SUGGESTED_OPTIONS+= png xrandr xvideo zlib
6
7 .include "../../mk/bsd.options.mk"
8
9 .if !empty(PKG_OPTIONS:Malsa)
10 .include "../../audio/alsa-lib/buildlink3.mk"
11 .else
12 CONFIGURE_ARGS+=        --without-alsa
13 .endif
14
15 .if !empty(PKG_OPTIONS:Mopengl)
16 .include "../../graphics/MesaLib/buildlink3.mk"
17 .else
18 CONFIGURE_ARGS+=        --without-opengl
19 .endif
20
21 .if !empty(PKG_OPTIONS:Mpng)
22 .include "../../graphics/png/buildlink3.mk"
23 .else
24 CONFIGURE_ARGS+=        --without-screenshot
25 .endif
26
27 .if !empty(PKG_OPTIONS:Mpulseaudio)
28 .include "../../audio/pulseaudio/buildlink3.mk"
29 .else
30 CONFIGURE_ARGS+=        --without-pulseaudio
31 .endif
32
33 .if !empty(PKG_OPTIONS:Mxrandr)
34 .include "../../x11/libXrandr/buildlink3.mk"
35 .else
36 CONFIGURE_ARGS+=        --without-xrandr
37 .endif
38
39 .if !empty(PKG_OPTIONS:Mxvideo)
40 .include "../../x11/libXv/buildlink3.mk"
41 .else
42 CONFIGURE_ARGS+=        --without-xv
43 .endif
44
45 .if !empty(PKG_OPTIONS:Mzlib)
46 .include "../../devel/zlib/buildlink3.mk"
47 .else
48 CONFIGURE_ARGS+=        --without-zlib
49 .endif