diff options
author | Martin Matuska <mm@FreeBSD.org> | 2011-01-02 01:38:06 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2011-01-02 01:38:06 +0000 |
commit | afc81ba0e8173ff505d2199c1ddb772686550834 (patch) | |
tree | f32c002e243773c3fb428ffbb8297cad4f30f04e /multimedia/libquicktime/Makefile | |
parent | 5babafd4c62ad2a950498ded17ad2d663f2aa2ce (diff) | |
download | ports-afc81ba0e8173ff505d2199c1ddb772686550834.tar.gz ports-afc81ba0e8173ff505d2199c1ddb772686550834.zip |
Notes
Diffstat (limited to 'multimedia/libquicktime/Makefile')
-rw-r--r-- | multimedia/libquicktime/Makefile | 24 |
1 files changed, 15 insertions, 9 deletions
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 |