mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Ports: Use shared icon logic for ScummVM
This commit is contained in:
parent
6f92d1e639
commit
340f6cde2d
Notes:
sideshowbarker
2024-07-18 12:33:17 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/340f6cde2d8 Pull-request: https://github.com/SerenityOS/serenity/pull/7947
1 changed files with 1 additions and 10 deletions
|
@ -15,16 +15,7 @@ configopts="
|
|||
launcher_name=ScummVM
|
||||
launcher_category=Games
|
||||
launcher_command=/usr/local/bin/scummvm
|
||||
icon_file=icons/scummvm.ico
|
||||
|
||||
export FREETYPE2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2"
|
||||
export FREETYPE2_LIBS="-lfreetype"
|
||||
|
||||
post_install() {
|
||||
if command -v convert >/dev/null; then
|
||||
run convert "icons/scummvm.ico[0]" app-32x32.png
|
||||
run convert "icons/scummvm.ico[1]" app-16x16.png
|
||||
target_binary="${SERENITY_INSTALL_ROOT}/usr/local/bin/scummvm"
|
||||
run objcopy --add-section serenity_icon_s="app-16x16.png" "${target_binary}"
|
||||
run objcopy --add-section serenity_icon_m="app-32x32.png" "${target_binary}"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue