summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-04-21 18:45:35 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-04-21 19:10:27 +0200
commit7c3bd8e0c214dfd7ea59564975c56569964863bc (patch)
tree8be2d7ba40ab1d7676bda3e537556bb07619d54b /kde-apps/spectacle
parentkde-apps/okular: 22.04.0 version bump (diff)
downloadgentoo-7c3bd8e0c214dfd7ea59564975c56569964863bc.tar.gz
gentoo-7c3bd8e0c214dfd7ea59564975c56569964863bc.tar.bz2
gentoo-7c3bd8e0c214dfd7ea59564975c56569964863bc.zip
kde-apps/spectacle: 22.04.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/spectacle')
-rw-r--r--kde-apps/spectacle/Manifest1
-rw-r--r--kde-apps/spectacle/spectacle-22.04.0.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-apps/spectacle/Manifest b/kde-apps/spectacle/Manifest
index 4da2fc48d979..72c7348429e7 100644
--- a/kde-apps/spectacle/Manifest
+++ b/kde-apps/spectacle/Manifest
@@ -1,2 +1,3 @@
DIST spectacle-21.08.3.tar.xz 1242704 BLAKE2B 3d9d7b6fb54f6cab7ca86d97daafbc2f9b256029aeffcf30aa2b75c7592616e87a61ee586ca2d27d5af2a5caca2829d7a1fae9600c43503043477abeef91e5e9 SHA512 03568bc1865bbed143bd0177835cc0bcd49444d9c336ea06ba5a43bbdbb4da141a29c2b58d6e95de340126029066499a988546957e79f161e05401931d75a078
DIST spectacle-21.12.3.tar.xz 1259792 BLAKE2B 273a92ba763c96708b138d47eaf0ab6a995d585156b358c220b435d2372cefba02738c18e2a9e499027f849be7c844ca225617854a0e6de42f358b273dba0f56 SHA512 f4104549a621d370509ee240a568250d137c3a9f6617e3ee788c95ba05218007fd9208b5b90cab8b1541691c8a49e0e8307eb0b38dce30892005a61d4e5ee2a2
+DIST spectacle-22.04.0.tar.xz 1260416 BLAKE2B 469395d8b50e7dc43e9e94cecf2978352217575ddd7a3e771b14b0f3aec3b7ff194a4b8e4f6c70466c6d361270935c65a1e3d24cdcf163cfd95965b2c187b355 SHA512 d3680d1b57fd5379e0ca44bd445e198ad6452f82052f744cec32a9191bd5c4059feadbe58796d3a9a0cc9bea5d55c3cab86753288fe2daf90376cd8db90650b6
diff --git a/kde-apps/spectacle/spectacle-22.04.0.ebuild b/kde-apps/spectacle/spectacle-22.04.0.ebuild
new file mode 100644
index 000000000000..d31b6bf9f58f
--- /dev/null
+++ b/kde-apps/spectacle/spectacle-22.04.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.92.0
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="Screenshot capture utility"
+HOMEPAGE="https://apps.kde.org/spectacle/"
+
+LICENSE="LGPL-2+ handbook? ( FDL-1.3 )"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+annotate share"
+
+# TODO: Qt5Svg leaking from media-libs/kimageannotator
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kglobalaccel-${KFMIN}:5
+ >=kde-frameworks/kguiaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwayland-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ x11-libs/libxcb
+ x11-libs/xcb-util
+ x11-libs/xcb-util-cursor
+ x11-libs/xcb-util-image
+ annotate? ( >=media-libs/kimageannotator-0.5.0 )
+ share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ >=dev-qt/qdbus-${QTMIN}:*
+"
+
+src_prepare() {
+ ecm_src_prepare
+ # Unnecessary with >=media-libs/kimageannotator-0.4.0
+ sed -e "/find_package\s*(\s*X11/d" -e "/find_package\s*(\s*kColorPicker/d" \
+ -i CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package annotate kImageAnnotator)
+ $(cmake_use_find_package share KF5Purpose)
+ )
+ ecm_src_configure
+}