1 |
commit: e0646fe8cd8102d0c0d2a467c2a6b7018429fbfa |
2 |
Author: David Flogeras <dflogeras2 <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Sep 8 21:41:01 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 23:56:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0646fe8 |
7 |
|
8 |
media-libs/kcolorpicker: New package |
9 |
|
10 |
This package (and media-libs/kimageannotator) will soon be dependencies |
11 |
of kde-apps/spectacle to add annotation capabilities. I have been |
12 |
maintaining both in the GURU overlay since about May 2020. |
13 |
|
14 |
Suggested-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
Bug: https://bugs.gentoo.org/723758 |
16 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
17 |
Signed-off-by: David Flogeras <dflogeras2 <AT> gmail.com> |
18 |
Closes: https://github.com/gentoo/gentoo/pull/17477 |
19 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
20 |
|
21 |
media-libs/kcolorpicker/Manifest | 1 + |
22 |
media-libs/kcolorpicker/kcolorpicker-0.1.4.ebuild | 41 +++++++++++++++++++++++ |
23 |
media-libs/kcolorpicker/metadata.xml | 16 +++++++++ |
24 |
3 files changed, 58 insertions(+) |
25 |
|
26 |
diff --git a/media-libs/kcolorpicker/Manifest b/media-libs/kcolorpicker/Manifest |
27 |
new file mode 100644 |
28 |
index 00000000000..f1b0cd4c0c9 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/kcolorpicker/Manifest |
31 |
@@ -0,0 +1 @@ |
32 |
+DIST kColorPicker-0.1.4.tar.gz 11438 BLAKE2B 407211d5938d78aa8bfe193c037a3224ab51cacec7213e4526689ba38a800db2f5df4b0804cd3cc428765a22f426b50d870a355ce07d3f40ff231b8d4f44bf93 SHA512 135b8e0e189feb724f6a4f6a09b8e18922d294fbb3c80cd8522acec272ad0503eff5bf375ae7d58b1dd2f891dc0df187b2a3442726f8ff980583c475090b8673 |
33 |
|
34 |
diff --git a/media-libs/kcolorpicker/kcolorpicker-0.1.4.ebuild b/media-libs/kcolorpicker/kcolorpicker-0.1.4.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..4867e8b9369 |
37 |
--- /dev/null |
38 |
+++ b/media-libs/kcolorpicker/kcolorpicker-0.1.4.ebuild |
39 |
@@ -0,0 +1,41 @@ |
40 |
+# Copyright 2020 Gentoo Authors |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=7 |
44 |
+ |
45 |
+VIRTUALX_REQUIRED="test" |
46 |
+inherit cmake virtualx |
47 |
+ |
48 |
+MY_PN=kColorPicker |
49 |
+MY_P="${MY_PN}-${PV}" |
50 |
+ |
51 |
+DESCRIPTION="Qt based color picker with popup menu" |
52 |
+HOMEPAGE="https://github.com/ksnip/kColorPicker" |
53 |
+SRC_URI="https://github.com/ksnip/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="LGPL-3+" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~x86" |
58 |
+IUSE="test" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ dev-qt/qtcore:5 |
62 |
+ dev-qt/qtgui:5 |
63 |
+ dev-qt/qtwidgets:5[png] |
64 |
+" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ test? ( dev-qt/qttest:5 ) |
67 |
+" |
68 |
+ |
69 |
+S="${WORKDIR}/${MY_P}" |
70 |
+ |
71 |
+src_configure() { |
72 |
+ local mycmakeargs+=( |
73 |
+ -DBUILD_TESTS=$(usex test) |
74 |
+ ) |
75 |
+ cmake_src_configure |
76 |
+} |
77 |
+ |
78 |
+src_test() { |
79 |
+ virtx cmake_src_test |
80 |
+} |
81 |
|
82 |
diff --git a/media-libs/kcolorpicker/metadata.xml b/media-libs/kcolorpicker/metadata.xml |
83 |
new file mode 100644 |
84 |
index 00000000000..e8952720fce |
85 |
--- /dev/null |
86 |
+++ b/media-libs/kcolorpicker/metadata.xml |
87 |
@@ -0,0 +1,16 @@ |
88 |
+<?xml version="1.0" encoding="UTF-8"?> |
89 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
90 |
+<pkgmetadata> |
91 |
+ <maintainer type="person"> |
92 |
+ <email>dflogeras2@×××××.com</email> |
93 |
+ <name>David Flogeras</name> |
94 |
+ </maintainer> |
95 |
+ <maintainer type="project"> |
96 |
+ <email>proxy-maint@g.o</email> |
97 |
+ <name>Proxy Maintainers</name> |
98 |
+ </maintainer> |
99 |
+ <longdescription lang="en">QToolButton with color popup menu with lets you |
100 |
+ select a color. The popup features a color dialog button which can be |
101 |
+ used to add custom colors to the popup menu. |
102 |
+ </longdescription> |
103 |
+</pkgmetadata> |