summaryrefslogtreecommitdiff
path: root/emulators/vice/options.mk
blob: 9fec5a606f8d9ec9b983fb7cbbf657032c56c253 (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
# $NetBSD: options.mk,v 1.4 2007/05/29 08:41:29 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.vice
# ffmpeg support for vice-1.21 needs at least ffmpeg-0.5.1
#PKG_SUPPORTED_OPTIONS=	esound ffmpeg lame gnome
PKG_SUPPORTED_OPTIONS=	esound lame gnome

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

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

.if !empty(PKG_OPTIONS:Mffmpeg)
CONFIGURE_ARGS+=	--enable-ffmpeg
.include "../../multimedia/ffmpeg/buildlink3.mk"
.  if !empty(PKG_OPTIONS:Mlame)
.  include "../../audio/lame/buildlink3.mk"
.  endif
.endif

.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+=	--enable-gnomeui
USE_TOOLS+=		pkg-config
.include "../../x11/gtk2/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.endif