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.
Application that calculate water-surface elevation in prismatic channel with gradually varied flow. Log: add software name--hydraulics_channel_gvf
- Loading branch information
Showing
2 changed files
with
57 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.hydraulics_channel_gvf | ||
name: hydraulics_channel_gvf | ||
version: 3.0.9.1 | ||
kind: app | ||
description: | | ||
Application that calculate water-surface elevation in prismatic channel with gradually varied flow. | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/hafmed/hydraulics_channel_gvf.git | ||
commit: 80cdebf27d1e7e3eeccdcd9a9aea7667873008dd | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: qmake | ||
manual: | ||
configure: | | ||
cd src | ||
qmake -makefile ${conf_args} ${extra_args} | ||
build: | | ||
make ${jobs} | ||
install: | | ||
make ${jobs} DESTDIR=${dest_dir} install |
29 changes: 29 additions & 0 deletions
29
io.github.hydraulics_channel_gvf/patches/0001-install.patch
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,29 @@ | ||
From adc576642eb9fecdbce93c9fbd3ab6301e78c335 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Mon, 8 Jan 2024 18:53:50 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
src/hydraulics-channel-gvf.pro | 9 +++++++++ | ||
1 file changed, 9 insertions(+) | ||
|
||
diff --git a/src/hydraulics-channel-gvf.pro b/src/hydraulics-channel-gvf.pro | ||
index c31fc79..b43a587 100644 | ||
--- a/src/hydraulics-channel-gvf.pro | ||
+++ b/src/hydraulics-channel-gvf.pro | ||
@@ -39,3 +39,12 @@ RESOURCES += \ | ||
|
||
win32:RC_ICONS += icons\hydraulics-channel-gvf.ico | ||
|
||
+BINDIR = $$PREFIX/bin | ||
+DATADIR = $$PREFIX/share | ||
+target.path = $$BINDIR | ||
+desktop.files =../CompilationLinux/hydraulics-channel-gvf.desktop | ||
+desktop.path = $$DATADIR/applications/ | ||
+icons.path = $$PREFIX/share/icons | ||
+icons.files = ../CompilationLinux/hydraulics-channel-gvf.png | ||
+INSTALLS += target desktop icons | ||
+ | ||
-- | ||
2.33.1 | ||
|