datovka/datovka-fix-pro.patch

68 lines
1.3 KiB
Diff
Raw Normal View History

Index: datovka.pro
===================================================================
--- datovka.pro.orig
+++ datovka.pro
@@ -61,7 +61,6 @@ isEqual(QT_MAJOR_VERSION, $${REQUIRED_MA
#LIBISDS_PREFIX = "$$HOME/third_party/built"
DEFINES += \
- DEBUG=1 \
VERSION=\\\"$${VERSION}\\\"
unix:!macx {
@@ -110,12 +109,6 @@ unix:!macx {
localisation.files += locale/datovka_cs.qm \
locale/datovka_en.qm
- additional.path = "$${TEXT_FILES_INST_DIR}"
- additional.files = \
- AUTHORS \
- COPYING \
- README
-
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
PKGDATADIR=\\\"$$PKGDATADIR\\\" \
LOCALE_INST_DIR="\"\\\"$${LOCALE_INST_DIR}\\\"\"" \
@@ -133,17 +126,20 @@ unix:!macx {
icon64 \
icon128 \
icon256 \
- localisation \
- additional
+ localisation
}
}
QMAKE_CXXFLAGS = \
- -g -O0 -std=c++11 \
+ -g -std=c++11 $$(CXXFLAGS) \
-Wall -Wextra -pedantic \
- -Wdate-time -Wformat -Werror=format-security \
+ -Wformat -Werror=format-security \
-Isrc/views
+QMAKE_CFLAGS += \
+ -g $$(CFLAGS) \
+ -Wall -Wextra -pedantic
+
INCLUDEPATH += \
src
@@ -211,15 +207,8 @@ macx {
locale/datovka_en.qm
localisation.files += locale/qtbase_cs.qm
- additional.path = "Contents/Resources"
- additional.files = \
- AUTHORS \
- COPYING \
- ChangeLog
-
QMAKE_BUNDLE_DATA +=\
- localisation \
- additional
+ localisation
}
win32 {