openbsd-ports/audio/last.fm/patches/patch-src_libFingerprint_libFingerprint_pro
dcoppa ed80a78265 Update to last.fm 1.5.4.27091
Still happy with gcc 3.3.5

Tested on sparc64 and i386
2011-03-30 14:00:48 +00:00

30 lines
804 B
Plaintext

$OpenBSD: patch-src_libFingerprint_libFingerprint_pro,v 1.2 2011/03/30 14:00:48 dcoppa Exp $
--- src/libFingerprint/libFingerprint.pro.orig Tue Nov 2 19:13:07 2010
+++ src/libFingerprint/libFingerprint.pro Tue Mar 29 12:30:47 2011
@@ -1,5 +1,5 @@
TEMPLATE = lib
-VERSION = 1.0.0
+VERSION = ${LIBLastFmFingerprint_VERSION}.0
CONFIG += dll
TARGET = LastFmFingerprint
QT += xml network sql
@@ -11,8 +11,7 @@ DESTDIR = $$BIN_DIR
INCLUDEPATH += \
fplib/include \
- ../src/ \
- $$ROOT_DIR/res/mad
+ ${LOCALBASE}/include
HEADERS += \
MP3_Source_Qt.h \
@@ -39,7 +38,7 @@ unix:mac {
}
unix:!mac {
- LIBPATH += $$BUILD_DIR/../fplib
+ QMAKE_LIBDIR += ${LOCALBASE}/lib
LIBS += $$ROOT_DIR/build/fplib/libfplib$${EXT}.a -lsamplerate -lfftw3f -lmad
}