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

25 lines
632 B
Plaintext

$OpenBSD: patch-src_mediadevices_ipod_ipod_pro,v 1.3 2011/10/18 12:17:26 dcoppa Exp $
--- src/mediadevices/ipod/ipod.pro.orig Tue Oct 18 11:12:40 2011
+++ src/mediadevices/ipod/ipod.pro Tue Oct 18 11:30:25 2011
@@ -2,11 +2,20 @@ TEMPLATE = lib
CONFIG += service
TARGET = Ipod_device
QT += sql
+QT -= gui
include( ../../../definitions.pro.inc )
HEADERS = IpodDevice.h
SOURCES = IpodDevice.cpp
+
+unix:openbsd* {
+ INCLUDEPATH += ${LOCALBASE}/include/gpod-1.0 ${LOCALBASE}/include/glib-2.0 ${LOCALBASE}/lib/glib-2.0/include
+
+ QMAKE_LIBDIR += ${LOCALBASE}/lib
+
+ LIBS += -lgpod
+}
linux* {
LIBS += -lgpod