From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C64B9158041 for ; Sun, 10 Mar 2024 16:51:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BB8DE2AB5; Sun, 10 Mar 2024 16:51:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D209E2AB5 for ; Sun, 10 Mar 2024 16:51:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2CFB33BE3B for ; Sun, 10 Mar 2024 16:51:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44C8AFCB for ; Sun, 10 Mar 2024 16:51:15 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1710089445.c8de61ac2924008a9f92c9696aabd97a7e3a1a77.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/kcolorpicker/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/kcolorpicker/Manifest media-libs/kcolorpicker/kcolorpicker-0.3.1.ebuild X-VCS-Directories: media-libs/kcolorpicker/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c8de61ac2924008a9f92c9696aabd97a7e3a1a77 X-VCS-Branch: master Date: Sun, 10 Mar 2024 16:51:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5ba404d0-4e3f-4a07-b014-b96f30f59373 X-Archives-Hash: a4359d2e7c9846612220185037749a7e commit: c8de61ac2924008a9f92c9696aabd97a7e3a1a77 Author: David Flogeras gmail com> AuthorDate: Fri Mar 8 15:49:19 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 10 16:50:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8de61ac media-libs/kcolorpicker: add 0.3.1 Bug: https://bugs.gentoo.org/921699 Signed-off-by: David Flogeras gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35670 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/kcolorpicker/Manifest | 1 + media-libs/kcolorpicker/kcolorpicker-0.3.1.ebuild | 41 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/media-libs/kcolorpicker/Manifest b/media-libs/kcolorpicker/Manifest index f57a68494be2..1c0d90f3ca41 100644 --- a/media-libs/kcolorpicker/Manifest +++ b/media-libs/kcolorpicker/Manifest @@ -1,2 +1,3 @@ DIST kColorPicker-0.2.0.tar.gz 12735 BLAKE2B 39b0c80ec5b498800dd251901b0bd57c839693f071185afacefa8d5a715ff18f2297c50486d98871471c40e0904a07ff40198b548d9368937b120a1eef07929f SHA512 44f9f317ebe5dd3131a9e44071f9f5b397b0d5cceece566f3ecf19932c8e36dafe1a434e623239421bead9413f0859bc3380174d7f14843770691e4d15a956eb DIST kColorPicker-0.3.0.tar.gz 12998 BLAKE2B 18c8f36b3efe1fa3c4ae9fb0e9d7497393561d66287e7ce6b5139e0182ddc69866685a85f4794afb7c861fcb824bfebb4f3c4badf148b4c8aa8b88b7b3483db2 SHA512 9f370ad8de0f23116f513e14ca22cb368cb5eaea53484388ca5ca0b7abc81d5071379cb84f8128f806c9ffa051ad29a95e42d4c1d30ba93034c0ae9fd785bb8c +DIST kColorPicker-0.3.1.tar.gz 12861 BLAKE2B 927ad41de0d9576d6fc004595a775715bcffeba7149a8111a7311fd44e8e58b01abbfda898174acefb9e0bad969420bf05eda45694cbc0cd8a3d3cf942709179 SHA512 bb91d8dfa555e60206665453cde8f4f7536154fe7660aeab276c0a509bdb19caf04276eb0935537b390657881db020ecb943de3e5b8d286f3cd7d89bf7010674 diff --git a/media-libs/kcolorpicker/kcolorpicker-0.3.1.ebuild b/media-libs/kcolorpicker/kcolorpicker-0.3.1.ebuild new file mode 100644 index 000000000000..ba108063e02c --- /dev/null +++ b/media-libs/kcolorpicker/kcolorpicker-0.3.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN=kColorPicker +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Qt based color picker with popup menu" +HOMEPAGE="https://github.com/ksnip/kColorPicker" +SRC_URI="https://github.com/ksnip/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtbase:6[gui,widgets] +" +DEPEND="${RDEPEND} + test? ( dev-qt/qtbase:6 ) +" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DBUILD_WITH_QT6=ON + ) + cmake_src_configure +} + +src_test() { + local -x QT_QPA_PLATFORM=offscreen + cmake_src_test +}