harbour-tooter/harbour-tooter.pro

118 lines
3.9 KiB
Prolog
Raw Normal View History

2017-06-01 17:13:51 +03:00
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = harbour-tooter
2018-10-25 16:08:30 +03:00
2018-10-24 14:38:17 +03:00
CONFIG += sailfishapp
2017-06-01 17:13:51 +03:00
QT += network dbus sql
2018-10-24 14:38:17 +03:00
CONFIG += link_pkgconfig
PKGCONFIG += sailfishapp
PKGCONFIG += \
nemonotifications-qt5
2017-10-25 01:37:33 +03:00
DEFINES += "APPVERSION=\\\"$${SPECVERSION}\\\""
DEFINES += "APPNAME=\\\"$${TARGET}\\\""
!exists( src/dbusAdaptor.h ) {
system(qdbusxml2cpp config/ba.dysko.harbour.tooter.xml -i dbus.h -a src/dbusAdaptor)
}
config.path = /usr/share/$${TARGET}/config/
2017-10-25 17:30:23 +03:00
config.files = config/icon-lock-harbour-tooter.png
2017-10-25 01:37:33 +03:00
notification_categories.path = /usr/share/lipstick/notificationcategories
2017-10-25 17:30:23 +03:00
notification_categories.files = config/x-harbour.tooter.activity.*
2017-10-25 01:37:33 +03:00
dbus_services.path = /usr/share/dbus-1/services/
dbus_services.files = config/ba.dysko.harbour.tooter.service
interfaces.path = /usr/share/dbus-1/interfaces/
interfaces.files = config/ba.dysko.harbour.tooter.xml
2018-10-25 16:08:30 +03:00
SOURCES += src/harbour-tooter.cpp
SOURCES += src/imageuploader.cpp
SOURCES += src/filedownloader.cpp
SOURCES += src/notifications.cpp
SOURCES += src/dbusAdaptor.cpp
SOURCES += src/dbus.cpp
2017-06-01 17:13:51 +03:00
2018-10-25 16:08:30 +03:00
HEADERS += src/imageuploader.h
HEADERS += src/filedownloader.h
HEADERS += src/notifications.h
HEADERS += src/dbusAdaptor.h
HEADERS += src/dbus.h
2017-06-01 17:13:51 +03:00
2018-10-25 16:08:30 +03:00
DISTFILES += qml/harbour-tooter.qml \
qml/pages/components/VisualContainer.qml \
qml/pages/components/MiniStatus.qml \
qml/pages/components/MiniHeader.qml \
qml/pages/components/ItemUser.qml \
qml/pages/components/MyList.qml \
qml/pages/components/Navigation.qml \
qml/pages/components/ProfileHeader.qml \
qml/pages/components/MediaBlock.qml \
qml/pages/components/MyImage.qml \
qml/pages/components/ImageFullScreen.qml \
2017-06-01 17:13:51 +03:00
qml/cover/CoverPage.qml \
qml/pages/MainPage.qml \
qml/pages/LoginPage.qml \
qml/pages/Conversation.qml \
qml/pages/components/Toot.qml \
qml/pages/Browser.qml \
qml/pages/Profile.qml \
2018-10-25 16:08:30 +03:00
qml/pages/Settings.qml \
2017-06-01 17:13:51 +03:00
qml/lib/API.js \
qml/images/notification.svg \
qml/images/home.svg \
qml/images/mesagess.svg \
qml/images/search.svg \
qml/images/verified.svg \
2018-05-24 12:14:02 +03:00
qml/images/local.svg \
qml/images/federated.svg \
qml/images/tooter.svg \
qml/lib/Mastodon.js \
qml/lib/Worker.js \
2017-07-20 13:14:16 +03:00
qml/images/boosted.svg \
2017-10-25 01:37:33 +03:00
config/icon-lock-harbour-tooter.png \
config/x-harbour.tooter.activity.conf \
2018-10-24 14:38:17 +03:00
rpm/harbour-tooter.changes \
2018-10-25 16:08:30 +03:00
rpm/harbour-tooter.changes.run.in \
2018-10-24 14:38:17 +03:00
rpm/harbour-tooter.spec \
rpm/harbour-tooter.yaml \
2018-10-25 16:08:30 +03:00
translations/*.ts \
harbour-tooter.desktop
2018-10-24 14:38:17 +03:00
2018-10-25 16:08:30 +03:00
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
2017-07-06 01:59:00 +03:00
2018-10-24 14:38:17 +03:00
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/harbour-tooter-de.ts
TRANSLATIONS += translations/harbour-tooter-el.ts
TRANSLATIONS += translations/harbour-tooter-es.ts
TRANSLATIONS += translations/harbour-tooter-fi.ts
TRANSLATIONS += translations/harbour-tooter-fr.ts
TRANSLATIONS += translations/harbour-tooter-nl.ts
TRANSLATIONS += translations/harbour-tooter-nl_BE.ts
TRANSLATIONS += translations/harbour-tooter-oc.ts
TRANSLATIONS += translations/harbour-tooter-pl.ts
TRANSLATIONS += translations/harbour-tooter-ru.ts
TRANSLATIONS += translations/harbour-tooter-sr.ts
TRANSLATIONS += translations/harbour-tooter-sv.ts
TRANSLATIONS += translations/harbour-tooter-zh_CN.ts