app-misc/grimblast - 20260114 (hyproverlay)

Search

Package Information

Description:
A Hyprland version of Grimshot
Homepage:
https://github.com/hyprwm/contrib

Ebuild Details

Version EAPI Keywords Slot
20260114 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the MIT License

EAPI=8

DESCRIPTION="A Hyprland version of Grimshot"
HOMEPAGE="https://github.com/hyprwm/contrib"

COMMIT="541628cebe42792ddf5063c4abd6402c2f1bd68f"

if [[ "${PV}" = *9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/hyprwm/contrib.git"
else
	SRC_URI="https://github.com/hyprwm/contrib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}/contrib-${COMMIT}"

	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"

IUSE="+clipboard +freeze +notify"

RDEPEND="
	app-misc/jq
	gui-apps/grim
	gui-apps/slurp
	gui-wm/hyprland
	clipboard? ( gui-apps/wl-clipboard )
	notify? ( x11-libs/libnotify )
	freeze? ( gui-apps/hyprpicker )
"
DEPEND="${RDEPEND}"

src_install() {
	pushd ${PN} || die
	emake DESTDIR="${D}" PREFIX="${D}/usr" install
}

pkg_postinst() {
	elog "By default, 'edit' mode looks for GIMP. You can set GRIMBLAST_EDITOR"
	elog "in your environment to use a different image editor."
}

USE Flags

clipboard
Default: Enabled (+)
freeze
Default: Enabled (+)
notify
Default: Enabled (+)

Dependencies

DEPEND

	app-misc/jq
	gui-apps/grim
	gui-apps/slurp
	gui-wm/hyprland
	clipboard? ( gui-apps/wl-clipboard )
	notify? ( x11-libs/libnotify )
	freeze? ( gui-apps/hyprpicker )

RDEPEND

	app-misc/jq
	gui-apps/grim
	gui-apps/slurp
	gui-wm/hyprland
	clipboard? ( gui-apps/wl-clipboard )
	notify? ( x11-libs/libnotify )
	freeze? ( gui-apps/hyprpicker )

Manifest for 20260114

Type File Size Source URLs
DIST grimblast-20260114.tar.gz 42208 bytes https://github.com/hyprwm/contrib/archive/541628cebe42792ddf5063c4abd6402c2f1bd68f.tar.gz