-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
: update packaging
- Loading branch information
Showing
13 changed files
with
143 additions
and
129 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
install( | ||
FILES com.jmuelbert.jmbde.desktop | ||
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications/ | ||
COMPONENT jmbde_Flatpak | ||
) | ||
install( | ||
FILES com.jmuelbert.jmbde.metainfo.xml | ||
DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo | ||
COMPONENT jmbde_Flatpak | ||
) | ||
install( | ||
FILES com.jmuelbert.jmbde.svg | ||
DESTINATION $(CMAKE_INSTALL_DATADIR)/icons/hicolor/scalable/apps/ | ||
COMPONENT jmbde_Flatpak | ||
) | ||
|
||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows") | ||
set(CPACK_GENERATOR "ZIP") | ||
else() | ||
set(CPACK_GENERATOR "TZST") | ||
endif() | ||
|
||
set(CPACK_COMPONENTS_ALL jmbde_Runtime jmbde_Development) | ||
set(CPACK_ARCHIV_COMPONENT_INSTALL yes) | ||
set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE) | ||
|
||
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) | ||
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) | ||
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) | ||
|
||
set(CPACK_PACKAGE_NAME jmbde) | ||
set(CPACK_PACKAGE_VENDOR "Jürgen Mülbert") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The jmbde (QT) application") | ||
set(CPACK_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME}) | ||
set(CPACK_FILE_NAME | ||
jmbde-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_PACKAGE_VERSION_PATCH}) | ||
set(CPACK_PROJECT_CONFIG_FILE ${CMAKE__CURRENT_LIST_DIR}/cpackGeneratorOverride.cmake) | ||
set(CPACK_STRIP_FILES yes) | ||
set(CPACK_THREADS 0) | ||
set(CPACK_VERBATIM_VARIABLES yes) | ||
|
||
set(CPACK_SOURCE_IGNORE_FILES /\\.git/ \\.swp \\.orig /CMakeLists\\.txt\\.user /build/) | ||
|
||
include(CPack) | ||
|
||
cpack_add_component( | ||
jmbde_Runtime | ||
DISPLAY_NAME Runtime | ||
DESCRIPTION "Shared libraries and executables" | ||
REQUIRED | ||
INSTALL_TYPES Full Developer Minimal) | ||
) | ||
cpack_add_component( | ||
jmbde_Development | ||
DISPLAY_NAME "Developer pre-requisites" | ||
DESCRIPTION "Headers/static libs needed for building" | ||
INSTALL_TYPES Full Developer | ||
) | ||
|
||
cpack_add_install_type(Full) | ||
cpack_add_install_type(Minimal) | ||
cpack_add_install_type(Developer) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=jmbde | ||
Exec=/app/bin/jmbde | ||
Comment=Add Persons and devices to a company database | ||
Icon=com.jmuelbert.jmbde | ||
StartupWMClass=jmbde | ||
Terminal=false | ||
Categories=Business;Qt | ||
Keywords=jmbde;business |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
id: com.jmuelbert.jmbde | ||
runtime: org.kde.Platform | ||
runtime-version: '6.7' | ||
sdk: org.kde.Sdk | ||
command: jmbde | ||
finish-args: | ||
- --socket=wayland | ||
modules: | ||
- name: microsoft-gsl | ||
buildsystem: cmake-ninja | ||
config-opts: | ||
- -DGSL_TEST=no | ||
cleanup: | ||
- '*' | ||
sources: | ||
- type: git | ||
url: https://github.com/microsoft/GSL.git | ||
commit: a3534567187d2edc428efd3f13466ff75fe5805c | ||
tag: v4.0.0 | ||
x-checker-data: | ||
type: git | ||
tag-pattern: "^v([\\d.]+)$" | ||
- name: jmbde | ||
buildsystem: simple | ||
buildcommands: | ||
- cmake --workflow --preset flatpak | ||
- cmake --install build --component jmbde_Runtime --prefix="${FLATPAK_DEST}" | ||
- cmake --instsll build --component jmbde_Flatpak --prefix="${FLATPAK_DEST}" | ||
sources: | ||
- type: dir | ||
path: .. | ||
skip: | ||
- .cache | ||
- .direnv | ||
- .github | ||
- .vscode | ||
- build | ||
- build-clang | ||
- build-gcc | ||
- build-coverage-clang | ||
- build-dir | ||
- repo | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
if(CPACK_GENERATOR MATCHES "^(7Z|TBZ2|TGZ|TXZ|TZ|TZST|ZIP)$") | ||
set(CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY YES) | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.