mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 10:31:16 +00:00
* AppImage packaging * Add flags to specify location of required local files `--build=path` specifies where on the system is the directory with pre-build game binaries (must have binaries `isle` and `isle-config` in `path/bin` and game-specific libraries in `path/lib`) `--apprun=path` specifies where the apprun is `--desktop-file=path` same for the desktop file * Move to packaging/linux * Move building to appimage/build and ignore it in git * Use local icon. Option to specify location for it * Cleaning * Attempt at Github automation * Update CMakeLists.txt * Fix build * I guess it doesn't need quotes * Update CMakeLists.txt * Update release.yml * Work around for liblego1.so loading, fix arguments * Create testing.yml * Update testing.yml * I should pay more attention to what docs say * Fix copy-pasting mistake * Add AppImage packaging to the Release workflow * Try fixing filepicker * Delete testing.yml * Fix releases Can't specify where linuxdeploy leaves the file without specifying the name of the file, which I don't want to do, so just move the file in `dist` after packaging. * Remove unnecessary changes * Add qt6-xdgdesktopportal-platformtheme as deps Needed to call the xdg filepicker, basically desktop-specific filepicker. Hopefully this will allow to use it in AppImage * Get back flatpak in release * Update release.yml * Remove libglew-dev from apt install * Fix duplicate upload artifact * Update release.yml Co-authored-by: Christian Semmler <mail@csemmler.com> * Remove *.AppImage pattern in Download All Artifacts --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
23 lines
821 B
CMake
23 lines
821 B
CMake
set(APP_ID "org.legoisland.Isle")
|
|
set(APP_NAME "Isle Portable")
|
|
set(APP_SUMMARY "Portable version of the LEGO Island Decompilation Project")
|
|
set(APP_SPDX "LGPL-3.0-or-later")
|
|
|
|
string(TIMESTAMP BUILD_DATE UTC)
|
|
|
|
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/icons)
|
|
file(COPY_FILE icons/isle.svg ${CMAKE_BINARY_DIR}/icons/${APP_ID}.svg)
|
|
|
|
# The following will need to be refined if we wish to post actual releases to a repo such as Flathub
|
|
if(DEFINED ENV{GITHUB_ACTIONS} AND ENV{GITHUB_ACTIONS} EQUAL TRUE)
|
|
# Use the sequential run# of the current pipeline when running in GH Actions
|
|
set(SEMANTIC_VERSION "${PROJECT_VERSION}~build$ENV{GITHUB_RUN_NUMBER}")
|
|
else()
|
|
# Don't worry about the build number for local builds
|
|
set(SEMANTIC_VERSION "${PROJECT_VERSION}")
|
|
endif()
|
|
|
|
if(LINUX)
|
|
add_subdirectory(linux)
|
|
endif()
|