datovka/datovka-fix-pro.patch

53 lines
1.2 KiB
Diff
Raw Normal View History

Index: datovka-4.3.1/datovka.pro
===================================================================
--- datovka-4.3.1.orig/datovka.pro
+++ datovka-4.3.1/datovka.pro
@@ -49,7 +49,6 @@ isEqual(QT_MAJOR_VERSION, $${REQUIRED_MA
#LIBISDS_PREFIX = "$$HOME/third_party/built"
DEFINES += \
- DEBUG=1 \
VERSION=\\\"$${VERSION}\\\"
unix:!macx {
@@ -98,12 +97,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}\\\"\"" \
@@ -126,8 +119,11 @@ unix:!macx {
}
}
-QMAKE_CXXFLAGS = \
- -g -O0 -std=c++11 \
+QMAKE_CXXFLAGS += \
+ -g -std=c++11 $$(CXXFLAGS) \
+ -Wall -Wextra -pedantic
+QMAKE_CFLAGS += \
+ -g $$(CFLAGS) \
-Wall -Wextra -pedantic
INCLUDEPATH += \
@@ -198,12 +194,6 @@ 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