diff options
author | David Flogeras <dflogeras2@gmail.com> | 2020-05-25 14:40:52 -0300 |
---|---|---|
committer | David Flogeras <dflogeras2@gmail.com> | 2020-05-25 14:40:52 -0300 |
commit | 1af4bc301a9bd9e99bd7b9ab7b1525a76487d26e (patch) | |
tree | 44cf91d85a10ccddee6ec295abed6023acaf3ea2 /x11-misc | |
parent | x11-libs/kimageannotator: New package, required for ksnip (diff) | |
download | guru-1af4bc301a9bd9e99bd7b9ab7b1525a76487d26e.tar.gz guru-1af4bc301a9bd9e99bd7b9ab7b1525a76487d26e.tar.bz2 guru-1af4bc301a9bd9e99bd7b9ab7b1525a76487d26e.zip |
x11-misc/ksnip: New package
Signed-off-by: David Flogeras <dflogeras2@gmail.com>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/ksnip/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/ksnip/ksnip-1.6.2.ebuild | 43 | ||||
-rw-r--r-- | x11-misc/ksnip/metadata.xml | 10 |
3 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/ksnip/Manifest b/x11-misc/ksnip/Manifest new file mode 100644 index 000000000..747eef93a --- /dev/null +++ b/x11-misc/ksnip/Manifest @@ -0,0 +1 @@ +DIST ksnip-1.6.2.tar.gz 221518 BLAKE2B a2e08b3dcfa448790a165a15e4e0c76771168d03756778b53ea79d7ebc3aad5efa50a18a6d4755a5c85ba3867e5d8e0c534af2cd0e7886db70ba407fb36185ff SHA512 2e40d12524a6a0d5bf321f7e5554a0a423e3fe7861118b6d6fc95e01e9558e63ce1519ed234ac514f3ade88d1d3261fb8f693e89d097059e1607f9bfd5227573 diff --git a/x11-misc/ksnip/ksnip-1.6.2.ebuild b/x11-misc/ksnip/ksnip-1.6.2.ebuild new file mode 100644 index 000000000..d91e0b0c3 --- /dev/null +++ b/x11-misc/ksnip/ksnip-1.6.2.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="LGPL-3+" +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 + 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 +} diff --git a/x11-misc/ksnip/metadata.xml b/x11-misc/ksnip/metadata.xml new file mode 100644 index 000000000..77822e25c --- /dev/null +++ b/x11-misc/ksnip/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dflogeras2@gmail.com</email> + <name>David Flogeras</name> + </maintainer> + <longdescription lang="en">Ksnip is a Qt based cross-platform screenshot tool that provides many annotation features for your screenshots. + </longdescription> +</pkgmetadata> |