summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2005-12-09 17:54:25 +0000
committersalo <salo@pkgsrc.org>2005-12-09 17:54:25 +0000
commitadaa59ec7804976ca303c11472b772baa9589708 (patch)
tree65d604f134a999c94ffd8232214b485a05929445 /multimedia/mplayer-share
parent38b2673368e879593f664109f3b7228aa60d4050 (diff)
downloadpkgsrc-adaa59ec7804976ca303c11472b772baa9589708.tar.gz
Add DTS support via libdca, not enabled by default.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r--multimedia/mplayer-share/options.mk11
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"