Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/flameshot/
Date: Tue, 30 Nov 2021 07:27:56
Message-Id: 1638257263.8a13eae3dceaaafbe7365ba0c1fe2ec491a673bb.juippis@gentoo
1 commit: 8a13eae3dceaaafbe7365ba0c1fe2ec491a673bb
2 Author: Douglas Agbeve <douglas <AT> agbeve <DOT> com>
3 AuthorDate: Fri Nov 26 13:35:43 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 30 07:27:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a13eae3
7
8 media-gfx/flameshot: bump to v0.10.2
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Douglas Agbeve <douglas <AT> agbeve.com>
12 Closes: https://github.com/gentoo/gentoo/pull/23090
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 media-gfx/flameshot/Manifest | 1 +
16 media-gfx/flameshot/flameshot-0.10.2.ebuild | 47 +++++++++++++++++++++++++++++
17 2 files changed, 48 insertions(+)
18
19 diff --git a/media-gfx/flameshot/Manifest b/media-gfx/flameshot/Manifest
20 index 1d536a4b067f..dd2fa89381d1 100644
21 --- a/media-gfx/flameshot/Manifest
22 +++ b/media-gfx/flameshot/Manifest
23 @@ -1,3 +1,4 @@
24 DIST flameshot-0.10.1.tar.gz 7726725 BLAKE2B 7045e7f86fc835a49a814b6fb86c2d413422a323925d358cc37d6263b8a1ca9415f134caf72700ebe138621a5687d9245dc96edf8f0597eb1e974edf5bf699f1 SHA512 dca9c48b284d23b67cb71ff78d79b87887506bf5b30600c5d9ee78f5fadebab6d507674abeeae0c5cdf4a149e71df60666299c7db10168613c03467c7aafa7cf
25 +DIST flameshot-0.10.2.tar.gz 7726687 BLAKE2B c7c7402d0cb6234473018571e67c39aebec3b4afa398fc2ef590f64527980ca218b1ebd8228ea47a3f9fd76e0edc2f8e1662965f79817bf6461bf0fc64d8b692 SHA512 b0eb1decd87dab1d4a375708448dd4c6f85c101d33814b76edbb328150d0e9ee7a588be698fddcb24e70e39cd4331f9aa2ff082525ff6975d52303a6d9c1ab12
26 DIST flameshot-0.6.0.tar.gz 641561 BLAKE2B f9e87373d84c1a841f70cd9c13b504865a0ef23d0fb29848f2270171459afe9c6852e12c712ebdc7cf3cfc62214d7b7507b85cf21838d0ebed33bee1e39f4aad SHA512 194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975
27 DIST flameshot-0.9.0.tar.gz 7659641 BLAKE2B 38151bf333802ccbaa6c2292799958fe4c75f5a978eea9b2314c5eb264fb569cfcce73afac79b80423686d3a10ec54300ad4cacd3be9a6c6e58c72f59c23fb46 SHA512 888422cd66b7c90cd6da0e824a2c12c0ca7e3cfdfd0a0499868acf9609e6c3a0977f816c656690fa101971b98a3f560cf7849b93079c091b25155360cb20ea11
28
29 diff --git a/media-gfx/flameshot/flameshot-0.10.2.ebuild b/media-gfx/flameshot/flameshot-0.10.2.ebuild
30 new file mode 100644
31 index 000000000000..f7e216a175dc
32 --- /dev/null
33 +++ b/media-gfx/flameshot/flameshot-0.10.2.ebuild
34 @@ -0,0 +1,47 @@
35 +# Copyright 2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit cmake xdg
41 +
42 +DESCRIPTION="Powerful yet simple to use screenshot software"
43 +HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
44 +SRC_URI="https://github.com/flameshot-org/flameshot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +DEPEND="
51 + dev-qt/qtcore:5
52 + dev-qt/qtgui:5
53 + =dev-qt/qtsingleapplication-2.6*[qt5(+),X]
54 + dev-qt/qtwidgets:5
55 + dev-qt/qtsvg:5
56 + dev-qt/qtnetwork:5
57 + dev-qt/qtdbus:5
58 + sys-apps/dbus
59 + dev-libs/spdlog:=
60 +"
61 +BDEPEND="
62 + dev-qt/linguist-tools:5
63 +"
64 +RDEPEND="${DEPEND}"
65 +
66 +src_prepare() {
67 + rm -r external/spdlog || die
68 + rm -r external/singleapplication || die
69 +
70 + cmake_src_prepare
71 +}
72 +
73 +src_configure() {
74 + local mycmakeargs=(
75 + -DUSE_EXTERNAL_SPDLOG=1
76 + -DUSE_EXTERNAL_SINGLEAPPLICATION=1
77 + -DENABLE_CACHE=0
78 + )
79 +
80 + cmake_src_configure
81 +}