summaryrefslogtreecommitdiff
path: root/dev-python/meteo-qt/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/meteo-qt/files')
-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(