media-gfx/gradia - 1.13.0 (fritteli)

Search

Install

Install this version:

emerge -a =media-gfx/gradia-1.13.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-gfx/gradia-1.13.0

Or alternatively:

emerge --autounmask-write -a =media-gfx/gradia-1.13.0

Package Information

Description:
Quickly modify screenshots of application windows to put them better in context.
Homepage:
https://github.com/AlexanderVanhee/Gradia
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.13.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gnome2-utils meson

DESCRIPTION="Quickly modify screenshots of application windows to put them better in context."
HOMEPAGE="https://github.com/AlexanderVanhee/Gradia"
SRC_URI="https://github.com/AlexanderVanhee/Gradia/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/Gradia-${PV}"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

IUSE="ocr"

PATCHES="${FILESDIR}/gradia-1.12.0-pygobject-3.50-compat.patch"

DEPEND="
	dev-util/blueprint-compiler
	sys-devel/gettext
	dev-util/desktop-file-utils
	dev-libs/glib
	dev-libs/appstream
	dev-python/pytesseract
"

RDEPEND="
	dev-libs/glib:2
	>=dev-python/pygobject-3.48.0
	gui-libs/gdk-pixbuf-loader-webp
	>=gui-libs/gtk-4.12.0:4
	>=gui-libs/libadwaita-1.5.0:1
	gui-libs/gtksourceview:5
"

IDEPEND="dev-util/desktop-file-utils"

src_configure() {
	local emesonargs=(
		$(meson_use ocr enable-ocr)
	)
	meson_src_configure
}

src_install() {
	meson_src_install
}

pkg_postinst() {
	gnome2_schemas_update
	xdg_desktop_database_update
	xdg_icon_cache_update
	xdg_mimeinfo_database_update
}

pkg_postrm() {
	gnome2_schemas_update
	xdg_desktop_database_update
	xdg_icon_cache_update
	xdg_mimeinfo_database_update
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-gfx/gradia | euse -E <flag> -p media-gfx/gradia | euse -D <flag> -p media-gfx/gradia

Global/Standard Flags

ocr

Inherited Eclasses

Dependencies

DEPEND

	dev-util/blueprint-compiler
	sys-devel/gettext
	dev-util/desktop-file-utils
	dev-libs/glib
	dev-libs/appstream
	dev-python/pytesseract

RDEPEND

	dev-libs/glib:2
	>=dev-python/pygobject-3.48.0
	gui-libs/gdk-pixbuf-loader-webp
	>=gui-libs/gtk-4.12.0:4
	>=gui-libs/libadwaita-1.5.0:1
	gui-libs/gtksourceview:5

Manifest for 1.13.0

Type File Size Source URLs
DIST gradia-1.13.0.tar.gz 5142589 bytes https://github.com/AlexanderVanhee/Gradia/archive/refs/tags/v1.13.0.tar.gz