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.
Projeto hidra, versão feita em C++ Log: add software name--hidracpp
- Loading branch information
Showing
2 changed files
with
82 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,28 @@ | ||
package: | ||
id: io.github.hidracpp | ||
name: hidracpp | ||
version: 1.2.0 | ||
kind: app | ||
description: | | ||
Projeto hidra, vers0Š0o feita em C++ | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/petcomputacaoufrgs/hidracpp.git | ||
commit: 99a65725b831f1924d024540c7d1f76647af7853 | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: cmake | ||
manual: | ||
configure: | | ||
cp dev/livro/342-343.jpg dev/livro/hidracpp.png | ||
cmake -B ${build_dir} ${conf_args} ${extra_args} | ||
build: | | ||
cmake --build ${build_dir} -- ${jobs} | ||
install: | | ||
env DESTDIR=${dest_dir} cmake --build ${build_dir} --target install |
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,54 @@ | ||
From 47477463a5a0bd434d37554c5e99db2dae91f0f4 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <1071633242@qq.com> | ||
Date: Wed, 27 Mar 2024 11:22:44 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
CMakeLists.txt | 12 +++++++++++- | ||
dev/livro/hidracpp.desktop | 12 ++++++++++++ | ||
2 files changed, 23 insertions(+), 1 deletion(-) | ||
create mode 100644 dev/livro/hidracpp.desktop | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 668a404..ccaddc5 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -26,4 +26,14 @@ set(CMAKE_PREFIX_PATH ${QT_PATH}) | ||
enable_testing(true) | ||
|
||
add_subdirectory(src) | ||
-add_subdirectory(src/tests) | ||
\ No newline at end of file | ||
+add_subdirectory(src/tests) | ||
+ | ||
+install(TARGETS ${PROJECT_NAME} | ||
+ DESTINATION bin) | ||
+ | ||
+install(FILES dev/livro/hidracpp.png | ||
+ DESTINATION share/icons) | ||
+ | ||
+ | ||
+install(FILES dev/livro/hidracpp.desktop | ||
+ DESTINATION share/applications) | ||
\ No newline at end of file | ||
diff --git a/dev/livro/hidracpp.desktop b/dev/livro/hidracpp.desktop | ||
new file mode 100644 | ||
index 0000000..93f067c | ||
--- /dev/null | ||
+++ b/dev/livro/hidracpp.desktop | ||
@@ -0,0 +1,12 @@ | ||
+[Desktop Entry] | ||
+Exec=hidracpp | ||
+Name=hidracpp | ||
+Icon=hidracpp | ||
+Version=1.2.0 | ||
+StartupNotify=false | ||
+Terminal=false | ||
+Type=Application | ||
+Encoding=UTF-8 | ||
+Comment=Projeto hidra, versão feita em C++ | ||
+Terminal=false | ||
+Categories=electron;tool;Qt; | ||
-- | ||
2.33.1 | ||
|