2020-05-24 20:54:46 +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
|
|
|
|
|
2020-05-25 19:44:58 +03:00
|
|
|
TARGET = harbour-tooterb
|
2020-05-24 20:54:46 +03:00
|
|
|
|
|
|
|
CONFIG += sailfishapp
|
|
|
|
|
|
|
|
QT += network dbus sql
|
2020-06-29 11:48:06 +03:00
|
|
|
QT += multimedia
|
2020-05-24 20:54:46 +03:00
|
|
|
CONFIG += link_pkgconfig
|
2020-07-03 11:45:03 +03:00
|
|
|
PKGCONFIG += sailfishapp \
|
2020-05-24 20:54:46 +03:00
|
|
|
nemonotifications-qt5
|
|
|
|
|
|
|
|
DEFINES += "APPVERSION=\\\"$${SPECVERSION}\\\""
|
|
|
|
DEFINES += "APPNAME=\\\"$${TARGET}\\\""
|
|
|
|
|
|
|
|
!exists( src/dbusAdaptor.h ) {
|
2020-05-04 10:26:41 +03:00
|
|
|
system(qdbusxml2cpp config/ba.dysko.harbour.tooterb.xml -i dbus.h -a src/dbusAdaptor)
|
2020-05-24 20:54:46 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
config.path = /usr/share/$${TARGET}/config/
|
2020-05-06 17:02:20 +03:00
|
|
|
config.files = config/icon-lock-harbour-tooterb.png
|
2020-05-24 20:54:46 +03:00
|
|
|
|
|
|
|
notification_categories.path = /usr/share/lipstick/notificationcategories
|
2020-05-04 10:26:41 +03:00
|
|
|
notification_categories.files = config/x-harbour.tooterb.activity.*
|
2020-05-24 20:54:46 +03:00
|
|
|
|
|
|
|
dbus_services.path = /usr/share/dbus-1/services/
|
2020-05-04 10:26:41 +03:00
|
|
|
dbus_services.files = config/ba.dysko.harbour.tooterb.service
|
2020-05-24 20:54:46 +03:00
|
|
|
|
|
|
|
interfaces.path = /usr/share/dbus-1/interfaces/
|
2020-05-25 19:44:58 +03:00
|
|
|
interfaces.files = config/ba.dysko.harbourb.tooterb.xml
|
2020-05-24 20:54:46 +03:00
|
|
|
|
2020-06-10 17:42:34 +03:00
|
|
|
SOURCES += src/harbour-tooterb.cpp \
|
2020-06-10 15:42:00 +03:00
|
|
|
src/imageuploader.cpp \
|
|
|
|
src/filedownloader.cpp \
|
|
|
|
src/notifications.cpp \
|
|
|
|
src/dbusAdaptor.cpp \
|
|
|
|
src/dbus.cpp
|
2020-05-24 20:54:46 +03:00
|
|
|
|
2020-06-10 15:42:00 +03:00
|
|
|
HEADERS += src/imageuploader.h \
|
|
|
|
src/filedownloader.h \
|
|
|
|
src/notifications.h \
|
|
|
|
src/dbusAdaptor.h \
|
|
|
|
src/dbus.h
|
2020-05-24 20:54:46 +03:00
|
|
|
|
2020-05-04 10:26:41 +03:00
|
|
|
DISTFILES += qml/harbour-tooterb.qml \
|
2020-06-10 17:42:34 +03:00
|
|
|
qml/images/tooterb-cover.svg \
|
2020-05-29 21:05:05 +03:00
|
|
|
qml/pages/ConversationPage.qml \
|
|
|
|
qml/pages/ProfilePage.qml \
|
|
|
|
qml/pages/SettingsPage.qml \
|
2020-05-24 20:54:46 +03:00
|
|
|
qml/pages/components/InfoBanner.qml \
|
2020-06-03 08:34:33 +03:00
|
|
|
qml/pages/components/MediaFullScreen.qml \
|
2020-06-29 11:48:06 +03:00
|
|
|
qml/pages/components/MyMedia.qml \
|
|
|
|
qml/pages/components/NavigationPanel.qml \
|
2020-06-03 08:34:33 +03:00
|
|
|
qml/pages/components/ProfileImage.qml \
|
2020-05-24 20:54:46 +03:00
|
|
|
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/ProfileHeader.qml \
|
|
|
|
qml/pages/components/MediaBlock.qml \
|
2022-11-30 18:50:50 +03:00
|
|
|
qml/pages/components/MediaItem.qml \
|
2020-05-24 20:54:46 +03:00
|
|
|
qml/cover/CoverPage.qml \
|
|
|
|
qml/pages/MainPage.qml \
|
|
|
|
qml/pages/LoginPage.qml \
|
|
|
|
qml/pages/Browser.qml \
|
|
|
|
qml/lib/API.js \
|
2020-06-05 19:38:15 +03:00
|
|
|
qml/images/icon-s-following \
|
2020-06-18 19:40:24 +03:00
|
|
|
qml/images/icon-s-bookmark \
|
2023-01-18 14:18:06 +03:00
|
|
|
qml/images/icon-m-bookmark \
|
2020-06-05 19:38:15 +03:00
|
|
|
qml/images/icon-m-emoji.svg \
|
2020-05-24 20:54:46 +03:00
|
|
|
qml/images/icon-m-profile.svg \
|
|
|
|
qml/images/icon-l-profile.svg \
|
|
|
|
qml/lib/Mastodon.js \
|
|
|
|
qml/lib/Worker.js \
|
2020-05-25 19:13:55 +03:00
|
|
|
config/icon-lock-harbour-tooterb.png \
|
2020-05-04 10:26:41 +03:00
|
|
|
config/x-harbour.tooterb.activity.conf \
|
2023-10-11 13:39:33 +03:00
|
|
|
rpm/harbour-tooterb.changes.run \
|
2020-05-04 10:26:41 +03:00
|
|
|
rpm/harbour-tooterb.changes \
|
|
|
|
rpm/harbour-tooterb.spec \
|
2020-05-24 20:54:46 +03:00
|
|
|
translations/*.ts \
|
2020-05-25 19:44:58 +03:00
|
|
|
harbour-tooterb.desktop
|
2020-05-24 20:54:46 +03:00
|
|
|
|
|
|
|
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
|
|
|
|
|
|
|
|
# to disable building translations every time, comment out the
|
|
|
|
# following CONFIG line
|
2020-06-10 15:42:00 +03:00
|
|
|
CONFIG += sailfishapp_i18n
|
2020-05-24 20:54:46 +03:00
|
|
|
|
2020-06-10 17:42:34 +03:00
|
|
|
TRANSLATIONS += translations/harbour-tooterb.ts \
|
|
|
|
translations/harbour-tooterb-de.ts \
|
|
|
|
translations/harbour-tooterb-el.ts \
|
|
|
|
translations/harbour-tooterb-es.ts \
|
|
|
|
translations/harbour-tooterb-fr.ts \
|
|
|
|
translations/harbour-tooterb-it.ts \
|
|
|
|
translations/harbour-tooterb-nl.ts \
|
|
|
|
translations/harbour-tooterb-nl_BE.ts \
|
|
|
|
translations/harbour-tooterb-oc.ts \
|
|
|
|
translations/harbour-tooterb-pl.ts \
|
|
|
|
translations/harbour-tooterb-ru.ts \
|
|
|
|
translations/harbour-tooterb-sr.ts \
|
|
|
|
translations/harbour-tooterb-sv.ts \
|
|
|
|
translations/harbour-tooterb-zh_CN.ts
|