theshell/shell/shell.pro
2018-05-14 18:26:30 +10:00

223 lines
6 KiB
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2016-02-17T17:22:06
#
#-------------------------------------------------
QT += core gui dbus multimedia xml network positioning svg charts concurrent
CONFIG += c++14
LIBS += -lcrypt
unix {
CONFIG += link_pkgconfig
PKGCONFIG += glib-2.0 x11 x11-xcb xcb-keysyms xscrnsaver xext libpulse libpulse-mainloop-glib libsystemd libunwind
}
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DEFINES += TS_VERSION="7.2"
unix {
QT += thelib x11extras
}
blueprint {
TARGET = theshellb
DEFINES += "BLUEPRINT"
DEFINES += "SHAREDIR=\\\"/usr/share/theshellb/\\\""
} else {
TARGET = theshell
DEFINES += "SHAREDIR=\\\"/usr/share/theshell/\\\""
}
TEMPLATE = app
QDBUSXML2CPP_ADAPTOR_HEADER_FLAGS = -l NotificationDBus -i notificationdbus.h
QDBUSXML2CPP_ADAPTOR_SOURCE_FLAGS = -l NotificationDBus -i notificationdbus.h
#DBUS_ADAPTORS += org.freedesktop.Notifications.xml
#notifications.files = org.freedesktop.Notifications.xml
#notifications.header_flags = -l NotificationDBus -i notificationdbus.h
#DBUS_ADAPTORS += notifications
#DBUS_ADAPTORS += com.canonical.AppMenu.Registrar.xml
power.files = org.thesuite.power.xml
location.files = org.freedesktop.GeoClue2.Agent.xml
location.header_flags = -l LocationServices -i location/locationservices.h
location.source_flags = -l LocationServices -i location/locationservices.h
dsig.files = org.thesuite.theshell.xml
DBUS_ADAPTORS += power dsig location
SOURCES += main.cpp\
mainwindow.cpp \
window.cpp \
menu.cpp \
endsessionwait.cpp \
background.cpp \
upowerdbus.cpp \
infopanedropdown.cpp \
clickablelabel.cpp \
hoverframe.cpp \
choosebackground.cpp \
switch.cpp \
FlowLayout/flowlayout.cpp \
segfaultdialog.cpp \
globalfilter.cpp \
systrayicons.cpp \
nativeeventfilter.cpp \
hotkeyhud.cpp \
dbusevents.cpp \
fadebutton.cpp \
rundialog.cpp \
mousescrollwidget.cpp \
animatedstackedwidget.cpp \
onboarding.cpp \
newmedia.cpp \
bthandsfree.cpp \
tutorialwindow.cpp \
screenshotwindow.cpp \
audiomanager.cpp \
taskbarmanager.cpp \
dbussignals.cpp \
networkmanager/networkwidget.cpp \
networkmanager/availablenetworkslist.cpp \
notificationsWidget/notificationswidget.cpp \
notificationsWidget/notificationsdbusadaptor.cpp \
notificationsWidget/notificationpopup.cpp \
notificationsWidget/notificationobject.cpp \
notificationsWidget/notificationappgroup.cpp \
notificationsWidget/notificationpanel.cpp \
apps/appslistmodel.cpp \
apps/app.cpp \
networkmanager/savednetworkslist.cpp \
screenrecorder.cpp \
kdeconnect/kdeconnectwidget.cpp \
kdeconnect/kdeconnectdevicesmodel.cpp \
location/locationservices.cpp
HEADERS += mainwindow.h \
window.h \
menu.h \
endsessionwait.h \
background.h \
upowerdbus.h \
infopanedropdown.h \
clickablelabel.h \
hoverframe.h \
choosebackground.h \
switch.h \
FlowLayout/flowlayout.h \
segfaultdialog.h \
globalfilter.h \
systrayicons.h \
nativeeventfilter.h \
hotkeyhud.h \
dbusevents.h \
fadebutton.h \
rundialog.h \
mousescrollwidget.h \
animatedstackedwidget.h \
onboarding.h \
newmedia.h \
bthandsfree.h \
tutorialwindow.h \
screenshotwindow.h \
audiomanager.h \
internationalisation.h \
taskbarmanager.h \
dbussignals.h \
networkmanager/networkwidget.h \
networkmanager/availablenetworkslist.h \
notificationsWidget/notificationswidget.h \
notificationsWidget/notificationsdbusadaptor.h \
notificationsWidget/notificationpopup.h \
notificationsWidget/notificationobject.h \
notificationsWidget/notificationappgroup.h \
notificationsWidget/notificationpanel.h \
apps/appslistmodel.h \
apps/app.h \
networkmanager/savednetworkslist.h \
screenrecorder.h \
kdeconnect/kdeconnectwidget.h \
kdeconnect/kdeconnectdevicesmodel.h \
location/locationservices.h
FORMS += mainwindow.ui \
menu.ui \
endsessionwait.ui \
background.ui \
infopanedropdown.ui \
choosebackground.ui \
segfaultdialog.ui \
hotkeyhud.ui \
rundialog.ui \
onboarding.ui \
newmedia.ui \
tutorialwindow.ui \
screenshotwindow.ui \
networkmanager/networkwidget.ui \
notificationsWidget/notificationswidget.ui \
notificationsWidget/notificationpopup.ui \
notificationsWidget/notificationappgroup.ui \
notificationsWidget/notificationpanel.ui \
kdeconnect/kdeconnectwidget.ui
DISTFILES += \
org.freedesktop.Notifications.xml \
theshell.desktop \
theshellb.desktop \
org.freedesktop.GeoClue2.Agent.xml \
polkit/org.thesuite.theshell.policy
RESOURCES += \
resources.qrc \
resources2.qrc
TRANSLATIONS += translations/vi_VN.ts \
translations/da_DK.ts \
translations/es_ES.ts \
translations/lt_LT.ts \
translations/nl_NL.ts \
translations/pl_PL.ts \
translations/pt_BR.ts \
translations/ru_RU.ts \
translations/sv_SE.ts \
translations/en_AU.ts \
translations/en_US.ts \
translations/en_GB.ts \
translations/en_NZ.ts \
translations/de_DE.ts \
translations/in_IN.ts \
translations/au_AU.ts \
translations/it_IT.ts
unix {
target.path = /usr/bin/
translations.files = translations/*
xsession.path = /usr/share/xsessions
ringtones.files = tones/*
blueprint {
translations.path = /usr/share/theshellb/translations
xsession.files = theshellb.desktop
ringtones.path = /usr/share/sounds/theshellb/tones
} else {
translations.path = /usr/share/theshell/translations
xsession.files = theshell.desktop
ringtones.path = /usr/share/sounds/theshell/tones
#Install polkit files only on theShell stable
polkit.path = /usr/share/polkit-1/actions
polkit.files = polkit/org.thesuite.theshell.policy
INSTALLS += polkit
}
INSTALLS += target translations xsession ringtones
}