blob: 4619cc6e3e6527dc490b3fbea8101e24f30b73cc (
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
|
# $NetBSD: options.mk,v 1.4 2008/10/09 14:47:56 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lame
PKG_SUPPORTED_OPTIONS= gtk sndfile
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gtk
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ENV+= GTK_CONFIG=${BUILDLINK_PREFIX.gtk}/bin/gtk-config
CONFIGURE_ARGS+= --enable-mp3x
PLIST.gtk= yes
. include "../../x11/gtk/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msndfile)
CONFIGURE_ARGS+= --with-fileio=sndfile
CONFIGURE_ARGS+= --with-sndfile-prefix=${BUILDLINK_PREFIX.libsndfile}
USE_TOOLS+= pkg-config
. include "../../audio/libsndfile/buildlink3.mk"
.endif
# doesn't work
#.if !empty(PKG_OPTIONS:Mvorbis)
#CONFIGURE_ARGS+= --with-vorbis
#CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
#. include "../../audio/libvorbis/buildlink3.mk"
#.else
#CONFIGURE_ARGS+= --without-vorbis
#.endif
|