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.
Route Generator (clone frome SourceForge.net) log: add app
- Loading branch information
Showing
2 changed files
with
58 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.routegen | ||
name: routegen | ||
version: 1.12.2.1 | ||
kind: app | ||
description: | | ||
Route Generator (clone frome SourceForge.net) | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/michjans/routegen.git | ||
commit: d53bc1aff7759e894a47365af06845719c073858 | ||
patch: patches/0001-fix-desktop.patch | ||
|
||
depends: | ||
- id: qtwebengine/5.15.7 | ||
- id: libgeotiff/1.7.1 | ||
type: runtime | ||
- id: PROJ/9.4.0 | ||
type: runtime | ||
build: | ||
kind: cmake | ||
manual: | ||
configure: | | ||
ln -s ${PREFIX}/lib/${TRIPLET}/libproj.so ${PREFIX}/lib/${TRIPLET}/libproj.so.22 | ||
cd src | ||
cmake -B ${build_dir} ${conf_args} ${extra_args} | ||
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,26 @@ | ||
From 208606b8bbb85cb65d8ad21029c1627d31127ffe Mon Sep 17 00:00:00 2001 | ||
From: van <[email protected]> | ||
Date: Thu, 23 May 2024 00:27:36 +0800 | ||
Subject: [PATCH] fix-desktop | ||
|
||
--- | ||
src/CMakeLists.txt | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
index b585ff2..fffaffc 100644 | ||
--- a/src/CMakeLists.txt | ||
+++ b/src/CMakeLists.txt | ||
@@ -103,6 +103,9 @@ install(TARGETS routegen | ||
BUNDLE DESTINATION . | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
) | ||
+install(PROGRAMS ../deploy/linux/routegen/usr/share/applications/routegen.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) | ||
+install(PROGRAMS ../deploy/linux/routegen/usr/share/icons/hicolor/48x48/apps/routegen.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps/) | ||
+ | ||
|
||
# Consider using qt_generate_deploy_app_script() for app deployment if | ||
# the project can use Qt 6.3. In that case rerun qmake2cmake with | ||
-- | ||
2.33.1 | ||
|