From: <> Date: Wed, 4 Aug 2010 19:28:49 +0000 (+0200) Subject: Build GNOME media keys support only on X11 X-Git-Tag: 1.2~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a0cacc56d3c4202b54b82b65b1eee0d4d7078368;p=minitube Build GNOME media keys support only on X11 --- 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