blob: db803c4b3d4b5a1251a3fb8712b42fa96918c56e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
}
|