- Add OPTION to disable Phonon support.

- Bump PORTREVISION.

PR:		156462
Submitted by:	dougb
This commit is contained in:
Alberto Villa 2011-04-20 22:49:12 +00:00
parent 1a9fb4be04
commit 60bdbec25e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272975

View File

@ -7,20 +7,21 @@
PORTNAME= qtconfig
DISTVERSION= ${QT4_VERSION}
PORTREVISION= 1
CATEGORIES?= misc
PKGNAMEPREFIX= qt4-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt graphical configuration utility
OPTIONS= PHONON "Add support for Phonon (implies GStreamer)" on
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build qt3support corelib \
gui sql xml phonon phonon-gst
gui sql xml
QT_NONSTANDARD= yes
QT_DIST= yes
USE_GSTREAMER= yes
HAS_CONFIGURE= yes
ALL_TARGET= first
@ -40,6 +41,15 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf -
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
.endfor
.include <bsd.port.options.mk>
.if !defined(WITHOUT_PHONON)
QT_COMPONENTS+= phonon phonon-gst
USE_GSTREAMER= yes
.else
CONFIGURE_ARGS+= -no-phonon -no-gstreamer
.endif
BUILD_WRKSRC= ${WRKSRC}/tools/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}