blob: 5a8c35fcd57697f567ad2bdf0f70eb3e6b4bd49a (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# $NetBSD: options.mk,v 1.4 2009/03/13 20:11:23 kefren Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vlc
PKG_SUPPORTED_OPTIONS= skins wxwidgets faad arts esound sdl x11
PKG_SUGGESTED_OPTIONS= wxwidgets faad x11 sdl
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mskins) && !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --enable-skins2
PLIST.skins= yes
.else
CONFIGURE_ARGS+= --disable-skins2
.endif
.if !empty(PKG_OPTIONS:Mwxwidgets) && !empty(PKG_OPTIONS:Mx11)
.include "../../x11/wxGTK26/buildlink3.mk"
CONFIGURE_ARGS+= --enable-wxwidgets
PLIST.wxwidgets= yes
.else
CONFIGURE_ARGS+= --disable-wxwidgets
.endif
.if !empty(PKG_OPTIONS:Mfaad)
CONFIGURE_ARGS+= --enable-faad
PLIST.faad= yes
.include "../../audio/faad2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-faad
.endif
.if !empty(PKG_OPTIONS:Marts)
CONFIGURE_ARGS+= --enable-arts
PLIST.arts= yes
.include "../../audio/arts/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-arts
.endif
.if !empty(PKG_OPTIONS:Mesound)
CONFIGURE_ARGS+= --enable-esd
PLIST.esound= yes
.include "../../audio/esound/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-esd
.endif
## SDL backend support
.if !empty(PKG_OPTIONS:Msdl)
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
PLIST.sdl= yes
.else
CONFIGURE_ARGS+= --disable-sdl
CONFIGURE_ARGS+= --disable-sdl-image
.endif
.if !empty(PKG_OPTIONS:Mx11)
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../x11/libdrm/buildlink3.mk"
CONFIGURE_ARGS+= --enable-x11
CONFIGURE_ARGS+= --enable-freetype
PLIST.x11= yes
.else
CONFIGURE_ARGS+= --disable-x11
CONFIGURE_ARGS+= --disable-freetype
.endif
|