Add initial flatpak support

This commit is contained in:
woblight
2024-08-12 22:13:23 +02:00
parent 45ff79ce7e
commit 88b1c5701b
3 changed files with 53 additions and 0 deletions
+5
View File
@@ -105,4 +105,9 @@ install(TARGETS GitAddonsManager
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(
PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/io.gitlab.woblight.GitAddonsManager.desktop
DESTINATION ${DATAROOTDIR}/applications
)
qt_finalize_executable(GitAddonsManager)
@@ -0,0 +1,11 @@
[Desktop Entry]
Categories=Utility;Game;
Comment=Tool to download and update AddOns from git for World of Warcraft
Exec=GitAddonsManager
Icon=system-software-update
Name=GitAddonsManager
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
+37
View File
@@ -0,0 +1,37 @@
id: io.gitlab.woblight.GitAddonsManager
runtime: org.kde.Platform
runtime-version: '6.7'
sdk: org.kde.Sdk
command: GitAddonsManager
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --share=network
- --device=dri
modules:
- name: QuaZip-Qt6
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/stachenov/quazip.git
config-opts":
- -DQUAZIP_ENABLE_TESTS=OFF
- -DQUAZIP_BZIP2=OFF
- -DCMAKE_BUILD_TYPE=Release
- name: libgit2
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/libgit2/libgit2.git
tag: v0.27.2
config-opts":
- -DCMAKE_BUILD_TYPE=Release
- name: GitAddonsManager
buildsystem: cmake-ninja
sources:
- type: git
url: https://gitlab.com/woblight/GitAddonsManager.git
branch: testing
disable-shallow-clone: true
config-opts":
- -DCMAKE_BUILD_TYPE=Release