Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application icon fixes #337

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,18 @@ if (BUILD_MONOLITHIC)
install (FILES amule.desktop
DESTINATION "${CMAKE_INSTALL_DATADIR}/applications"
)
install (FILES amule.png
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/128x128/apps"
)
endif()

if (BUILD_REMOTEGUI)
install (FILES amulegui.desktop
DESTINATION "${CMAKE_INSTALL_DATADIR}/applications"
)
install (FILES amulegui.xpm
DESTINATION "${CMAKE_INSTALL_DATADIR}/pixmaps"
)
endif()

if (ENABLE_NLS)
Expand Down
5 changes: 4 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ icondir = $(datadir)/pixmaps
dist_util_DATA =
utildir = $(datadir)/applications

dist_icon128_DATA =
icon128dir = $(datadir)/icons/hicolor/128x128/apps

if MONOLITHIC
dist_icon_DATA += amule.xpm
dist_icon128_DATA += amule.png
dist_util_DATA += amule.desktop
endif

Expand Down
Loading