Skip to content

Commit

Permalink
Add 24px weather icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnurmi committed Oct 17, 2023
1 parent e503a26 commit f176525
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion recipes-graphics/wayland/files/weston.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ icon=/usr/share/weston/terminal.png
path=/usr/bin/weston-terminal

[launcher]
icon=/usr/share/icons/hicolor/48x48/apps/jpos-weather.png
icon=/usr/share/icons/hicolor/24x24/apps/jpos-weather.png
path=SLINT_FULLSCREEN=1 /usr/bin/jpos-weather

#[input-method]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions recipes-jpos/jpos-weather/jpos-weather_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@ DEPENDS = "\

FILESEXTRAPATHS:prepend := "${THISDIR}/icons:"
SRC_URI:append = "\
file://24x24/jpos-weather.png \
file://48x48/jpos-weather.png \
file://192x192/jpos-weather.png \
"
FILES:${PN}:append = "\
${datadir}/icons/hicolor/48x48/apps/jpos-weather.png \
${datadir}/icons/hicolor/192x192/apps/jpos-weather.png \
${datadir}/icons/hicolor/*/apps/jpos-weather.png \
"
do_install:append() {
install -d ${D}${datadir}/icons/hicolor/48x48/apps
install ${WORKDIR}/48x48/jpos-weather.png ${D}${datadir}/icons/hicolor/48x48/apps

install -d ${D}${datadir}/icons/hicolor/192x192/apps
install ${WORKDIR}/192x192/jpos-weather.png ${D}${datadir}/icons/hicolor/192x192/apps
for size in 24x24 48x48 192x192; do
install -d ${D}${datadir}/icons/hicolor/${size}/apps
install ${WORKDIR}/${size}/jpos-weather.png ${D}${datadir}/icons/hicolor/${size}/apps
done
}

0 comments on commit f176525

Please sign in to comment.