commit:     6b890227f1982290c1c61aef3beac10e829bcd24
Author:     Pavel Kalugin <pavel <AT> pavelthebest <DOT> me>
AuthorDate: Mon Feb  7 12:50:58 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb 27 13:29:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b890227

media-gfx/flameshot: version bump to v11.0.0

- Remove spdlog dependency

Note a change in versioning scheme: leading zero has been dropped

Closes: https://bugs.gentoo.org/831475
Signed-off-by: Pavel Kalugin <pavel <AT> pavelthebest.me>
Closes: https://github.com/gentoo/gentoo/pull/24112
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/flameshot/Manifest                |  1 +
 media-gfx/flameshot/flameshot-11.0.0.ebuild | 44 +++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/media-gfx/flameshot/Manifest b/media-gfx/flameshot/Manifest
index dd2fa89381d1..dc32d88dbd68 100644
--- a/media-gfx/flameshot/Manifest
+++ b/media-gfx/flameshot/Manifest
@@ -2,3 +2,4 @@ DIST flameshot-0.10.1.tar.gz 7726725 BLAKE2B 
7045e7f86fc835a49a814b6fb86c2d41342
 DIST flameshot-0.10.2.tar.gz 7726687 BLAKE2B 
c7c7402d0cb6234473018571e67c39aebec3b4afa398fc2ef590f64527980ca218b1ebd8228ea47a3f9fd76e0edc2f8e1662965f79817bf6461bf0fc64d8b692
 SHA512 
b0eb1decd87dab1d4a375708448dd4c6f85c101d33814b76edbb328150d0e9ee7a588be698fddcb24e70e39cd4331f9aa2ff082525ff6975d52303a6d9c1ab12
 DIST flameshot-0.6.0.tar.gz 641561 BLAKE2B 
f9e87373d84c1a841f70cd9c13b504865a0ef23d0fb29848f2270171459afe9c6852e12c712ebdc7cf3cfc62214d7b7507b85cf21838d0ebed33bee1e39f4aad
 SHA512 
194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975
 DIST flameshot-0.9.0.tar.gz 7659641 BLAKE2B 
38151bf333802ccbaa6c2292799958fe4c75f5a978eea9b2314c5eb264fb569cfcce73afac79b80423686d3a10ec54300ad4cacd3be9a6c6e58c72f59c23fb46
 SHA512 
888422cd66b7c90cd6da0e824a2c12c0ca7e3cfdfd0a0499868acf9609e6c3a0977f816c656690fa101971b98a3f560cf7849b93079c091b25155360cb20ea11
+DIST flameshot-11.0.0.tar.gz 12662479 BLAKE2B 
1adef0196a449c33ea57ecd214ad890f44a8530c9c1116d5bdc29074835c040c8fbbec207501e597fb09887ab1e80e937e8412acdc7eb38c8619aa993f986018
 SHA512 
de13f3c5bc18f164c6e37c0b3f42c8693d3ebfaba5f3d54360899df6479390e2a0c38970fa2595c9293304b4e52ca2198477f4f317abcb11df4c30a24ab1909f

diff --git a/media-gfx/flameshot/flameshot-11.0.0.ebuild 
b/media-gfx/flameshot/flameshot-11.0.0.ebuild
new file mode 100644
index 000000000000..cccbfdf33cd5
--- /dev/null
+++ b/media-gfx/flameshot/flameshot-11.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Powerful yet simple to use screenshot software"
+HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot";
+SRC_URI="https://github.com/flameshot-org/flameshot/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       =dev-qt/qtsingleapplication-2.6*[qt5(+),X]
+       dev-qt/qtwidgets:5
+       dev-qt/qtsvg:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtdbus:5
+       sys-apps/dbus
+"
+BDEPEND="
+       dev-qt/linguist-tools:5
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       rm -r external/singleapplication || die
+
+       cmake_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_EXTERNAL_SINGLEAPPLICATION=1
+               -DENABLE_CACHE=0
+       )
+
+       cmake_src_configure
+}

Reply via email to