commit:     1cd858abe9b419e1560d6128db75c01bf8a403fe
Author:     Douglas Agbeve <douglas <AT> agbeve <DOT> com>
AuthorDate: Fri Jul 15 10:20:47 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 06:04:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd858ab

media-gfx/flameshot: bump to v12.1.0

Signed-off-by: Douglas Agbeve <douglas <AT> agbeve.com>
Closes: https://github.com/gentoo/gentoo/pull/26418
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

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

diff --git a/media-gfx/flameshot/Manifest b/media-gfx/flameshot/Manifest
index a4d8ebbe281f..e735adbfa0b3 100644
--- a/media-gfx/flameshot/Manifest
+++ b/media-gfx/flameshot/Manifest
@@ -1,3 +1,4 @@
 DIST flameshot-0.10.2.tar.gz 7726687 BLAKE2B 
c7c7402d0cb6234473018571e67c39aebec3b4afa398fc2ef590f64527980ca218b1ebd8228ea47a3f9fd76e0edc2f8e1662965f79817bf6461bf0fc64d8b692
 SHA512 
b0eb1decd87dab1d4a375708448dd4c6f85c101d33814b76edbb328150d0e9ee7a588be698fddcb24e70e39cd4331f9aa2ff082525ff6975d52303a6d9c1ab12
 DIST flameshot-11.0.0.tar.gz 12662479 BLAKE2B 
1adef0196a449c33ea57ecd214ad890f44a8530c9c1116d5bdc29074835c040c8fbbec207501e597fb09887ab1e80e937e8412acdc7eb38c8619aa993f986018
 SHA512 
de13f3c5bc18f164c6e37c0b3f42c8693d3ebfaba5f3d54360899df6479390e2a0c38970fa2595c9293304b4e52ca2198477f4f317abcb11df4c30a24ab1909f
 DIST flameshot-12.0.0.tar.gz 15617684 BLAKE2B 
0c878c1efae7b1dd7fccc50471bb810bbf6067bcb1fe26b73965d4f5a78e514e33d74f4a0c28e68ff4e15875ec5d6f9eccfc91ee1635b6e0d31bb50133182277
 SHA512 
8a7d0878ff57f9c3fcb12791c33f2c11de08b057a68bb50684dd9195fbba8557e71236bc4f8a5f50062af021ed970d5b4362fc2bfdc90415143d7597c3df50f0
+DIST flameshot-12.1.0.tar.gz 15618560 BLAKE2B 
975019d71a31f32785f081a05d224f72927628a1142697ba7ef9646f65d2cf1dcb5457633522143201716fe20a320224c95047904408dc411975c3e711e48002
 SHA512 
159bf3a8ff406b3881dcc77fc48d9e7cc0d595bd47ee2363396d7efc95f69160cf25ccf99cd1b2c2b527baeadf91c209784a7bca23ed5f17caacc385e161c83c

diff --git a/media-gfx/flameshot/flameshot-12.1.0.ebuild 
b/media-gfx/flameshot/flameshot-12.1.0.ebuild
new file mode 100644
index 000000000000..cccbfdf33cd5
--- /dev/null
+++ b/media-gfx/flameshot/flameshot-12.1.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