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.
An artist's tool for creating harmonious color palettes Log: add software name--PrestoPalette
- Loading branch information
Showing
2 changed files
with
69 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,20 @@ | ||
package: | ||
id: io.github.PrestoPalette | ||
name: PrestoPalette | ||
version: 0.1.31 | ||
kind: app | ||
description: | | ||
An artist's tool for creating harmonious color palettes | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/PrestoPalette/PrestoPalette.git | ||
commit: ab902c3b088e10c0326f469855201ee61528f5b1 | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: cmake |
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,49 @@ | ||
From 7730bbd9a4309b35ee6a5155f46fb2a8fe9bf3c7 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <1071633242@qq.com> | ||
Date: Wed, 13 Mar 2024 19:22:07 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
CMakeLists.txt | 10 ++++++++++ | ||
PrestoPalette.desktop | 10 ++++++++++ | ||
2 files changed, 20 insertions(+) | ||
create mode 100644 PrestoPalette.desktop | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index b0648de..ad1d040 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -138,4 +138,14 @@ ENDIF() | ||
|
||
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}${PACKAGE_PLATFORM_TAG}") | ||
|
||
+install(TARGETS ${PROJECT_NAME} | ||
+ DESTINATION bin) | ||
+ | ||
+install(FILES graphics/YWheel_Fine.png | ||
+ DESTINATION share/icons) | ||
+ | ||
+ | ||
+install(FILES PrestoPalette.desktop | ||
+ DESTINATION share/applications) | ||
+ | ||
INCLUDE(CPack) | ||
diff --git a/PrestoPalette.desktop b/PrestoPalette.desktop | ||
new file mode 100644 | ||
index 0000000..6bd6789 | ||
--- /dev/null | ||
+++ b/PrestoPalette.desktop | ||
@@ -0,0 +1,10 @@ | ||
+[Desktop Entry] | ||
+Categories=Painter;Qt;Utility; | ||
+Comment=An artist's tool for creating harmonious color palettes | ||
+Exec=PrestoPalette | ||
+Name=PrestoPalette | ||
+Icon=YWheel_Fine | ||
+StartupNotify=false | ||
+Terminal=false | ||
+Type=Application | ||
+ | ||
-- | ||
2.33.1 | ||
|