harbour-tooter/harbour-tooter.pro
Dusko Angirevic b48f9f139a 0.2.6 releaed
- fixed tag search positioning
2018-05-25 10:25:05 +02:00

117 lines
3.7 KiB
Prolog

# 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
QT += network dbus sql
CONFIG += sailfishapp link_pkgconfig
PKGCONFIG += sailfishapp nemonotifications-qt5
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/
config.files = config/icon-lock-harbour-tooter.png
notification_categories.path = /usr/share/lipstick/notificationcategories
notification_categories.files = config/x-harbour.tooter.activity.*
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
SOURCES += src/harbour-tooter.cpp \
src/filedownloader.cpp \
src/imageuploader.cpp \
src/notifications.cpp \
src/dbusAdaptor.cpp \
src/dbus.cpp
OTHER_FILES += qml/harbour-tooter.qml \
config/* \
qml/cover/CoverPage.qml \
qml/pages/MainPage.qml \
qml/pages/LoginPage.qml \
qml/pages/components/MyList.qml \
qml/pages/components/Navigation.qml \
qml/pages/Conversation.qml \
qml/pages/components/Toot.qml \
qml/pages/Browser.qml \
qml/pages/Profile.qml \
qml/pages/components/ProfileHeader.qml \
rpm/harbour-tooter.spec \
rpm/harbour-tooter.yaml \
translations/*.ts \
qml/pages/components/VisualContainer.qml \
qml/pages/components/MiniStatus.qml \
qml/pages/components/MiniHeader.qml \
qml/pages/components/ItemUser.qml \
harbour-tooter.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128 256x256
# 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.ts \
translations/harbour-tooterts_de.ts \
translations/harbour-tooterts_el.ts \
translations/harbour-tooterts_en.ts \
translations/harbour-tooterts_es.ts \
translations/harbour-tooterts_fr.ts \
translations/harbour-tooterts_nl.ts \
translations/harbour-tooterts_nl_BE.ts \
translations/harbour-tooterts_oc.ts \
translations/harbour-tooterts_ru.ts \
translations/harbour-tooterts_sr.ts \
translations/harbour-tooterts_sv.ts
DISTFILES += \
qml/lib/API.js \
qml/images/notification.svg \
qml/images/home.svg \
qml/images/mesagess.svg \
qml/images/search.svg \
qml/images/verified.svg \
qml/images/local.svg \
qml/images/federated.svg \
qml/images/tooter.svg \
qml/lib/Mastodon.js \
qml/lib/Worker.js \
qml/images/boosted.svg \
qml/pages/Settings.qml \
qml/pages/components/MediaBlock.qml \
qml/pages/components/MyImage.qml \
qml/pages/components/ImageFullScreen.qml \
config/icon-lock-harbour-tooter.png \
config/x-harbour.tooter.activity.conf \
rpm/harbour-tooter.changes
HEADERS += \
src/imageuploader.h \
src/filedownloader.h \
src/notifications.h \
src/dbusAdaptor.h \
src/dbus.h