aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Flogeras <dflogeras2@gmail.com>2020-06-25 14:02:21 -0300
committerDavid Flogeras <dflogeras2@gmail.com>2020-06-25 14:03:06 -0300
commite1139ab4b5e792b2c42ac4cde3991ba1976338f0 (patch)
treee5e02de8b8f5cd467ef55446700c95da7a5af7f7 /x11-misc/ksnip
parentx11-libs/kimageannotator: Bump to 0.3.0 (diff)
downloadguru-e1139ab4b5e792b2c42ac4cde3991ba1976338f0.tar.gz
guru-e1139ab4b5e792b2c42ac4cde3991ba1976338f0.tar.bz2
guru-e1139ab4b5e792b2c42ac4cde3991ba1976338f0.zip
x11-misc/ksnip: Bump to 1.7.0
Signed-off-by: David Flogeras <dflogeras2@gmail.com>
Diffstat (limited to 'x11-misc/ksnip')
-rw-r--r--x11-misc/ksnip/Manifest1
-rw-r--r--x11-misc/ksnip/ksnip-1.7.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/x11-misc/ksnip/Manifest b/x11-misc/ksnip/Manifest
index 747eef93a..e48a0e670 100644
--- a/x11-misc/ksnip/Manifest
+++ b/x11-misc/ksnip/Manifest
@@ -1 +1,2 @@
DIST ksnip-1.6.2.tar.gz 221518 BLAKE2B a2e08b3dcfa448790a165a15e4e0c76771168d03756778b53ea79d7ebc3aad5efa50a18a6d4755a5c85ba3867e5d8e0c534af2cd0e7886db70ba407fb36185ff SHA512 2e40d12524a6a0d5bf321f7e5554a0a423e3fe7861118b6d6fc95e01e9558e63ce1519ed234ac514f3ade88d1d3261fb8f693e89d097059e1607f9bfd5227573
+DIST ksnip-1.7.0.tar.gz 335727 BLAKE2B 2b7aab75917dfe5a5a2cf77ea96c78d35c6483705999e1a0be6de0ae00aa3c4a1ea5b6ea3923fc5624fe13cba4133e180367db224b094f4b2625d8b53951c2ec SHA512 833a8c07cdb71dd3437686b1eb350f45caa70614114145901dd05b3db9b62bc83702b258e5f414306d779e0febeba8605b586fc57f55907dc9bbb50da5a08703
diff --git a/x11-misc/ksnip/ksnip-1.7.0.ebuild b/x11-misc/ksnip/ksnip-1.7.0.ebuild
new file mode 100644
index 000000000..9eead7a02
--- /dev/null
+++ b/x11-misc/ksnip/ksnip-1.7.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake desktop
+
+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=""
+
+DEPEND="kde-frameworks/extra-cmake-modules:5"
+RDEPEND="
+ dev-qt/qtdbus:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtx11extras:5
+ dev-qt/qtxml:5
+ >=x11-libs/kimageannotator-0.2.2
+ x11-libs/libxcb"
+BDEPEND=""
+
+src_install() {
+ cmake_src_install
+
+ doicon -s scalable desktop/${PN}.svg
+ domenu desktop/${PN}.desktop
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}