pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share Add DTS support via libdca, n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/665dd7857f94
branches:  trunk
changeset: 504360:665dd7857f94
user:      salo <salo%pkgsrc.org@localhost>
date:      Fri Dec 09 17:54:25 2005 +0000

description:
Add DTS support via libdca, not enabled by default.

diffstat:

 multimedia/mplayer-share/options.mk |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 09ae44ce42d9 -r 665dd7857f94 multimedia/mplayer-share/options.mk
--- a/multimedia/mplayer-share/options.mk       Fri Dec 09 17:22:52 2005 +0000
+++ b/multimedia/mplayer-share/options.mk       Fri Dec 09 17:54:25 2005 +0000
@@ -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 @@
 # -------------------------------------------------------------------------
 
 # 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+=       --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"



Home | Main Index | Thread Index | Old Index