From a0cacc56d3c4202b54b82b65b1eee0d4d7078368 Mon Sep 17 00:00:00 2001 From: <> Date: Wed, 4 Aug 2010 21:28:49 +0200 Subject: [PATCH] Build GNOME media keys support only on X11 --- minitube.pro | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/minitube.pro b/minitube.pro index 75119a7..94fa98b 100755 --- a/minitube.pro +++ b/minitube.pro @@ -10,10 +10,9 @@ TARGET = minitube QT += network \ xml \ phonon -unix:!mac { - QT += dbus -} + include(src/qtsingleapplication/qtsingleapplication.pri) + HEADERS += src/MainWindow.h \ src/SearchView.h \ src/MediaView.h \ @@ -45,7 +44,6 @@ HEADERS += src/MainWindow.h \ src/videodefinition.h \ src/fontutils.h \ src/thlibrary/thblackbar.h \ - src/gnomeglobalshortcutbackend.h \ src/globalshortcuts.h \ src/globalshortcutbackend.h SOURCES += src/main.cpp \ @@ -78,7 +76,6 @@ SOURCES += src/main.cpp \ src/constants.cpp \ src/fontutils.cpp \ src/thlibrary/thblackbar.cpp \ - src/gnomeglobalshortcutbackend.cpp \ src/globalshortcuts.cpp \ src/globalshortcutbackend.cpp RESOURCES += resources.qrc @@ -95,7 +92,13 @@ include(locale/locale.pri) # deploy DISTFILES += CHANGES \ COPYING -unix { + +unix:!mac { + QT += dbus + + HEADERS += src/gnomeglobalshortcutbackend.h + SOURCES += src/gnomeglobalshortcutbackend.cpp + isEmpty(PREFIX):PREFIX = /usr BINDIR = $$PREFIX/bin INSTALLS += target -- 2.39.5