shift-shell/fonts/CMakeLists.txt
Marco Allegretti 64e9bdf5db Use Atkinson Hyperlegible as default font
Add a Shift desktop theme package and point the look-and-feel
defaults at Atkinson Hyperlegible Next / Mono.
2026-05-14 09:34:10 +02:00

22 lines
707 B
CMake

# SPDX-FileCopyrightText: 2026 SHIFT Contributors
# SPDX-License-Identifier: GPL-2.0-or-later
# 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()