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: Sun, 27 Feb 2022 13:30:02
Message-Id: 1645968594.6b890227f1982290c1c61aef3beac10e829bcd24.juippis@gentoo
1 commit: 6b890227f1982290c1c61aef3beac10e829bcd24
2 Author: Pavel Kalugin <pavel <AT> pavelthebest <DOT> me>
3 AuthorDate: Mon Feb 7 12:50:58 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 13:29:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b890227
7
8 media-gfx/flameshot: version bump to v11.0.0
9
10 - Remove spdlog dependency
11
12 Note a change in versioning scheme: leading zero has been dropped
13
14 Closes: https://bugs.gentoo.org/831475
15 Signed-off-by: Pavel Kalugin <pavel <AT> pavelthebest.me>
16 Closes: https://github.com/gentoo/gentoo/pull/24112
17 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
18
19 media-gfx/flameshot/Manifest | 1 +
20 media-gfx/flameshot/flameshot-11.0.0.ebuild | 44 +++++++++++++++++++++++++++++
21 2 files changed, 45 insertions(+)
22
23 diff --git a/media-gfx/flameshot/Manifest b/media-gfx/flameshot/Manifest
24 index dd2fa89381d1..dc32d88dbd68 100644
25 --- a/media-gfx/flameshot/Manifest
26 +++ b/media-gfx/flameshot/Manifest
27 @@ -2,3 +2,4 @@ DIST flameshot-0.10.1.tar.gz 7726725 BLAKE2B 7045e7f86fc835a49a814b6fb86c2d41342
28 DIST flameshot-0.10.2.tar.gz 7726687 BLAKE2B c7c7402d0cb6234473018571e67c39aebec3b4afa398fc2ef590f64527980ca218b1ebd8228ea47a3f9fd76e0edc2f8e1662965f79817bf6461bf0fc64d8b692 SHA512 b0eb1decd87dab1d4a375708448dd4c6f85c101d33814b76edbb328150d0e9ee7a588be698fddcb24e70e39cd4331f9aa2ff082525ff6975d52303a6d9c1ab12
29 DIST flameshot-0.6.0.tar.gz 641561 BLAKE2B f9e87373d84c1a841f70cd9c13b504865a0ef23d0fb29848f2270171459afe9c6852e12c712ebdc7cf3cfc62214d7b7507b85cf21838d0ebed33bee1e39f4aad SHA512 194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975
30 DIST flameshot-0.9.0.tar.gz 7659641 BLAKE2B 38151bf333802ccbaa6c2292799958fe4c75f5a978eea9b2314c5eb264fb569cfcce73afac79b80423686d3a10ec54300ad4cacd3be9a6c6e58c72f59c23fb46 SHA512 888422cd66b7c90cd6da0e824a2c12c0ca7e3cfdfd0a0499868acf9609e6c3a0977f816c656690fa101971b98a3f560cf7849b93079c091b25155360cb20ea11
31 +DIST flameshot-11.0.0.tar.gz 12662479 BLAKE2B 1adef0196a449c33ea57ecd214ad890f44a8530c9c1116d5bdc29074835c040c8fbbec207501e597fb09887ab1e80e937e8412acdc7eb38c8619aa993f986018 SHA512 de13f3c5bc18f164c6e37c0b3f42c8693d3ebfaba5f3d54360899df6479390e2a0c38970fa2595c9293304b4e52ca2198477f4f317abcb11df4c30a24ab1909f
32
33 diff --git a/media-gfx/flameshot/flameshot-11.0.0.ebuild b/media-gfx/flameshot/flameshot-11.0.0.ebuild
34 new file mode 100644
35 index 000000000000..cccbfdf33cd5
36 --- /dev/null
37 +++ b/media-gfx/flameshot/flameshot-11.0.0.ebuild
38 @@ -0,0 +1,44 @@
39 +# Copyright 2021-2022 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=8
43 +
44 +inherit cmake xdg
45 +
46 +DESCRIPTION="Powerful yet simple to use screenshot software"
47 +HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
48 +SRC_URI="https://github.com/flameshot-org/flameshot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +
54 +DEPEND="
55 + dev-qt/qtcore:5
56 + dev-qt/qtgui:5
57 + =dev-qt/qtsingleapplication-2.6*[qt5(+),X]
58 + dev-qt/qtwidgets:5
59 + dev-qt/qtsvg:5
60 + dev-qt/qtnetwork:5
61 + dev-qt/qtdbus:5
62 + sys-apps/dbus
63 +"
64 +BDEPEND="
65 + dev-qt/linguist-tools:5
66 +"
67 +RDEPEND="${DEPEND}"
68 +
69 +src_prepare() {
70 + rm -r external/singleapplication || die
71 +
72 + cmake_src_prepare
73 +}
74 +
75 +src_configure() {
76 + local mycmakeargs=(
77 + -DUSE_EXTERNAL_SINGLEAPPLICATION=1
78 + -DENABLE_CACHE=0
79 + )
80 +
81 + cmake_src_configure
82 +}