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.
ColorConverter utility written in Qt Log: add software name--ColorPie
- Loading branch information
Showing
2 changed files
with
92 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,42 @@ | ||
package: | ||
id: io.github.ColorPie | ||
name: ColorPie | ||
version: 1.0.0 | ||
kind: app | ||
description: | | ||
ColorConverter utility written in Qt | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
depends: | ||
- id: qthttpserver | ||
type: runtime | ||
version: 1.0.0 | ||
source: | ||
kind: git | ||
url: https://github.com/qt-labs/qthttpserver.git | ||
version: master | ||
commit: 52bce52413763ead7759f8c2e374a40bb82f058f | ||
build: | ||
kind: qmake | ||
- id: qtwebengine/5.15.7 | ||
type: runtime | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/keshavbhatt/ColorPie.git | ||
commit: e497f611da2381c3ba1a5dd31d1f92e3101e9c68 | ||
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 |
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,50 @@ | ||
From 8529683f84ec31e348758431c9a7ceceabe578f3 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Thu, 18 Apr 2024 11:00:35 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
src/ColorPie.pro | 10 +++++++++- | ||
src/colorpie.desktop | 2 +- | ||
2 files changed, 10 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/ColorPie.pro b/src/ColorPie.pro | ||
index 13f9230..22125bc 100644 | ||
--- a/src/ColorPie.pro | ||
+++ b/src/ColorPie.pro | ||
@@ -52,9 +52,17 @@ FORMS += \ | ||
|
||
# Default rules for deployment. | ||
qnx: target.path = /tmp/$${TARGET}/bin | ||
-else: unix:!android: target.path = /opt/$${TARGET}/bin | ||
+else: unix:!android: #target.path = /opt/$${TARGET}/bin | ||
!isEmpty(target.path): INSTALLS += target | ||
|
||
RESOURCES += \ | ||
breeze.qrc \ | ||
resources.qrc | ||
+ | ||
+target.path =$$PREFIX/bin | ||
+desktop.files =colorpie.desktop | ||
+desktop.path = $$PREFIX/share/applications/ | ||
+icons.path = $$PREFIX/share/icons | ||
+icons.files = icons/icon-128.png | ||
+ | ||
+INSTALLS += target desktop icons | ||
\ No newline at end of file | ||
diff --git a/src/colorpie.desktop b/src/colorpie.desktop | ||
index 4227ed7..fe92b0e 100644 | ||
--- a/src/colorpie.desktop | ||
+++ b/src/colorpie.desktop | ||
@@ -2,7 +2,7 @@ | ||
Name=ColorPie | ||
GenericName=Color picker | ||
Comment=Professional color management utility | ||
-Icon=com.ktechpit.colorpie | ||
+Icon=icon-128 | ||
Exec=colorpie | ||
Terminal=false | ||
Type=Application | ||
-- | ||
2.33.1 | ||
|