diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-02-10 05:44:08 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-02-10 06:04:39 +0100 |
commit | 8bcdb0afd5045d30b98798d6a623b7d4f163ef88 (patch) | |
tree | 91894de7ae6958ebb68d8e229c885da516341a68 | |
parent | 9dfd89ef06630204109fac52340ae784779952eb (diff) | |
download | nncmpp-8bcdb0afd5045d30b98798d6a623b7d4f163ef88.tar.gz nncmpp-8bcdb0afd5045d30b98798d6a623b7d4f163ef88.tar.xz nncmpp-8bcdb0afd5045d30b98798d6a623b7d4f163ef88.zip |
Bump liberty, install rasterized icons
-rw-r--r-- | CMakeLists.txt | 14 | ||||
-rw-r--r-- | README.adoc | 5 | ||||
m--------- | liberty | 0 |
3 files changed, 17 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cde3640..dd1ee1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,8 +130,22 @@ install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR}) install (DIRECTORY contrib DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}) install (DIRECTORY info DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}) if (WITH_X11) + include (IconUtils) + + set (icon_base ${PROJECT_BINARY_DIR}/icons) + set (icon_png_list) + foreach (icon_size 16 32 48) + icon_to_png (${PROJECT_NAME} ${PROJECT_SOURCE_DIR}/${PROJECT_NAME}.svg + ${icon_size} ${icon_base} icon_png) + list (APPEND icon_png_list ${icon_png}) + endforeach () + + add_custom_target (icons ALL DEPENDS ${icon_png_list}) + install (FILES ${PROJECT_NAME}.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps) + install (DIRECTORY ${icon_base} + DESTINATION ${CMAKE_INSTALL_DATADIR}) install (FILES ${PROJECT_NAME}.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) endif () diff --git a/README.adoc b/README.adoc index c5b9e15..312addb 100644 --- a/README.adoc +++ b/README.adoc @@ -40,8 +40,9 @@ The rest of this README will concern itself with externalities. Building -------- -Build dependencies: CMake, pkg-config, awk, liberty (included), - termo (included), asciidoctor or asciidoc (recommended but optional) + +Build-only dependencies: CMake, pkg-config, awk, liberty (included), + termo (included), asciidoctor or asciidoc (recommended but optional), + rsvg-convert (X11) + Runtime dependencies: ncursesw, libunistring, cURL + Optional runtime dependencies: fftw3, libpulse, x11, xft, Perl + cURL (lyrics) diff --git a/liberty b/liberty -Subproject 4c2874649d4b1d2414793d60915d309f0bf6711 +Subproject cb9d162a265e9e7b86bec92051f40374e79b7a5 |