media-gfx/flameshot - 14.0.0 (gentoo)

Search

Install

Install this version:

emerge -a =media-gfx/flameshot-14.0.0

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

autounmask =media-gfx/flameshot-14.0.0

Or alternatively:

emerge --autounmask-write -a =media-gfx/flameshot-14.0.0

Package Information

Description:
Powerful yet simple to use screenshot software
Homepage:
https://flameshot.org https://github.com/flameshot-org/flameshot
License:
Apache-2.0 Free-Art-1.3 GPL-3+

Ebuild Details

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

EAPI=8

inherit cmake flag-o-matic xdg

DESCRIPTION="Powerful yet simple to use screenshot software"
HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
SRC_URI="
	https://github.com/flameshot-org/flameshot/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.tar.gz
"

LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="imgur wayland"

DEPEND="
	dev-libs/kdsingleapplication:=
	dev-qt/qtbase:6[dbus,gui,network,widgets]
	dev-qt/qtsvg:6
	>=gui-libs/qt-color-widgets-3.0.0_p20260318:=
	sys-apps/dbus
	wayland? ( kde-frameworks/kguiaddons:6 )
"
RDEPEND="${DEPEND}"
BDEPEND="
	dev-qt/qttools:6[linguist]
"

PATCHES=(
	"${FILESDIR}"/${P}-strfparse-include-iterator.patch
)

src_configure() {
	# -Werror=strict-aliasing
	# https://bugs.gentoo.org/859613
	# https://github.com/flameshot-org/flameshot/issues/3531
	#
	# Do not trust with LTO either
	append-flags -fno-strict-aliasing
	filter-lto

	local mycmakeargs=(
		-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
		-DDISABLE_UPDATE_CHECKER=ON
		-DENABLE_CACHE=0
		-DENABLE_IMGUR=$(usex imgur)
		-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
		-DUSE_BUNDLED_KDSINGLEAPPLICATION=OFF
		-DUSE_KDSINGLEAPPLICATION=ON
		-DUSE_WAYLAND_CLIPBOARD=$(usex wayland)

	)

	cmake_src_configure
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

xdg

Dependencies

DEPEND

	dev-libs/kdsingleapplication:=
	dev-qt/qtbase:6[dbus,gui,network,widgets]
	dev-qt/qtsvg:6
	>=gui-libs/qt-color-widgets-3.0.0_p20260318:=
	sys-apps/dbus
	wayland? ( kde-frameworks/kguiaddons:6 )

RDEPEND

	dev-libs/kdsingleapplication:=
	dev-qt/qtbase:6[dbus,gui,network,widgets]
	dev-qt/qtsvg:6
	>=gui-libs/qt-color-widgets-3.0.0_p20260318:=
	sys-apps/dbus
	wayland? ( kde-frameworks/kguiaddons:6 )

BDEPEND

	dev-qt/qttools:6[linguist]

Manifest for 14.0.0

Type File Size Source URLs
DIST flameshot-14.0.0.tar.gz 16393896 bytes https://github.com/flameshot-org/flameshot/archive/refs/tags/v14.0.0.tar.gz