diff options
author | mm <mm@FreeBSD.org> | 2011-01-02 09:38:06 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-01-02 09:38:06 +0800 |
commit | b6afdeec02e4062147990a33a97814ac1f1b00c5 (patch) | |
tree | dde98a9cc95862819e718622fe9389c665e8affb /multimedia/libquicktime | |
parent | e0d577b1e695588c74a0fc4e7ecedb38c5a0bc3c (diff) | |
download | freebsd-ports-gnome-b6afdeec02e4062147990a33a97814ac1f1b00c5.tar.gz freebsd-ports-gnome-b6afdeec02e4062147990a33a97814ac1f1b00c5.tar.zst freebsd-ports-gnome-b6afdeec02e4062147990a33a97814ac1f1b00c5.zip |
- Alphabetically sort OPTIONS
- Add ALSA to options (default: off) [1]
PR: ports/153188 [1]
Submitted by: makc@FreeBSD.org [1]
Diffstat (limited to 'multimedia/libquicktime')
-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 |