Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build: add app goat
Browse files Browse the repository at this point in the history
Database frontend written in QT5 using widgets. At some point it should provide an alternative to tools like mysql workbench and pgadmin.

Logs: add app name--goat
  • Loading branch information
lampze committed Feb 29, 2024
1 parent 6f8f523 commit cc10192
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
21 changes: 21 additions & 0 deletions io.github.goat/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package:
id: io.github.goat
name: goat
version: 1.0.1.1
kind: app
description: |
Database frontend written in QT5 using widgets. At some point it should provide an alternative to tools like mysql workbench and pgadmin.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/mispp/goat.git
commit: fec86223ab38888537c458f62cd62ddea534037b
patch:
- patches/fix_install.patch

build:
kind: cmake
25 changes: 25 additions & 0 deletions io.github.goat/patches/fix_install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b36ae4..c97000c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,3 +70,7 @@ target_link_libraries(
Qt5::Sql
Qt5::Widgets
)
+
+install(TARGETS Goat DESTINATION bin)
+install(FILES packaging/goat.desktop DESTINATION share/applications)
+install(FILES packaging/goat.png DESTINATION share/icons)
diff --git a/packaging/goat.desktop b/packaging/goat.desktop
index 55cc0c4..082cee3 100644
--- a/packaging/goat.desktop
+++ b/packaging/goat.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Categories=Office;Database;Qt;KDE;
StartupNotify=true
-Exec=/usr/bin/goat
+Exec=Goat
Name=Goat
GenericName=Goat database management
Terminal=false

0 comments on commit cc10192

Please sign in to comment.