media-gfx/flameshot - 0.8.5 (didos)

Search

Install

Install this version:

emerge -a =media-gfx/flameshot-0.8.5

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

autounmask =media-gfx/flameshot-0.8.5

Or alternatively:

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

Package Information

Description:
Powerful yet simple to use screenshot software
Homepage:
https://flameshot.js.org
License:
FreeArt GPL-3 Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.8.5 7 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake toolchain-funcs xdg-utils

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

LICENSE="FreeArt GPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

IUSE="+dbus"

CMAKE_MIN_VERSION=3.13

DEPEND="
	>=dev-qt/qtcore-5.9:5
	dev-qt/qtgui:5
	dev-qt/qtsingleapplication[qt5(+),X]
	>=dev-qt/qtwidgets-5.9:5
	>=dev-qt/qtsvg-5.9:5
	>=dev-qt/qtnetwork-5.9:5
	dbus? (
		>=dev-qt/qtdbus-5.9:5
		sys-apps/dbus
	)
"
BDEPEND="
	>=dev-qt/linguist-tools-5.9:5
"
RDEPEND="${DEPEND}"
pkg_pretend(){
	if tc-is-gcc && ver_test "$(gcc-version)" -lt 7.4 ;then
		die "You need at least GCC 7.4 to build this package"
	fi
}

src_install(){
	emake INSTALL_ROOT="${D}" install
}

pkg_postinst(){
	xdg_desktop_database_update
	xdg_icon_cache_update
	xdg_mimeinfo_database_update
}

pkg_postrm(){
	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/flameshot | euse -E <flag> -p media-gfx/flameshot | euse -D <flag> -p media-gfx/flameshot

Global/Standard Flags

dbus
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	>=dev-qt/qtcore-5.9:5
	dev-qt/qtgui:5
	dev-qt/qtsingleapplication[qt5(+),X]
	>=dev-qt/qtwidgets-5.9:5
	>=dev-qt/qtsvg-5.9:5
	>=dev-qt/qtnetwork-5.9:5
	dbus? (
		>=dev-qt/qtdbus-5.9:5
		sys-apps/dbus
	)

RDEPEND

	>=dev-qt/qtcore-5.9:5
	dev-qt/qtgui:5
	dev-qt/qtsingleapplication[qt5(+),X]
	>=dev-qt/qtwidgets-5.9:5
	>=dev-qt/qtsvg-5.9:5
	>=dev-qt/qtnetwork-5.9:5
	dbus? (
		>=dev-qt/qtdbus-5.9:5
		sys-apps/dbus
	)

BDEPEND

	>=dev-qt/linguist-tools-5.9:5

Manifest for 0.8.5

Type File Size Source URLs
DIST flameshot-0.8.5.tar.gz 2335439 bytes https://github.com/lupoDharkael/flameshot/archive/v0.8.5.tar.gz