diff options
-rw-r--r-- | multimedia/mplayer-share/options.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk index a1f0d726b90..11304644964 100644 --- a/multimedia/mplayer-share/options.mk +++ b/multimedia/mplayer-share/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.12 2005/11/26 01:31:50 ben Exp $ +# $NetBSD: options.mk,v 1.13 2005/12/09 17:54:25 salo Exp $ .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) @@ -13,7 +13,7 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} # ------------------------------------------------------------------------- # Options supported by both mplayer* or mencoder*. -PKG_SUPPORTED_OPTIONS= gif jpeg mad dv dvdread oss png theora vorbis +PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv dvdread oss png theora vorbis # Set options based on the specific package being built. .if !empty(PKGNAME:M*mplayer*) @@ -85,6 +85,13 @@ CONFIGURE_ARGS+= --with-cdparanoiaincdir="${BUILDLINK_PREFIX.cdparanoia}/include CONFIGURE_ARGS+= --disable-cdparanoia .endif +.if !empty(PKG_OPTIONS:Mdts) +CONFIGURE_ARGS+= --enable-libdts +. include "../../audio/libdca/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-libdts +.endif + .if !empty(PKG_OPTIONS:Mdv) CONFIGURE_ARGS+= --enable-libdv . include "../../multimedia/libdv/buildlink3.mk" |