Commit 9600d187 authored by Sylvia van Os's avatar Sylvia van Os

Fix building languages

lrelease seems unable to read wildcards in a .pro file, so we directly
tell it to just translate all translations
parent f4bb5d7e
...@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-alarms" ...@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-alarms"
FILES_${PN} += "/usr/share/translations/" FILES_${PN} += "/usr/share/translations/"
do_install_append() { do_install_append() {
lrelease ${S}/asteroid-alarmclock.pro lrelease ${S}/asteroid-alarmclock.*.ts
install -d ${D}/usr/share/translations/ install -d ${D}/usr/share/translations/
cp ${S}/asteroid-alarmclock.*.qm ${D}/usr/share/translations/ cp ${S}/asteroid-alarmclock.*.qm ${D}/usr/share/translations/
} }
...@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "qtconnectivity-qmlplugins nemo-qml-plugin-systemsettings nemo ...@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "qtconnectivity-qmlplugins nemo-qml-plugin-systemsettings nemo
FILES_${PN} += "/usr/share/translations/" FILES_${PN} += "/usr/share/translations/"
do_install_append() { do_install_append() {
lrelease ${S}/asteroid-settings.pro lrelease ${S}/asteroid-settings.*.ts
install -d ${D}/usr/share/translations/ install -d ${D}/usr/share/translations/
cp ${S}/asteroid-settings.*.qm ${D}/usr/share/translations/ cp ${S}/asteroid-settings.*.qm ${D}/usr/share/translations/
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment