# 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 }