diff options
author | wiz <wiz@pkgsrc.org> | 2008-03-16 11:56:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-03-16 11:56:48 +0000 |
commit | 6fe43a84398262a6f50c68d90a8020427020ea59 (patch) | |
tree | c7829ba3dfe9f3d238d7275e451ad85ea3c7fab7 /multimedia/mplayer-share | |
parent | edf57f0e4eedab82058746ef1af6a050e7e6996e (diff) | |
download | pkgsrc-6fe43a84398262a6f50c68d90a8020427020ea59.tar.gz |
Add x264 option and default it to on (since it occurs no additional
dependencies). Bump PKGREVISION.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r-- | multimedia/mplayer-share/options.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk index 543be39386a..bcd99c0fb50 100644 --- a/multimedia/mplayer-share/options.mk +++ b/multimedia/mplayer-share/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.27 2008/02/24 22:24:34 jdc Exp $ +# $NetBSD: options.mk,v 1.28 2008/03/16 11:56:49 wiz Exp $ .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) @@ -14,7 +14,7 @@ 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 debug +PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv dvdread png theora vorbis x264 debug .if ${OSS_TYPE} != "none" PKG_SUPPORTED_OPTIONS+= oss .endif @@ -71,7 +71,7 @@ PKG_SUPPORTED_OPTIONS+= xvid .for _o_ in aalib arts cdparanoia dv dvdread esound gif jpeg \ lame mad mplayer-menu mplayer-real \ mplayer-default-cflags mplayer-runtime-cpudetection mplayer-win32 \ - nas oss png sdl theora vorbis xvid + nas oss png sdl theora vorbis x264 xvid . if !empty(PKG_SUPPORTED_OPTIONS:M${_o_}) PKG_SUGGESTED_OPTIONS+= ${_o_} . endif @@ -272,6 +272,12 @@ CONFIGURE_ARGS+= --enable-libvorbis CONFIGURE_ARGS+= --disable-libvorbis .endif +.if !empty(PKG_OPTIONS:Mx264) +CONFIGURE_ARGS+= --enable-x264 +.else +CONFIGURE_ARGS+= --disable-x264 +.endif + .if !empty(PKG_OPTIONS:Mxvid) CONFIGURE_ARGS+= --enable-xvid EXTRA_LIBS+= -lxvidcore |