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

build: add app Tasker #2226

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions io.github.Tasker/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package:
id: io.github.Tasker
name: Tasker
version: 0.2.0
kind: app
description: |
A commitment tracker desktop app that tracks the progress of your tasks with mouse, keyboard and audio hooks.

runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/thebigG/Tasker.git
commit: 0678598ecc0aa3ac471b2504ba9bd640ea4417ac
patch:
- patches/fix_install.patch

variables:
extra_args: |
-DUSE_XKB_FILE=OFF

build:
kind: cmake
14 changes: 14 additions & 0 deletions io.github.Tasker/patches/fix_install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/Tasker/CMakeLists.txt b/Tasker/CMakeLists.txt
index cbfe8f5..70517c3 100644
--- a/Tasker/CMakeLists.txt
+++ b/Tasker/CMakeLists.txt
@@ -103,5 +103,7 @@ else(WIN32)
endif()

install(TARGETS Tasker
- DESTINATION ${CMAKE_INSTALL_PREFIX}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
)
+install(FILES Tasker.desktop DESTINATION share/applications/)
+install(FILES clock-256.png DESTINATION share/icons/hicolor/16x16/)

Loading