diff --git a/CMakeLists.txt b/CMakeLists.txt index e4523ef..ec1fab0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/io.gitlab.woblight.GitAddonsManager.desktop b/io.gitlab.woblight.GitAddonsManager.desktop new file mode 100644 index 0000000..765be3a --- /dev/null +++ b/io.gitlab.woblight.GitAddonsManager.desktop @@ -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 diff --git a/io.gitlab.woblight.GitAddonsManager.yaml b/io.gitlab.woblight.GitAddonsManager.yaml new file mode 100644 index 0000000..4a45c32 --- /dev/null +++ b/io.gitlab.woblight.GitAddonsManager.yaml @@ -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