Remove the qmake project files
This commit is contained in:
parent
0dc1a87781
commit
a0c551f7a7
|
@ -1,2 +0,0 @@
|
|||
TEMPLATE = subdirs
|
||||
SUBDIRS = src
|
249
src/src.pro
249
src/src.pro
|
@ -1,249 +0,0 @@
|
|||
# Change this line to install Clementine somewhere else
|
||||
install_prefix = /usr
|
||||
VERSION = 0.1
|
||||
QT += sql \
|
||||
network \
|
||||
xml \
|
||||
opengl
|
||||
TARGET = clementine
|
||||
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 \
|
||||
sliderwidget.cpp \
|
||||
playlistview.cpp \
|
||||
backgroundthread.cpp \
|
||||
librarywatcher.cpp \
|
||||
song.cpp \
|
||||
songplaylistitem.cpp \
|
||||
libraryview.cpp \
|
||||
libraryconfig.cpp \
|
||||
systemtrayicon.cpp \
|
||||
libraryquery.cpp \
|
||||
fileview.cpp \
|
||||
fileviewlist.cpp \
|
||||
playlistheader.cpp \
|
||||
radioitem.cpp \
|
||||
radioservice.cpp \
|
||||
lastfmservice.cpp \
|
||||
radiomodel.cpp \
|
||||
lastfmconfig.cpp \
|
||||
busyindicator.cpp \
|
||||
radioplaylistitem.cpp \
|
||||
radioview.cpp \
|
||||
lastfmstationdialog.cpp \
|
||||
osd.cpp \
|
||||
trackslider.cpp \
|
||||
edittagdialog.cpp \
|
||||
lineedit.cpp \
|
||||
multiloadingindicator.cpp \
|
||||
somafmservice.cpp \
|
||||
settingsdialog.cpp \
|
||||
librarydirectorymodel.cpp \
|
||||
libraryconfigdialog.cpp \
|
||||
lastfmconfigdialog.cpp \
|
||||
about.cpp \
|
||||
albumcoverfetcher.cpp \
|
||||
addstreamdialog.cpp \
|
||||
savedradio.cpp \
|
||||
stylesheetloader.cpp \
|
||||
shortcutsdialog.cpp \
|
||||
albumcovermanager.cpp \
|
||||
albumcoverloader.cpp
|
||||
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 \
|
||||
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 \
|
||||
fileview.h \
|
||||
fileviewlist.h \
|
||||
playlistheader.h \
|
||||
simpletreeitem.h \
|
||||
radioitem.h \
|
||||
radioservice.h \
|
||||
lastfmservice.h \
|
||||
simpletreemodel.h \
|
||||
radiomodel.h \
|
||||
lastfmconfig.h \
|
||||
busyindicator.h \
|
||||
radiomimedata.h \
|
||||
radioplaylistitem.h \
|
||||
radioview.h \
|
||||
lastfmstationdialog.h \
|
||||
../3rdparty/qxt/keymapper_x11.h \
|
||||
osd.h \
|
||||
trackslider.h \
|
||||
edittagdialog.h \
|
||||
lineedit.h \
|
||||
multiloadingindicator.h \
|
||||
somafmservice.h \
|
||||
settingsdialog.h \
|
||||
librarydirectorymodel.h \
|
||||
libraryconfigdialog.h \
|
||||
lastfmconfigdialog.h \
|
||||
about.h \
|
||||
albumcoverfetcher.h \
|
||||
addstreamdialog.h \
|
||||
savedradio.h \
|
||||
stylesheetloader.h \
|
||||
shortcutsdialog.h \
|
||||
albumcovermanager.h \
|
||||
albumcoverloader.h
|
||||
FORMS += mainwindow.ui \
|
||||
libraryconfig.ui \
|
||||
fileview.ui \
|
||||
lastfmconfig.ui \
|
||||
lastfmstationdialog.ui \
|
||||
trackslider.ui \
|
||||
edittagdialog.ui \
|
||||
multiloadingindicator.ui \
|
||||
settingsdialog.ui \
|
||||
libraryconfigdialog.ui \
|
||||
lastfmconfigdialog.ui \
|
||||
about.ui \
|
||||
addstreamdialog.ui \
|
||||
shortcutsdialog.ui \
|
||||
albumcovermanager.ui
|
||||
RESOURCES += ../data/data.qrc \
|
||||
translations.qrc
|
||||
OTHER_FILES += ../data/schema.sql \
|
||||
../data/mainwindow.css \
|
||||
../data/schema-1.sql \
|
||||
../data/schema-2.sql
|
||||
RC_FILE += ../dist/windres.rc
|
||||
TRANSLATIONS = clementine_ru.ts \
|
||||
clementine_es.ts \
|
||||
clementine_el.ts \
|
||||
clementine_sk.ts
|
||||
|
||||
# Xine on unix, phonon on windows
|
||||
win32|fedora-win32-cross {
|
||||
QT += phonon
|
||||
SOURCES += phononengine.cpp
|
||||
HEADERS += phononengine.h
|
||||
}
|
||||
!win32:!fedora-win32-cross {
|
||||
SOURCES += xine-engine.cpp \
|
||||
xine-scope.c
|
||||
HEADERS += xine-engine.h \
|
||||
xine-scope.h
|
||||
}
|
||||
|
||||
# Last.fm
|
||||
LIBS += -llastfm
|
||||
|
||||
# Enable a bunch of warnings
|
||||
QMAKE_CXXFLAGS += -Wall \
|
||||
-Werror=non-virtual-dtor \
|
||||
-Woverloaded-virtual
|
||||
|
||||
# Other platform specific libraries
|
||||
!win32:!fedora-win32-cross {
|
||||
mac {
|
||||
QMAKE_CXXFLAGS += -I/usr/local/include
|
||||
LIBS += -L/usr/local/lib \
|
||||
-ltag \
|
||||
-lxine \
|
||||
-framework \
|
||||
Carbon \
|
||||
-framework \
|
||||
Growl \
|
||||
-framework \
|
||||
Cocoa
|
||||
}
|
||||
!mac {
|
||||
QMAKE_CXXFLAGS += $$system(taglib-config --cflags)
|
||||
LIBS += $$system(taglib-config --libs)
|
||||
QMAKE_CXXFLAGS += $$system(xine-config --cflags)
|
||||
LIBS += $$system(xine-config --libs)
|
||||
}
|
||||
}
|
||||
win32|fedora-win32-cross:LIBS += -ltag \
|
||||
-lpthreadGC2
|
||||
|
||||
# OSD
|
||||
unix:!macx {
|
||||
SOURCES += osd_x11.cpp
|
||||
!nolibnotify {
|
||||
DEFINES += HAVE_LIBNOTIFY
|
||||
QMAKE_CXXFLAGS += $$system(pkg-config --cflags libnotify)
|
||||
LIBS += $$system(pkg-config --libs libnotify)
|
||||
}
|
||||
}
|
||||
macx:SOURCES += osd_mac.mm
|
||||
win32|fedora-win32-cross:SOURCES += osd_win.cpp
|
||||
|
||||
# QXT
|
||||
INCLUDEPATH += ../3rdparty/qxt
|
||||
unix:!macx:!fedora-win32-cross: {
|
||||
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
|
||||
}
|
||||
|
||||
# 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:!fedora-win32-cross:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_unix.cpp
|
||||
win32|fedora-win32-cross:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_win.cpp
|
||||
|
||||
# Hide the console on windows
|
||||
win32|fedora-win32-cross:LIBS += -Wl,-subsystem,windows
|
||||
|
||||
# CONFIG += console
|
||||
# Installs
|
||||
target.path = $${install_prefix}/bin/
|
||||
desktop.path = dummy
|
||||
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
|
Loading…
Reference in New Issue