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: 完成Sweetfish的编译
- Loading branch information
Showing
2 changed files
with
45 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.Sweetfish | ||
name: Sweetfish | ||
version: 0.0.7 | ||
kind: app | ||
description: | | ||
The Mastodon client for Linux with Qt. | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: "https://github.com/PG-MANA/Sweetfish.git" | ||
commit: 2460c1bc374e4b19e8113136eb115a860cd5ba5d | ||
patch: | ||
- patches/fix_install.patch | ||
|
||
build: | ||
kind: cmake |
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,24 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 1806ac6..22992a6 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -32,3 +32,7 @@ add_dependencies(sweetfish translations) | ||
|
||
install(TARGETS sweetfish DESTINATION bin) | ||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/locales DESTINATION lib/sweetfish) | ||
+ | ||
+install(TARGETS sweetfish DESTINATION bin/) | ||
+install(FILES build_dir/sweetfish.desktop DESTINATION share/applications/) | ||
+install(FILES snap/gui/sweetfish.png DESTINATION share/icons/) | ||
\ No newline at end of file | ||
diff --git a/build_dir/sweetfish.desktop b/build_dir/sweetfish.desktop | ||
new file mode 100644 | ||
index 0000000..13b7bbb | ||
--- /dev/null | ||
+++ b/build_dir/sweetfish.desktop | ||
@@ -0,0 +1,5 @@ | ||
+[Desktop Entry] | ||
+Name=sweetfish | ||
+Exec=sweetfish %F | ||
+Icon=sweetfish | ||
+Type=Application |