diff options
-rw-r--r-- | multimedia/mplayer-share/options.mk | 17 | ||||
-rw-r--r-- | multimedia/mplayer/Makefile | 4 |
2 files changed, 17 insertions, 4 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk index 366e173988b..d7b9666e839 100644 --- a/multimedia/mplayer-share/options.mk +++ b/multimedia/mplayer-share/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.47 2012/11/29 17:27:17 drochner Exp $ +# $NetBSD: options.mk,v 1.48 2012/12/02 01:33:52 cheusov Exp $ .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) @@ -7,7 +7,9 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} .include "../../mk/oss.buildlink3.mk" + .include "../../multimedia/libvdpau/available.mk" +.include "../../comms/lirc/available.mk" # ------------------------------------------------------------------------- # Define PKG_SUPPORTED_OPTIONS based on the current package and system. @@ -38,6 +40,10 @@ PKG_SUPPORTED_OPTIONS+= aalib caca esound ggi mplayer-menu nas pulseaudio sdl PKG_SUPPORTED_OPTIONS+= vdpau .endif +.if ${LIRC_AVAILABLE} == "yes" +PKG_SUPPORTED_OPTIONS+= lirc +.endif + . if ${OPSYS} != "SunOS" PKG_SUPPORTED_OPTIONS+= arts . endif @@ -89,7 +95,7 @@ PKG_SUPPORTED_OPTIONS+= xvid 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 + nas oss pulseaudio png sdl theora vorbis x264 xvid vdpau lirc . if !empty(PKG_SUPPORTED_OPTIONS:M${o}) PKG_SUGGESTED_OPTIONS+= ${o} . endif @@ -356,6 +362,13 @@ CONFIGURE_ARGS+= --enable-vdpau CONFIGURE_ARGS+= --disable-vdpau .endif +.if !empty(PKG_OPTIONS:Mlirc) +CONFIGURE_ARGS+= --enable-lirc +. include "../../comms/lirc/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-lirc +.endif + # ------------------------------------------------------------------------- # Handle extra libraries (part 1) # ------------------------------------------------------------------------- diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index 7a58cee01ff..d00d0b748b1 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.87 2012/11/03 09:04:10 tron Exp $ +# $NetBSD: Makefile,v 1.88 2012/12/02 01:33:52 cheusov Exp $ PKGNAME= mplayer-${MPLAYER_VERSION} -PKGREVISION= 2 +PKGREVISION= 3 COMMENT= Fast, cross-platform movie player |