shift-shell/fonts/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
697 B
Text
Raw Normal View History

2026-05-19 07:18:32 +00:00
# SPDX-FileCopyrightText: 2026 Marco Allegretti
# SPDX-License-Identifier: EUPL-1.2
# Install bundled font files (if any are present) into the system font dir
# so the shell session can render the configured default font even on
# distributions that do not package it.
#
# Drop OFL-licensed font files into fonts/AtkinsonHyperlegibleNext/ and
# fonts/AtkinsonHyperlegibleMono/ alongside their SPDX .license sidecars.
file(GLOB SHIFT_FONT_FILES
LIST_DIRECTORIES false
"${CMAKE_CURRENT_SOURCE_DIR}/*/*.ttf"
"${CMAKE_CURRENT_SOURCE_DIR}/*/*.otf"
)
if(SHIFT_FONT_FILES)
install(
FILES ${SHIFT_FONT_FILES}
DESTINATION ${KDE_INSTALL_DATADIR}/fonts/shift
)
endif()