blob: 8ddf4bbce12020c0dbccc3174bb7f22e4e605e37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 4.0.3: tag v4.0.3 of https://git.hedronfire.com/gcolor4 (crucible distfiles); no patches. The wf-shell name is retired: PYR_SOCKET (was WF_SHELL_SOCKET), theme colours @pyr_* (were @wf_shell_*), Pyr-named runtime/generated files; no fallback.
# 4.0.2: first release cut from Git, tag v4.0.2 of https://git.hedronfire.com/gcolor4 (crucible distfiles); no patches.
# Pyr package dependency namespace.
# r2: the srcux USE flag is now pyr (Hedronfire naming; the upstream meson option keeps its name), and the
# source downloads from www.hedronfire.com/distfiles instead of being built locally.
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson xdg
DESCRIPTION="GTK 4 color picker with RGB/HSV controls and saved colors"
HOMEPAGE="https://gitlab.gnome.org/World/gcolor3"
# Release archive made by scripts/make-release.py, published on Hedronfire's distfiles host.
SRC_URI="https://www.hedronfire.com/distfiles/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pyr"
RESTRICT="mirror test"
DEPEND="
>=dev-cpp/gtkmm-4.12:4.0
>=gui-libs/gtk-4.22.5:4
pyr? ( >=gui-libs/pyr-ui-0.1.11 )
"
RDEPEND="${DEPEND}
sys-apps/xdg-desktop-portal
"
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
-Dtests=false
$(meson_feature pyr srcux_appearance)
)
meson_src_configure
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_icon_cache_update
}
|