From afc81ba0e8173ff505d2199c1ddb772686550834 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Sun, 2 Jan 2011 01:38:06 +0000 Subject: - Alphabetically sort OPTIONS - Add ALSA to options (default: off) [1] PR: ports/153188 [1] Submitted by: makc@FreeBSD.org [1] --- multimedia/libquicktime/Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'multimedia') diff --git a/multimedia/libquicktime/Makefile b/multimedia/libquicktime/Makefile index e682f89b73cd..7fc03364cab6 100644 --- a/multimedia/libquicktime/Makefile +++ b/multimedia/libquicktime/Makefile @@ -27,25 +27,25 @@ USE_AUTOTOOLS= autoconf CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl" -CONFIGURE_ARGS+= --without-alsa CFLAGS+= -fPIC .if !defined(_BUILDING_LIBQUICKTIME_PLUGINS) USE_XORG= xaw xv -CONFIGURE_ARGS+= --with-x --enable-gpl --without-doxygen --without-lame +CONFIGURE_ARGS= --with-x --enable-gpl --without-doxygen --without-lame MAN1= lqtplay.1 -OPTIONS= OPENGL "Enable OpenGL support" On \ +OPTIONS= ALSA "Enable ALSA support" Off \ DV "Enable libdv support for digital cameras" On \ - JPEG "Enable JPEG support" On \ - PNG "Enable PNG support" On \ - FFMPEG "Enable FFmpeg support" On \ FAAC "Enable FAAC support" Off \ FAAD "Enable FAAD support" On \ - X264 "Enable X264 codec support" On \ - SCHROEDINGER "Enable dirac support" On \ + FFMPEG "Enable FFmpeg support" On \ GTK2 "Enable Gtk+2 Frontend" Off \ - OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off + JPEG "Enable JPEG support" On \ + OPENGL "Enable OpenGL support" On \ + OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off \ + PNG "Enable PNG support" On \ + SCHROEDINGER "Enable dirac support" On \ + X264 "Enable X264 codec support" On PORTDOCS= api_usage.html codecs.html qt4l_building.html \ qt4l_codecs.html qt4l_index.html \ @@ -73,6 +73,12 @@ CONFIGURE_ARGS+= --without-gtk PLIST_SUB+= GTK="@comment " .endif +.if defined(WITH_ALSA) +LIB_DEPENDS= asound.2:${PORTSDIR}/audio/alsa-lib +.else +CONFIGURE_ARGS+= --without-alsa +.endif + .if !defined(WITHOUT_OPENGL) USE_GL= yes CONFIGURE_ARGS+= --with-opengl -- cgit v1.2.3