# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Customizable gentoo stage4 image builder"
HOMEPAGE="https://gardenhouse.pinkro.se"

if [[ ${PV} = 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://git.pinkro.se/Rose/gardenhouse/florist.git"
	EGIT_BRANCH="main"
else
	SRC_URI="https://git.pinkro.se/Rose/gardenhouse/florist.git/snapshot/florist-2.0.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="GPL-3+"
SLOT="0"
IUSE="+delta"

DEPEND="sys-fs/erofs-utils
		sys-apps/arch-chroot
		delta? ( dev-util/xdelta )"
RDEPEND="${DEPEND}"