Working on Debian Packaging.

This commit is contained in:
BadQuanta
2026-05-17 11:27:29 +00:00
parent 56b2cbcc33
commit 5f490e67f5
6 changed files with 41 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Bitmap image formats
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
*.bmp filter=lfs diff=lfs merge=lfs -text
+30
View File
@@ -0,0 +1,30 @@
cmake_minimum_required(VERSION 3.20)
project(hdk-assets
VERSION 0.0.1
DESCRIPTION "Shared assets for use with examples with the Hollow Development Kit (HDK)"
LANGUAGES NONE
)
include(GNUInstallDirs)
# Install all asset files with the release component
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/fonts/
${CMAKE_CURRENT_SOURCE_DIR}/textures/
${CMAKE_CURRENT_SOURCE_DIR}/sounds/
${CMAKE_CURRENT_SOURCE_DIR}/music/
DESTINATION ${CMAKE_INSTALL_DATADIR}/hdk-assets
COMPONENT hdk-assets_release
)
# Install metadata files for release package
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/README.md
${CMAKE_CURRENT_SOURCE_DIR}/../CHANGELOG.md
DESTINATION ${CMAKE_INSTALL_DOCDIR}/hdk-assets
COMPONENT hdk-assets_release
OPTIONAL
)
# CPack Packaging Policy
include(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/HDKPackaging.cmake)
+5
View File
@@ -4,6 +4,11 @@ This repository stores assets used in various examples. Sources and credits for
Some assets may be processed or modified from their original (source) form during packaging. Some assets may be processed or modified from their original (source) form during packaging.
## Package identity
Shared example assets are consumed by HDK subprojects as the `hdk-assets` package.
Subprojects may require a minimum package version and can fall back to fetching this repository when needed.
## Sources and credits ## Sources and credits
Please do let me know if I have missed or have misattribute any assets, and I will update this list accordingly. Please do let me know if I have missed or have misattribute any assets, and I will update this list accordingly.
View File
View File
View File