diff options
author | wiz <wiz> | 2010-09-16 18:56:11 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-09-16 18:56:11 +0000 |
commit | 2115cc231713ca3392f5107c6a98e0250b8927d3 (patch) | |
tree | 6fe37f33b02f41af0f92547ba9270f8a53596fac /multimedia/mplayer-share/options.mk | |
parent | 4c47ee3b19b2e4a7a4ff3cf91e7d0782f3b05c1a (diff) | |
download | pkgsrc-2115cc231713ca3392f5107c6a98e0250b8927d3.tar.gz |
Update to 20100913, provided by Aleksey Cheusov via wip.
One year of changes.
Ok ahoka@
Diffstat (limited to 'multimedia/mplayer-share/options.mk')
-rw-r--r-- | multimedia/mplayer-share/options.mk | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk index d68f4938a86..58be40b2d66 100644 --- a/multimedia/mplayer-share/options.mk +++ b/multimedia/mplayer-share/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.40 2010/09/01 20:55:56 wiz Exp $ +# $NetBSD: options.mk,v 1.41 2010/09/16 18:56:12 wiz Exp $ .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) @@ -15,7 +15,8 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} # Options supported by both mplayer* or mencoder*. -PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv dvdread png theora vorbis x264 debug +PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv png theora vorbis x264 debug +PKG_SUPPORTED_OPTIONS+= dvdread dvdnav .if ${OSS_TYPE} != "none" PKG_SUPPORTED_OPTIONS+= oss .endif @@ -78,7 +79,8 @@ PKG_SUPPORTED_OPTIONS+= xvid # Define PKG_SUGGESTED_OPTIONS. # ------------------------------------------------------------------------- -.for _o_ in aalib arts cdparanoia dv dvdread esound gif jpeg \ +.for _o_ in aalib arts cdparanoia dv esound gif jpeg \ + dvdread dvdnav \ lame mad mplayer-menu mplayer-real \ mplayer-default-cflags mplayer-runtime-cpudetection mplayer-win32 \ nas oss pulseaudio png sdl theora vorbis x264 xvid vdpau @@ -116,6 +118,7 @@ CONFIGURE_ARGS+= --disable-arts .if !empty(PKG_OPTIONS:Mcdparanoia) CONFIGURE_ARGS+= --enable-cdparanoia . include "../../audio/cdparanoia/buildlink3.mk" +CFLAGS+= -I${BUILDLINK_PREFIX.cdparanoia}/include/cdparanoia .else CONFIGURE_ARGS+= --disable-cdparanoia .endif @@ -141,13 +144,24 @@ CONFIGURE_ARGS+= --enable-libdv CONFIGURE_ARGS+= --disable-libdv .endif +CONFIGURE_ARGS+= --disable-dvdread-internal .if !empty(PKG_OPTIONS:Mdvdread) CONFIGURE_ARGS+= --enable-dvdread +CONFIGURE_ARGS+= --with-dvdread-config=${BUILDLINK_PREFIX.libdvdread}/bin/dvdread-config . include "../../multimedia/libdvdread/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-dvdread .endif +.if !empty(PKG_OPTIONS:Mdvdnav) +CONFIGURE_ARGS+= --enable-dvdnav +CONFIGURE_ARGS+= --with-dvdnav-config=${BUILDLINK_PREFIX.libdvdnav}/bin/dvdnav-config +. include "../../multimedia/libdvdnav/buildlink3.mk" +#CFLAGS+= -I${BUILDLINK_PREFIX.libdvdnav}/include/dvdnav +.else +CONFIGURE_ARGS+= --disable-dvdnav +.endif + .if !empty(PKG_OPTIONS:Mesound) CONFIGURE_ARGS+= --enable-esd . include "../../audio/esound/buildlink3.mk" @@ -221,7 +235,7 @@ CONFIGURE_ARGS+= --disable-menu EVAL_PREFIX+= PREFIX.realplayer-codecs=realplayer-codecs PREFIX.realplayer-codecs_DEFAULT= ${LOCALBASE} CONFIGURE_ARGS+= --enable-real -CONFIGURE_ARGS+= --realcodecsdir="${PREFIX.realplayer-codecs}/lib/RealPlayer8-Codecs" +#CONFIGURE_ARGS+= --realcodecsdir="${PREFIX.realplayer-codecs}/lib/RealPlayer8-Codecs" DEPENDS+= realplayer-codecs>=8nb2:../../multimedia/realplayer-codecs .else CONFIGURE_ARGS+= --disable-real @@ -237,7 +251,7 @@ CONFIGURE_ARGS+= --disable-runtime-cpudetection EVAL_PREFIX+= PREFIX.win32-codecs=win32-codecs PREFIX.win32-codecs_DEFAULT= ${LOCALBASE} CONFIGURE_ARGS+= --enable-win32dll -CONFIGURE_ARGS+= --win32codecsdir="${PREFIX.win32-codecs}/lib/win32" +#CONFIGURE_ARGS+= --win32codecsdir="${PREFIX.win32-codecs}/lib/win32" DEPENDS+= win32-codecs>=011227:../../multimedia/win32-codecs .else CONFIGURE_ARGS+= --disable-win32dll |