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, 05 Jul 2022 07:40:35
Message-Id: 1657006828.cd9dd5cdb38ec11745ccad8cd80ece1d3742315a.juippis@gentoo
1 commit: cd9dd5cdb38ec11745ccad8cd80ece1d3742315a
2 Author: Douglas Agbeve <douglas <AT> agbeve <DOT> com>
3 AuthorDate: Thu Jun 23 08:42:39 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 5 07:40:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd9dd5cd
7
8 media-gfx/flameshot: bump to v12.0.0
9
10 Signed-off-by: Douglas Agbeve <douglas <AT> agbeve.com>
11 Closes: https://github.com/gentoo/gentoo/pull/26055
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 media-gfx/flameshot/Manifest | 1 +
15 media-gfx/flameshot/flameshot-12.0.0.ebuild | 44 +++++++++++++++++++++++++++++
16 2 files changed, 45 insertions(+)
17
18 diff --git a/media-gfx/flameshot/Manifest b/media-gfx/flameshot/Manifest
19 index dc32d88dbd68..6456a03354b2 100644
20 --- a/media-gfx/flameshot/Manifest
21 +++ b/media-gfx/flameshot/Manifest
22 @@ -3,3 +3,4 @@ DIST flameshot-0.10.2.tar.gz 7726687 BLAKE2B c7c7402d0cb6234473018571e67c39aebec
23 DIST flameshot-0.6.0.tar.gz 641561 BLAKE2B f9e87373d84c1a841f70cd9c13b504865a0ef23d0fb29848f2270171459afe9c6852e12c712ebdc7cf3cfc62214d7b7507b85cf21838d0ebed33bee1e39f4aad SHA512 194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975
24 DIST flameshot-0.9.0.tar.gz 7659641 BLAKE2B 38151bf333802ccbaa6c2292799958fe4c75f5a978eea9b2314c5eb264fb569cfcce73afac79b80423686d3a10ec54300ad4cacd3be9a6c6e58c72f59c23fb46 SHA512 888422cd66b7c90cd6da0e824a2c12c0ca7e3cfdfd0a0499868acf9609e6c3a0977f816c656690fa101971b98a3f560cf7849b93079c091b25155360cb20ea11
25 DIST flameshot-11.0.0.tar.gz 12662479 BLAKE2B 1adef0196a449c33ea57ecd214ad890f44a8530c9c1116d5bdc29074835c040c8fbbec207501e597fb09887ab1e80e937e8412acdc7eb38c8619aa993f986018 SHA512 de13f3c5bc18f164c6e37c0b3f42c8693d3ebfaba5f3d54360899df6479390e2a0c38970fa2595c9293304b4e52ca2198477f4f317abcb11df4c30a24ab1909f
26 +DIST flameshot-12.0.0.tar.gz 15617684 BLAKE2B 0c878c1efae7b1dd7fccc50471bb810bbf6067bcb1fe26b73965d4f5a78e514e33d74f4a0c28e68ff4e15875ec5d6f9eccfc91ee1635b6e0d31bb50133182277 SHA512 8a7d0878ff57f9c3fcb12791c33f2c11de08b057a68bb50684dd9195fbba8557e71236bc4f8a5f50062af021ed970d5b4362fc2bfdc90415143d7597c3df50f0
27
28 diff --git a/media-gfx/flameshot/flameshot-12.0.0.ebuild b/media-gfx/flameshot/flameshot-12.0.0.ebuild
29 new file mode 100644
30 index 000000000000..cccbfdf33cd5
31 --- /dev/null
32 +++ b/media-gfx/flameshot/flameshot-12.0.0.ebuild
33 @@ -0,0 +1,44 @@
34 +# Copyright 2021-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit cmake xdg
40 +
41 +DESCRIPTION="Powerful yet simple to use screenshot software"
42 +HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
43 +SRC_URI="https://github.com/flameshot-org/flameshot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +DEPEND="
50 + dev-qt/qtcore:5
51 + dev-qt/qtgui:5
52 + =dev-qt/qtsingleapplication-2.6*[qt5(+),X]
53 + dev-qt/qtwidgets:5
54 + dev-qt/qtsvg:5
55 + dev-qt/qtnetwork:5
56 + dev-qt/qtdbus:5
57 + sys-apps/dbus
58 +"
59 +BDEPEND="
60 + dev-qt/linguist-tools:5
61 +"
62 +RDEPEND="${DEPEND}"
63 +
64 +src_prepare() {
65 + rm -r external/singleapplication || die
66 +
67 + cmake_src_prepare
68 +}
69 +
70 +src_configure() {
71 + local mycmakeargs=(
72 + -DUSE_EXTERNAL_SINGLEAPPLICATION=1
73 + -DENABLE_CACHE=0
74 + )
75 +
76 + cmake_src_configure
77 +}