mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-misc/mobile-datovka: add dependency on dev-qt/qttranslations
Previously used dirty fix can be dropped now! Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
From a8613894370b5ff66731896b293e024151dba66c Mon Sep 17 00:00:00 2001
|
||||
From: David Heidelberg <david@ixit.cz>
|
||||
Date: Thu, 23 Apr 2020 21:53:14 +0200
|
||||
Subject: [PATCH 1/3] Compile under Linux.
|
||||
|
||||
Signed-off-by: David Heidelberg <david@ixit.cz>
|
||||
---
|
||||
mobile-datovka.pro | 15 ++++++++-------
|
||||
1 file changed, 8 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/mobile-datovka.pro b/mobile-datovka.pro
|
||||
index 8cef44c..635279f 100644
|
||||
--- a/mobile-datovka.pro
|
||||
+++ b/mobile-datovka.pro
|
||||
@@ -64,13 +64,13 @@ command = $$LRELEASE mobile-datovka.pro
|
||||
system($$command)|error("Failed to run: $$command")
|
||||
|
||||
# Copy translation files at qmake invocation.
|
||||
-message(Copying Qt translation from $$system_path($$[QT_INSTALL_DATA]).)
|
||||
-system($$QMAKE_COPY $$system_path($$[QT_INSTALL_DATA]/translations/qtbase_cs.qm) $$system_path(res/locale/qtbase_cs.qm))
|
||||
-system($$QMAKE_COPY $$system_path($$[QT_INSTALL_DATA]/translations/qtbase_en.qm) $$system_path(res/locale/qtbase_en.qm))
|
||||
+#message(Copying Qt translation from $$system_path($$[QT_INSTALL_DATA]).)
|
||||
+#system($$QMAKE_COPY $$system_path($$[QT_INSTALL_DATA]/translations/qtbase_cs.qm) $$system_path(res/locale/qtbase_cs.qm))
|
||||
+#system($$QMAKE_COPY $$system_path($$[QT_INSTALL_DATA]/translations/qtbase_en.qm) $$system_path(res/locale/qtbase_en.qm))
|
||||
|
||||
TRANSLATIONS_FILES += \
|
||||
- res/locale/qtbase_cs.qm \
|
||||
- res/locale/qtbase_en.qm \
|
||||
+# res/locale/qtbase_cs.qm \
|
||||
+# res/locale/qtbase_en.qm \
|
||||
res/locale/datovka_cs.qm \
|
||||
res/locale/datovka_en.qm
|
||||
|
||||
@@ -374,8 +374,9 @@ HEADERS += \
|
||||
src/zfo.h
|
||||
|
||||
RESOURCES += \
|
||||
- res/qml.qrc \
|
||||
- res/translations.qrc
|
||||
+ res/qml.qrc
|
||||
+# res/qml.qrc \
|
||||
+# res/translations.qrc
|
||||
|
||||
# Linux target.
|
||||
linux {
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -27,6 +27,7 @@ RDEPEND="
|
||||
>=dev-qt/qtwidgets-${QT_PV}
|
||||
>=dev-qt/qtquickcontrols-${QT_PV}
|
||||
>=dev-qt/qtquickcontrols2-${QT_PV}
|
||||
>=dev-qt/qttranslations-${QT_PV}
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@@ -37,10 +38,8 @@ DEPEND="
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.9.1-quickdirtyfix.patch"
|
||||
"${FILESDIR}/${P}-0001-add-metainfo-for-distributions.patch"
|
||||
"${FILESDIR}/${P}-0002-Support-Linux-phones-and-desktop.patch"
|
||||
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user