mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 08:18:49 -04:00
Until ksnip-1.11 is released, we will limit to the older qt5 based libraries. The in-tree deps are purposefully not going to support simultaneous qt5+qt6 support, so when the time comes, this package will jump to qt6 and kimageannotator-0.7.x. Closes: https://bugs.gentoo.org/928412 Signed-off-by: David Flogeras <dflogeras2@gmail.com>
44 lines
916 B
Bash
44 lines
916 B
Bash
# Copyright 2020-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake desktop xdg
|
|
|
|
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"
|
|
|
|
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.2.0
|
|
>=media-libs/kimageannotator-0.6.1
|
|
<media-libs/kimageannotator-0.7.0
|
|
x11-libs/libX11
|
|
x11-libs/libxcb"
|
|
DEPEND="${RDEPEND}
|
|
dev-qt/qtconcurrent:5
|
|
kde-frameworks/extra-cmake-modules
|
|
"
|
|
BDEPEND="
|
|
dev-qt/linguist-tools:5
|
|
"
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
|
|
doicon -s scalable desktop/${PN}.svg
|
|
domenu desktop/org.${PN}.${PN}.desktop
|
|
}
|