aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Flogeras <dflogeras2@gmail.com>2021-01-07 20:58:22 -0400
committerDavid Flogeras <dflogeras2@gmail.com>2021-01-07 21:11:15 -0400
commit7bd858da4948b9170e3bd6f4c2045ec63dbcd186 (patch)
tree1e80e1dd367910308c2b450a0af3b0979c9543b1 /x11-misc
parentx11-misc/ksnip: Formatting in metadata.xml (diff)
downloadguru-7bd858da4948b9170e3bd6f4c2045ec63dbcd186.tar.gz
guru-7bd858da4948b9170e3bd6f4c2045ec63dbcd186.tar.bz2
guru-7bd858da4948b9170e3bd6f4c2045ec63dbcd186.zip
x11-misc/ksnip: Bump to 1.8.0-r1
This also depends on the newly added, in-tree, kimageannotator and kcolorpicker deps. Signed-off-by: David Flogeras <dflogeras2@gmail.com>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/ksnip/ksnip-1.8.0-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-misc/ksnip/ksnip-1.8.0-r1.ebuild b/x11-misc/ksnip/ksnip-1.8.0-r1.ebuild
new file mode 100644
index 000000000..db803c4b3
--- /dev/null
+++ b/x11-misc/ksnip/ksnip-1.8.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg cmake
+# cmake has to be listed after xdg for src_prepare to work
+
+DESCRIPTION="Ksnip is a Qt based cross-platform screenshot tool"
+HOMEPAGE="https://github.com/ksnip/ksnip"
+SRC_URI="https://github.com/ksnip/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5[png]
+ dev-qt/qtx11extras:5
+ dev-qt/qtxml:5
+ >=media-libs/kcolorpicker-0.1.4
+ >=media-libs/kimageannotator-0.4.0
+ x11-libs/libX11
+ x11-libs/libxcb"
+DEPEND="${RDEPEND}
+ kde-frameworks/extra-cmake-modules:5
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+"
+
+src_install() {
+ cmake_src_install
+
+ doicon -s scalable desktop/${PN}.svg
+ domenu desktop/org.${PN}.${PN}.desktop
+}