Skip to content

Commit

Permalink
Ubuntu: Fixed dsFluidSynth build
Browse files Browse the repository at this point in the history
Also, check that the required dependency GLib 2.0 is available.
  • Loading branch information
skyjake committed Jul 15, 2012
1 parent 73bb010 commit 82d9ec8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions doomsday/dep_glib.pri
@@ -1,6 +1,10 @@
# Build configuration for glib.
unix {
# Is the GLib development files installed?
!system(pkg-config --exists gthread-2.0) {
error(Missing dependency: FluidSynth requires GLib 2.0 development files)
}

QMAKE_CFLAGS += $$system(pkg-config --cflags gthread-2.0 glib-2.0)
LIBS += $$system(pkg-config --libs gthread-2.0 glib-2.0)
LIBS += $$system(pkg-config --libs gthread-2.0 glib-2.0)
}

2 changes: 1 addition & 1 deletion doomsday/plugins/fluidsynth/fluidsynth.pro
Expand Up @@ -12,7 +12,7 @@ win32|macx: TARGET = dsFluidSynth
CONFIG -= qt

# Define this to get debug messages.
DEFINES += DENG_DSFLUIDSYNTH_DEBUG
deng_debug: DEFINES += DENG_DSFLUIDSYNTH_DEBUG

win32 {
RC_FILE = res/fluidsynth.rc
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/fluidsynth/src/driver_fluidsynth.cpp
Expand Up @@ -22,6 +22,7 @@
#include "driver_fluidsynth.h"
#include "sys_audiod.h"
#include <stdio.h>
#include <string.h>

#include "doomsday.h"

Expand Down
2 changes: 1 addition & 1 deletion doomsday/plugins/fmod/fmod.pro
Expand Up @@ -10,7 +10,7 @@ win32|macx: TARGET = dsFMOD

VERSION = $$FMOD_VERSION

DEFINES += DENG_DSFMOD_DEBUG
deng_debug: DEFINES += DENG_DSFMOD_DEBUG

INCLUDEPATH += include

Expand Down

0 comments on commit 82d9ec8

Please sign in to comment.