This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log: 完成app:kakuro的编译
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
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,21 @@ | ||
package: | ||
id: io.github.kakuro | ||
name: kakuro | ||
version: 0.0.1 | ||
kind: app | ||
description: | | ||
Kakuro application with a Qt GUI to play, solve, and generate Kakuro puzzles. | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: "https://github.com/ChrisMoutsos/kakuro.git" | ||
commit: 214ff54ecd9c77d1328dd6e51602021eb28291e4 | ||
patch: | ||
- patches/install-desktop.patch | ||
|
||
build: | ||
kind: qmake |
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,25 @@ | ||
diff --git a/kakuro.desktop b/kakuro.desktop | ||
new file mode 100644 | ||
index 0000000..aef4d9b | ||
--- /dev/null | ||
+++ b/kakuro.desktop | ||
@@ -0,0 +1,4 @@ | ||
+[Desktop Entry] | ||
+Type=Application | ||
+Name=kakuro | ||
+Exec=kakuro %f | ||
diff --git a/kakuro.pro b/kakuro.pro | ||
index 4656b00..5b2e373 100644 | ||
--- a/kakuro.pro | ||
+++ b/kakuro.pro | ||
@@ -23,3 +23,10 @@ RESOURCES += \ | ||
resources.qrc | ||
|
||
CONFIG += c++11 | ||
+ | ||
+desktop.path = $$PREFIX/share/applications | ||
+desktop.files += kakuro.desktop | ||
+INSTALLS += desktop | ||
+ | ||
+target.path = $$PREFIX/bin | ||
+INSTALLS += target |