openbsd-ports/x11/qt4/patches/patch-tools_qtconfig-lite_qtconfig_pro
2008-10-21 22:19:59 +00:00

24 lines
1.1 KiB
Plaintext

$OpenBSD: patch-tools_qtconfig-lite_qtconfig_pro,v 1.1 2008/10/21 22:20:00 espie Exp $
--- tools/qtconfig-lite/qtconfig.pro.orig Tue Oct 21 09:12:53 2008
+++ tools/qtconfig-lite/qtconfig.pro Tue Oct 21 09:13:40 2008
@@ -7,9 +7,7 @@ build_all:!build_pass {
LANGUAGE = C++
QT += qt3support
-contains(QT_CONFIG, gstreamer):LIBS += $$QT_LIBS_GSTREAMER -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10
-contains(QT_CONFIG, gstreamer):QMAKE_CXXFLAGS += $$QT_CFLAGS_GSTREAMER
-contains(QT_CONFIG, gstreamer):QT += phonon
+QMAKE_CXXFLAGS += -DQT_NO_GSTREAMER
SOURCES += colorbutton.cpp main.cpp previewframe.cpp previewwidget.cpp mainwindow.cpp paletteeditoradvanced.cpp \
mainwindowbase.cpp paletteeditoradvancedbase.cpp previewwidgetbase.cpp
HEADERS += colorbutton.h previewframe.h previewwidget.h mainwindow.h paletteeditoradvanced.h \
@@ -19,7 +17,7 @@ FORMS = mainwindowbase.ui paletteeditoradvanced
RESOURCES = qtconfig.qrc
PROJECTNAME = Qt Configuration
-TARGET = qtconfig
+TARGET = qtconfig-lite
DESTDIR = ../../bin
target.path=$$[QT_INSTALL_BINS]