mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 16:57:43 +00:00
23 lines
707 B
Text
23 lines
707 B
Text
|
|
# 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()
|