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.
Open Babel is a chemical toolbox designed to speak the many languages of chemical data. Log: add software name--openbabel
- Loading branch information
Showing
2 changed files
with
79 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,32 @@ | ||
package: | ||
id: io.github.openbabel | ||
name: openbabel | ||
version: 2.4.1 | ||
kind: app | ||
description: | | ||
Open Babel is a chemical toolbox designed to speak the many languages of chemical data. | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
depends: | ||
- id: wxWidgets/3.2.3 | ||
type: runtime | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/openbabel/openbabel.git | ||
commit: 701f6049c483b1349118c2ff736a7f609a84dedd | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: cmake | ||
manual: | ||
configure: | | ||
cp src/GUI/babel2.ico src/GUI/babel2.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,47 @@ | ||
From ba62d9836ef14cf53ab2fbc53ca227de4820b15c Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Wed, 20 Mar 2024 14:35:38 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
src/GUI/CMakeLists.txt | 6 ++++++ | ||
src/GUI/babel2.desktop | 11 +++++++++++ | ||
2 files changed, 17 insertions(+) | ||
create mode 100644 src/GUI/babel2.desktop | ||
|
||
diff --git a/src/GUI/CMakeLists.txt b/src/GUI/CMakeLists.txt | ||
index 54bf0c9..72c417b 100644 | ||
--- a/src/GUI/CMakeLists.txt | ||
+++ b/src/GUI/CMakeLists.txt | ||
@@ -11,3 +11,9 @@ install(TARGETS obgui | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib | ||
) | ||
+install(FILES babel2.png | ||
+ DESTINATION share/icons) | ||
+ | ||
+ | ||
+install(FILES babel2.desktop | ||
+ DESTINATION share/applications) | ||
\ No newline at end of file | ||
diff --git a/src/GUI/babel2.desktop b/src/GUI/babel2.desktop | ||
new file mode 100644 | ||
index 0000000..7024f48 | ||
--- /dev/null | ||
+++ b/src/GUI/babel2.desktop | ||
@@ -0,0 +1,11 @@ | ||
+[Desktop Entry] | ||
+Name=obgui | ||
+Comment=s a chemical toolbox designed to speak the many languages of chemical data | ||
+Exec=obgui | ||
+Keywords=markdown;designed;notes; | ||
+Icon=babel2 | ||
+Type=Application | ||
+Terminal=false | ||
+StartupNotify=true | ||
+Categories=designed;Education; | ||
+StartupWMClass=obgui | ||
\ No newline at end of file | ||
-- | ||
2.33.1 | ||
|