Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
1b26f050
Commit
1b26f050
authored
Mar 04, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recipes-asteroid: Use lrelease i18n/*.ts on translatable recipes
parent
6a8b7fbb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
7 deletions
+25
-7
asteroid-alarmclock_git.bb
...s-asteroid/asteroid-alarmclock/asteroid-alarmclock_git.bb
+2
-2
asteroid-calendar_git.bb
recipes-asteroid/asteroid-calendar/asteroid-calendar_git.bb
+7
-0
asteroid-launcher_git.bb
recipes-asteroid/asteroid-launcher/asteroid-launcher_git.bb
+5
-1
asteroid-music_git.bb
recipes-asteroid/asteroid-music/asteroid-music_git.bb
+7
-0
asteroid-settings_git.bb
recipes-asteroid/asteroid-settings/asteroid-settings_git.bb
+2
-2
asteroid-weather_git.bb
recipes-asteroid/asteroid-weather/asteroid-weather_git.bb
+2
-2
No files found.
recipes-asteroid/asteroid-alarmclock/asteroid-alarmclock_git.bb
View file @
1b26f050
...
...
@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-alarms"
FILES_${PN} += "/usr/share/translations/ /usr/lib/systemd/user/open-alarm.service /usr/share/dbus-1/services/com.nokia.voland.service"
do_install_append() {
lrelease ${S}/asteroid-alarmclock.*.ts
lrelease ${S}/
i18n/
asteroid-alarmclock.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/asteroid-alarmclock.*.qm ${D}/usr/share/translations/
cp ${S}/
i18n/
asteroid-alarmclock.*.qm ${D}/usr/share/translations/
}
recipes-asteroid/asteroid-calendar/asteroid-calendar_git.bb
View file @
1b26f050
...
...
@@ -12,3 +12,10 @@ inherit qmake5
DEPENDS += "qml-asteroid mapplauncherd-booster-qtcomponents nemo-qml-plugin-calendar qtvirtualkeyboard"
RDEPENDS_${PN} += "nemo-qml-plugin-calendar qtvirtualkeyboard"
FILE_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/i18n/asteroid-calendar.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-calendar.*.qm ${D}/usr/share/translations/
}
recipes-asteroid/asteroid-launcher/asteroid-launcher_git.bb
View file @
1b26f050
...
...
@@ -14,9 +14,13 @@ inherit qmake5
DEPENDS += "lipstick"
RDEPENDS_${PN} += "qtdeclarative-qmlplugins qml-asteroid qtwayland-plugins qtgraphicaleffects-qmlplugins nemo-qml-plugin-time nemo-qml-plugin-contextkit nemo-qml-plugin-configuration asteroid-wallpapers ttf-roboto ttf-raleway ttf-orbitron"
FILES_${PN} += "/usr/share/asteroid-launcher/ /usr/lib/systemd/user/"
FILES_${PN} += "/usr/share/asteroid-launcher/ /usr/lib/systemd/user/
/usr/share/translations/
"
do_install_append() {
lrelease ${S}/i18n/asteroid-launcher.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-launcher.*.qm ${D}/usr/share/translations/
install -d ${D}/var/lib/environment/compositor/
cp ../default.conf ${D}/var/lib/environment/compositor/
...
...
recipes-asteroid/asteroid-music/asteroid-music_git.bb
View file @
1b26f050
...
...
@@ -12,3 +12,10 @@ inherit qmake5
DEPENDS += "qml-asteroid mapplauncherd-booster-qtcomponents qtmpris"
RDEPENDS_${PN} += "qtmpris"
FILE_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/i18n/asteroid-music.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/i18n/asteroid-music.*.qm ${D}/usr/share/translations/
}
recipes-asteroid/asteroid-settings/asteroid-settings_git.bb
View file @
1b26f050
...
...
@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-systemsettings nemo-qml-plugin-dbus"
FILES_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/asteroid-settings.*.ts
lrelease ${S}/
i18n/
asteroid-settings.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/asteroid-settings.*.qm ${D}/usr/share/translations/
cp ${S}/
i18n/
asteroid-settings.*.qm ${D}/usr/share/translations/
}
recipes-asteroid/asteroid-weather/asteroid-weather_git.bb
View file @
1b26f050
...
...
@@ -15,7 +15,7 @@ RDEPENDS_${PN} += "nemo-qml-plugin-configuration"
FILES_${PN} += "/usr/share/translations/ /usr/lib/fonts"
do_install_append() {
lrelease ${S}/asteroid-weather.*.ts
lrelease ${S}/
i18n/
asteroid-weather.*.ts
install -d ${D}/usr/share/translations/
cp ${S}/asteroid-weather.*.qm ${D}/usr/share/translations/
cp ${S}/
i18n/
asteroid-weather.*.qm ${D}/usr/share/translations/
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment