2019-12-01 17:40:10 +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-seaprint
|
|
|
|
|
2020-09-25 11:23:29 +03:00
|
|
|
i18n.path = /usr/share/harbour-seaprint/translations
|
|
|
|
i18n.files = translations/harbour-seaprint-de.qm \
|
|
|
|
translations/harbour-seaprint-zh_CN.qm \
|
|
|
|
translations/harbour-seaprint-fr.qm \
|
|
|
|
translations/harbour-seaprint-es.qm \
|
|
|
|
translations/harbour-seaprint-nl.qm \
|
|
|
|
translations/harbour-seaprint-pl.qm
|
|
|
|
|
|
|
|
INSTALLS += i18n
|
|
|
|
|
|
|
|
# automatic generation of the translation .qm files from .ts files
|
|
|
|
system(lrelease $$PWD/translations/*.ts)
|
|
|
|
|
2019-12-01 17:40:10 +03:00
|
|
|
CONFIG += sailfishapp
|
2021-05-18 22:04:52 +03:00
|
|
|
QT += svg
|
2021-11-08 21:49:47 +03:00
|
|
|
PKGCONFIG += mlite5 libcurl poppler glib-2.0 cairo
|
2021-11-20 19:10:55 +03:00
|
|
|
LIBS += -lcurl -lglib-2.0 -lgobject-2.0 -ldl
|
|
|
|
DEFINES += MADNESS=1
|
2022-01-01 21:19:20 +03:00
|
|
|
DEFINES += PDF_CREATOR='\\"SeaPrint\ $$VERSION\\"'
|
2022-01-01 21:26:40 +03:00
|
|
|
DEFINES += SEAPRINT_VERSION='\\"$$VERSION\\"'
|
2019-12-20 00:59:56 +03:00
|
|
|
|
2019-12-01 17:55:55 +03:00
|
|
|
SOURCES += src/harbour-seaprint.cpp \
|
2020-05-11 21:44:53 +03:00
|
|
|
src/convertchecker.cpp \
|
2021-11-08 21:49:47 +03:00
|
|
|
src/curlrequester.cpp \
|
2022-02-19 19:33:59 +03:00
|
|
|
src/imageitem.cpp \
|
2019-12-01 17:55:55 +03:00
|
|
|
src/ippdiscovery.cpp \
|
|
|
|
src/ippmsg.cpp \
|
2020-02-18 22:40:31 +03:00
|
|
|
src/ippprinter.cpp \
|
2020-05-05 21:07:21 +03:00
|
|
|
src/mimer.cpp \
|
|
|
|
ppm2pwg/ppm2pwg.cpp \
|
2021-11-08 21:49:47 +03:00
|
|
|
ppm2pwg/pdf2printable.cpp \
|
2021-05-18 22:04:52 +03:00
|
|
|
ppm2pwg/bytestream/bytestream.cpp \
|
2021-05-25 20:37:49 +03:00
|
|
|
src/overrider.cpp \
|
2022-01-07 22:36:21 +03:00
|
|
|
src/printerworker.cpp \
|
2021-06-19 18:47:11 +03:00
|
|
|
src/settings.cpp \
|
2021-05-18 22:04:52 +03:00
|
|
|
src/svgprovider.cpp
|
2019-12-01 17:40:10 +03:00
|
|
|
|
|
|
|
DISTFILES += qml/harbour-seaprint.qml \
|
2021-07-09 23:13:49 +03:00
|
|
|
qml/components/DependentOn.qml \
|
2019-12-01 17:40:10 +03:00
|
|
|
qml/cover/CoverPage.qml \
|
2021-04-10 15:42:54 +03:00
|
|
|
qml/components/*qml \
|
2019-12-01 17:55:55 +03:00
|
|
|
qml/pages/*.qml \
|
2019-12-08 15:55:56 +03:00
|
|
|
qml/pages/*.js \
|
2019-12-13 00:09:08 +03:00
|
|
|
qml/pages/*svg \
|
2021-05-17 21:12:53 +03:00
|
|
|
qml/pages/*png \
|
2019-12-01 17:40:10 +03:00
|
|
|
rpm/harbour-seaprint.changes.in \
|
|
|
|
rpm/harbour-seaprint.changes.run.in \
|
|
|
|
rpm/harbour-seaprint.spec \
|
|
|
|
translations/*.ts \
|
|
|
|
harbour-seaprint.desktop
|
|
|
|
|
|
|
|
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
|
|
|
|
|
|
|
|
# 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.
|
2019-12-13 23:36:39 +03:00
|
|
|
TRANSLATIONS += translations/harbour-seaprint-de.ts \
|
2019-12-20 22:26:19 +03:00
|
|
|
translations/harbour-seaprint-zh_CN.ts \
|
2020-01-04 19:59:54 +03:00
|
|
|
translations/harbour-seaprint-fr.ts \
|
2020-09-13 18:10:17 +03:00
|
|
|
translations/harbour-seaprint-es.ts \
|
2020-09-24 09:22:25 +03:00
|
|
|
translations/harbour-seaprint-nl.ts \
|
2020-09-13 18:10:17 +03:00
|
|
|
translations/harbour-seaprint-pl.ts
|
2019-12-01 17:55:55 +03:00
|
|
|
|
|
|
|
HEADERS += \
|
2020-05-11 21:44:53 +03:00
|
|
|
src/convertchecker.h \
|
2021-11-08 21:49:47 +03:00
|
|
|
src/curlrequester.h \
|
2022-02-19 19:33:59 +03:00
|
|
|
src/imageitem.h \
|
2019-12-01 17:55:55 +03:00
|
|
|
src/ippdiscovery.h \
|
|
|
|
src/ippmsg.h \
|
2020-02-18 22:40:31 +03:00
|
|
|
src/ippprinter.h \
|
2020-05-05 21:07:21 +03:00
|
|
|
src/mimer.h \
|
2021-11-08 21:49:47 +03:00
|
|
|
ppm2pwg/ppm2pwg.h \
|
|
|
|
ppm2pwg/pdf2printable.h \
|
2021-11-20 19:10:55 +03:00
|
|
|
ppm2pwg/madness.h \
|
2021-01-20 21:30:45 +03:00
|
|
|
ppm2pwg/PwgPgHdr.h \
|
|
|
|
ppm2pwg/PwgPgHdr.codable \
|
|
|
|
ppm2pwg/UrfPgHdr.h \
|
|
|
|
ppm2pwg/UrfPgHdr.codable \
|
2020-05-05 21:07:21 +03:00
|
|
|
ppm2pwg/bytestream/bytestream.h \
|
2020-05-16 16:17:42 +03:00
|
|
|
ppm2pwg/bytestream/codable.h \
|
2021-05-25 20:37:49 +03:00
|
|
|
src/overrider.h \
|
2021-05-18 22:04:52 +03:00
|
|
|
src/papersizes.h \
|
2022-01-07 22:36:21 +03:00
|
|
|
src/printerworker.h \
|
2021-06-19 18:47:11 +03:00
|
|
|
src/settings.h \
|
2021-05-18 22:04:52 +03:00
|
|
|
src/svgprovider.h
|
2020-05-01 21:54:33 +03:00
|
|
|
|
2020-05-05 21:07:21 +03:00
|
|
|
INCLUDEPATH += ppm2pwg \
|
|
|
|
ppm2pwg/bytestream
|