Clementine-audio-player-Mac.../src/src.pro

186 lines
4.8 KiB
Prolog
Raw Normal View History

# Change this line to install Clementine somewhere else
install_prefix = /usr
2010-01-17 23:12:17 +01:00
VERSION = 0.1
2009-12-24 20:16:07 +01:00
QT += sql \
2009-12-26 22:35:45 +01:00
network \
2010-01-18 03:23:55 +01:00
xml \
opengl
2010-01-08 17:21:22 +01:00
TARGET = clementine
2009-12-24 20:16:07 +01:00
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
player.cpp \
library.cpp \
librarybackend.cpp \
playlist.cpp \
playlistitem.cpp \
enginebase.cpp \
analyzers/baranalyzer.cpp \
analyzers/analyzerbase.cpp \
fht.cpp \
analyzers/blockanalyzer.cpp \
xine-engine.cpp \
xine-scope.c \
sliderwidget.cpp \
playlistview.cpp \
backgroundthread.cpp \
librarywatcher.cpp \
song.cpp \
songplaylistitem.cpp \
libraryview.cpp \
libraryconfig.cpp \
systemtrayicon.cpp \
libraryquery.cpp \
2009-12-24 23:26:58 +01:00
fileview.cpp \
fileviewlist.cpp \
playlistheader.cpp \
radioitem.cpp \
radioservice.cpp \
lastfmservice.cpp \
2009-12-26 18:19:14 +01:00
radiomodel.cpp \
lastfmconfig.cpp \
2009-12-26 22:35:45 +01:00
busyindicator.cpp \
radioplaylistitem.cpp \
2009-12-30 03:15:38 +01:00
radioview.cpp \
2010-01-08 15:52:05 +01:00
lastfmstationdialog.cpp \
2010-01-15 18:12:47 +01:00
osd.cpp \
2010-01-16 17:12:47 +01:00
trackslider.cpp \
edittagdialog.cpp \
2010-01-16 18:52:51 +01:00
lineedit.cpp \
2010-01-18 03:23:55 +01:00
multiloadingindicator.cpp \
2010-02-03 17:17:04 +01:00
somafmservice.cpp \
settingsdialog.cpp \
librarydirectorymodel.cpp \
2010-02-03 19:32:48 +01:00
libraryconfigdialog.cpp \
2010-02-03 21:45:32 +01:00
lastfmconfigdialog.cpp \
about.cpp
2009-12-24 20:16:07 +01:00
HEADERS += mainwindow.h \
player.h \
library.h \
librarybackend.h \
playlist.h \
playlistitem.h \
enginebase.h \
engine_fwd.h \
analyzers/baranalyzer.h \
analyzers/analyzerbase.h \
fht.h \
analyzers/blockanalyzer.h \
xine-engine.h \
xine-scope.h \
sliderwidget.h \
playlistview.h \
backgroundthread.h \
librarywatcher.h \
directory.h \
song.h \
songmimedata.h \
songplaylistitem.h \
libraryview.h \
libraryitem.h \
libraryconfig.h \
systemtrayicon.h \
libraryquery.h \
2009-12-24 23:26:58 +01:00
fileview.h \
fileviewlist.h \
2009-12-26 14:49:18 +01:00
playlistheader.h \
simpletreeitem.h \
radioitem.h \
radioservice.h \
lastfmservice.h \
simpletreemodel.h \
2009-12-26 18:19:14 +01:00
radiomodel.h \
lastfmconfig.h \
2009-12-26 22:35:45 +01:00
busyindicator.h \
radiomimedata.h \
radioplaylistitem.h \
2009-12-30 03:15:38 +01:00
radioview.h \
2009-12-30 17:24:55 +01:00
lastfmstationdialog.h \
2010-01-08 15:52:05 +01:00
../3rdparty/qxt/keymapper_x11.h \
2010-01-15 18:12:47 +01:00
osd.h \
2010-01-16 17:12:47 +01:00
trackslider.h \
edittagdialog.h \
2010-01-16 18:52:51 +01:00
lineedit.h \
2010-01-18 03:23:55 +01:00
multiloadingindicator.h \
2010-02-03 17:17:04 +01:00
somafmservice.h \
settingsdialog.h \
librarydirectorymodel.h \
2010-02-03 19:32:48 +01:00
libraryconfigdialog.h \
2010-02-03 21:45:32 +01:00
lastfmconfigdialog.h \
about.h
2009-12-24 20:16:07 +01:00
FORMS += mainwindow.ui \
libraryconfig.ui \
2009-12-26 18:19:14 +01:00
fileview.ui \
2009-12-26 22:35:45 +01:00
lastfmconfig.ui \
2010-01-15 18:12:47 +01:00
lastfmstationdialog.ui \
2010-01-16 17:12:47 +01:00
trackslider.ui \
2010-01-16 18:52:51 +01:00
edittagdialog.ui \
2010-02-03 17:17:04 +01:00
multiloadingindicator.ui \
settingsdialog.ui \
2010-02-03 19:32:48 +01:00
libraryconfigdialog.ui \
2010-02-03 21:45:32 +01:00
lastfmconfigdialog.ui \
about.ui
2009-12-24 20:16:07 +01:00
RESOURCES += ../data/data.qrc
OTHER_FILES += ../data/schema.sql \
../data/mainwindow.css
2009-12-26 18:19:14 +01:00
LIBS += -llastfm
2009-12-24 20:16:07 +01:00
!win32 {
QMAKE_CXXFLAGS += $$system(taglib-config --cflags)
LIBS += $$system(taglib-config --libs)
QMAKE_CXXFLAGS += $$system(xine-config --cflags)
LIBS += $$system(xine-config --libs)
2010-01-08 15:52:05 +01:00
QMAKE_CXXFLAGS += $$system(pkg-config --cflags libnotify)
LIBS += $$system(pkg-config --libs libnotify)
2009-12-24 20:16:07 +01:00
}
win32 {
INCLUDEPATH += C:/msys/1.0/local/include \
C:/msys/1.0/local/include/taglib
LIBS += -Lc:/msys/1.0/local/lib \
-Lc:/msys/1.0/local/bin \
-ltag \
-lxine \
-lpthreadGC2
}
2010-01-08 16:37:35 +01:00
unix:!macx:SOURCES += osd_x11.cpp
macx:SOURCES += osd_mac.cpp
2009-12-30 17:24:55 +01:00
# QXT
INCLUDEPATH += ../3rdparty/qxt
HEADERS += ../3rdparty/qxt/qxtglobalshortcut.h
HEADERS += ../3rdparty/qxt/qxtglobalshortcut_p.h
HEADERS += ../3rdparty/qxt/qxtglobal.h
SOURCES += ../3rdparty/qxt/qxtglobalshortcut.cpp
SOURCES += ../3rdparty/qxt/qxtglobal.cpp
unix:!macx:SOURCES += ../3rdparty/qxt/qxtglobalshortcut_x11.cpp
macx:SOURCES += ../3rdparty/qxt/qxtglobalshortcut_mac.cpp
win32:SOURCES += ../3rdparty/qxt/qxtglobalshortcut_win.cpp
2010-01-17 17:10:26 +01:00
# QtSingleApplication
INCLUDEPATH += ../3rdparty/qtsingleapplication
HEADERS += ../3rdparty/qtsingleapplication/qtlocalpeer.h
HEADERS += ../3rdparty/qtsingleapplication/qtsingleapplication.h
HEADERS += ../3rdparty/qtsingleapplication/qtsinglecoreapplication.h
SOURCES += ../3rdparty/qtsingleapplication/qtsingleapplication.cpp
SOURCES += ../3rdparty/qtsingleapplication/qtsinglecoreapplication.cpp
SOURCES += ../3rdparty/qtsingleapplication/qtlocalpeer.cpp
SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile.cpp
unix:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_unix.cpp
win32:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_win.cpp
# Installs
target.path = $${install_prefix}/bin/
desktop.path = dummy
2010-01-18 03:23:55 +01:00
desktop.extra = xdg-icon-resource \
install \
--size \
64 \
../dist/clementine_64.png \
application-x-clementine \
; \
xdg-desktop-menu \
install \
--novendor \
../dist/clementine.desktop
INSTALLS += target \
desktop