diff options
author | avilla <avilla@FreeBSD.org> | 2011-04-21 06:49:12 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2011-04-21 06:49:12 +0800 |
commit | 561e3604e6a540b0fb714739e20646c1f0a68675 (patch) | |
tree | 3b0731c6f68011ab399a8fb44a84ac3f5e639b7e | |
parent | ba45103d9e6a52b7063b63c40650c90e59b29679 (diff) | |
download | freebsd-ports-gnome-561e3604e6a540b0fb714739e20646c1f0a68675.tar.gz freebsd-ports-gnome-561e3604e6a540b0fb714739e20646c1f0a68675.tar.zst freebsd-ports-gnome-561e3604e6a540b0fb714739e20646c1f0a68675.zip |
- Add OPTION to disable Phonon support.
- Bump PORTREVISION.
PR: 156462
Submitted by: dougb
-rw-r--r-- | misc/qt4-qtconfig/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/misc/qt4-qtconfig/Makefile b/misc/qt4-qtconfig/Makefile index 979482208769..5fe0393106cf 100644 --- a/misc/qt4-qtconfig/Makefile +++ b/misc/qt4-qtconfig/Makefile @@ -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} |