From e9f66232b13056654da46ed58981962dbc46e7c4 Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Wed, 28 Nov 2012 21:46:10 +0000 Subject: [PATCH] Add LIRC option (default off.) Suggested by: hselasky Feature safe: yes --- multimedia/vlc/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 49502febaa47..2ccb8896abd8 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -22,7 +22,7 @@ RUN_DEPENDS= ffmpeg${FFMPEG_SUFFIX}>=1.0:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_S OPTIONS_DEFINE= A52 AALIB ASS AVAHI CACA DBUS DIRAC DOCS DTS DVDREAD \ DVDNAV FAAD FLAC FLUID FRIBIDI GLX GNOMEVFS GNUTLS GOOM \ - HTTPD JACK LIVEMEDIA LUA MAD MATROSKA MODPLUG MPEG2 MTP \ + HTTPD JACK LIRC LIVEMEDIA LUA MAD MATROSKA MODPLUG MPEG2 MTP \ MUSEPACK NCURSES NLS NOTIFY OPTIMIZED_CFLAGS OGG OPUS \ PNG PORTAUDIO PROJM PULSEAUDIO QT4 REALAUDIO RUNROOT \ SAMBA SCHROED SDL SHOUTCAST SKINS STREAM SPEEX SQLITE SVG \ @@ -306,6 +306,13 @@ CONFIGURE_ARGS+=--enable-jack CONFIGURE_ARGS+=--disable-jack .endif +.if ${PORT_OPTIONS:MLIRC} +CONFIGURE_ARGS+=--enable-lirc +LIB_DEPENDS+= lirc_client:${PORTSDIR}/comms/lirc +.else +CONFIGURE_ARGS+=--disable-lirc +.endif + .if ${PORT_OPTIONS:MLIVEMEDIA} BUILD_DEPENDS+= ${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia CONFIGURE_ARGS+=--enable-live555