openbsd-ports/audio/last.fm/patches/patch-src_src_pro
2011-10-18 12:17:26 +00:00

53 lines
1.4 KiB
Plaintext

$OpenBSD: patch-src_src_pro,v 1.4 2011/10/18 12:17:26 dcoppa Exp $
--- src/src.pro.orig Tue Oct 18 11:12:40 2011
+++ src/src.pro Tue Oct 18 11:27:12 2011
@@ -1,16 +1,13 @@
TEMPLATE = app
TARGET = Last.fm
-QT += gui network xml sql
+QT += gui network xml
-INCLUDEPATH += lib libFingerprint/recommendation-commons
+INCLUDEPATH += lib
PRECOMPILED_HEADER = precompiled.h
CONFIG += precompile_header
-unix {
- # precompiled headers breaks icecream builds for some reason :(
- system( test `ps aux | grep iceccd | wc -l` -gt 1 ): CONFIG -= precompile_header
-}
+LIBS += -lMoose$$EXT
#universal binaries cannot be built from precompiled headers
mac:release:CONFIG -= precompile_header
@@ -27,17 +24,13 @@ unix:!mac{
include( ../definitions.pro.inc )
-# TODO remove
-INCLUDEPATH += $$ROOT_DIR/res/mad
-INCLUDEPATH += $$ROOT_DIR/src/libFingerprint/libs/fftw
+INCLUDEPATH += ${X11BASE}/include
+INCLUDEPATH += ${LOCALBASE}/include
breakpad {
LIBS += -lbreakpad$$EXT
}
-LIBS += -L$$BIN_DIR -lLastFmFingerprint$$EXT
-
-
FORMS = container.ui \
settingsdialog.ui \
settingsdialog_account.ui \
@@ -211,7 +204,7 @@ unix:!mac {
SOURCES += simplewizard_mac.cpp \
winstyleoverrides.cpp
- LIBS += -lmad -lfftw3f
+ LIBS += -lX11 -lz
HEADERS -= Bootstrapper/iTunesBootstrapper.h \
Bootstrapper/PluginBootstrapper.h