Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build: add app agistudio
Browse files Browse the repository at this point in the history
Qt5 AGI Studio - Editor for Sierra AGI games.

Logs: add app name--agistudio
  • Loading branch information
lampze authored and kamiyadm committed Mar 1, 2024
1 parent 19d7b6c commit fd05f23
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
21 changes: 21 additions & 0 deletions io.github.agistudio/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package:
id: io.github.agistudio
name: agistudio
version: 1.4.0.1
kind: app
description: |
Qt5 AGI Studio - Editor for Sierra AGI games.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/Deledrius/agistudio.git
commit: 8461595dccda1021ae7567c387d233b6fb087a1d
patch:
- patches/fix_install.patch

build:
kind: cmake
27 changes: 27 additions & 0 deletions io.github.agistudio/patches/fix_install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 567ae35..e38d2b1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -113,4 +113,8 @@ source_group("Source Files" FILES ${AGIStudio_SOURCES})

add_executable(AGIStudio WIN32 ${AGIStudio_HEADERS} ${AGIStudio_SOURCES} ${AGIStudio_RESOURCES})

-target_link_libraries(AGIStudio Qt5::Widgets Qt5::Multimedia)
\ No newline at end of file
+target_link_libraries(AGIStudio Qt5::Widgets Qt5::Multimedia)
+
+install(TARGETS AGIStudio DESTINATION bin/)
+install(FILES ../packaging/agistudio.desktop DESTINATION share/applications/)
+install(FILES ../packaging/qtagistudio.xpm DESTINATION share/icons/)
diff --git a/packaging/agistudio.desktop b/packaging/agistudio.desktop
index 5c31cb8..bbe83ab 100644
--- a/packaging/agistudio.desktop
+++ b/packaging/agistudio.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=QT AGI Studio
-Exec=agistudio
+Exec=AGIStudio
Icon=qtagistudio
Type=Application
Terminal=false

0 comments on commit fd05f23

Please sign in to comment.