Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 681830 | Differences between
and this patch

Collapse All | Expand All

(-)a/media-gfx/flameshot/Manifest (+2 lines)
Line 0 Link Here
1
DIST flameshot-0.6.0.tar.gz 641561 BLAKE2B f9e87373d84c1a841f70cd9c13b504865a0ef23d0fb29848f2270171459afe9c6852e12c712ebdc7cf3cfc62214d7b7507b85cf21838d0ebed33bee1e39f4aad SHA512 194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975
2
EBUILD flameshot-0.6.0.ebuild 873 BLAKE2B 6d7e6538951780339f0e681c8111036bb2e7d17c19946deadfe12353834cf162fe65a9df103c3db154176d207a1e668939863fbb7553073088f06d4f0fd91f4c SHA512 4092e19835bd92a695d3d84e6d9604152f0084d8ac8736f441d31223d6348414c1563dd4b2c3bdf20764cba433e254c238fdc9a5ec01fab5a5ba9a69444e2721
(-)a/media-gfx/flameshot/flameshot-0.6.0.ebuild (+43 lines)
Line 0 Link Here
1
# Copyright 2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit gnome2-utils qmake-utils
7
8
DESCRIPTION="Powerful yet simple to use screenshot software"
9
HOMEPAGE="https://github.com/lupoDharkael/flameshot"
10
SRC_URI="https://github.com/lupoDharkael/flameshot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11
12
LICENSE="GPL-3"
13
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
15
IUSE=""
16
17
DEPEND="dev-qt/qtcore:5
18
		dev-qt/qtsvg:5
19
		dev-qt/qtnetwork:5
20
		dev-qt/linguist-tools:5
21
"
22
RDEPEND="${DEPEND}"
23
BDEPEND=""
24
25
src_configure() {
26
	if tc-is-gcc && [[ $(gcc-version) < 4.9.2 ]]; then
27
		die "Flameshot requires GCC >= 4.9.2, but you have GCC $(gcc-version)"
28
	fi
29
	eqmake5 CONFIG+=packaging flameshot.pro
30
}
31
32
src_install() {
33
	emake INSTALL_ROOT="${D}" install
34
	einstalldocs
35
}
36
37
pkg_postinst() {
38
	gnome2_icon_cache_update
39
}
40
41
pkg_postrm() {
42
	gnome2_icon_cache_update
43
}

Return to bug 681830