summaryrefslogtreecommitdiff
path: root/dev-python/meteo-qt/files/lrelease.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-03-12 23:25:46 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-03-12 23:25:46 +0000
commitf5be84651ecc167ba6124a7f9bb29842d3cf965a (patch)
treed80f0c1e476232e8e78c4c95873c7547f9beb389 /dev-python/meteo-qt/files/lrelease.patch
parent8d63874ab32a64d1c2aa6a64a11971d6a28f270d (diff)
add meteo-qt
Diffstat (limited to 'dev-python/meteo-qt/files/lrelease.patch')
-rw-r--r--dev-python/meteo-qt/files/lrelease.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/meteo-qt/files/lrelease.patch b/dev-python/meteo-qt/files/lrelease.patch
new file mode 100644
index 00000000..f28e1e3f
--- /dev/null
+++ b/dev-python/meteo-qt/files/lrelease.patch
@@ -0,0 +1,12 @@
+diff -Nur a/setup.py b/setup.py
+--- a/setup.py 2017-03-09 03:38:06.000000000 +0000
++++ b/setup.py 2017-03-12 23:16:27.093692814 +0000
+@@ -11,7 +11,7 @@
+ # os.system('pyrcc5 -o meteo_qt/qrc_resources.py meteo_qt/resources.qrc')
+ os.system('pylupdate5 meteo_qt/meteo_qt.pro')
+ for ts in glob.glob('meteo_qt/translations/*.ts'):
+- os.system('lrelease {0} -qm {1}'.format(ts, (ts[:-2]+'qm')))
++ os.system('/usr/lib64/qt5/bin/lrelease {0} -qm {1}'.format(ts, (ts[:-2]+'qm')))
+
+
+ setup(