summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-03 12:30:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-03 15:52:59 +0100
commit922e7eb8d0398e8c83f6947196ab52bfb0ed4a02 (patch)
tree8a4b32b884e823f513e6020c359b5ca10be2d99e /kde-apps/spectacle
parentkde-apps/okular: 21.12.3 version bump (diff)
downloadgentoo-922e7eb8d0398e8c83f6947196ab52bfb0ed4a02.tar.gz
gentoo-922e7eb8d0398e8c83f6947196ab52bfb0ed4a02.tar.bz2
gentoo-922e7eb8d0398e8c83f6947196ab52bfb0ed4a02.zip
kde-apps/spectacle: 21.12.3 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-21.12.3.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/spectacle/Manifest b/kde-apps/spectacle/Manifest
index 8572acb30730..96bf65211014 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.2.tar.xz 1253776 BLAKE2B 268191b532e0b01310fda4c284b4927efc9e539c947227bc6087e194058c6c322f32a85e1e9231800ed7b668f7343ed75c728affcd3143fd28c37e52810d2d29 SHA512 72e15328aa7a7e6d7fd743342c58e84f78c3b8d7ad87260a38a9cb385f39cf14359d56f6c3a19eeeeca65febd5b522a486fce3aea51cf8c67c00b922ff641960
+DIST spectacle-21.12.3.tar.xz 1259792 BLAKE2B 273a92ba763c96708b138d47eaf0ab6a995d585156b358c220b435d2372cefba02738c18e2a9e499027f849be7c844ca225617854a0e6de42f358b273dba0f56 SHA512 f4104549a621d370509ee240a568250d137c3a9f6617e3ee788c95ba05218007fd9208b5b90cab8b1541691c8a49e0e8307eb0b38dce30892005a61d4e5ee2a2
diff --git a/kde-apps/spectacle/spectacle-21.12.3.ebuild b/kde-apps/spectacle/spectacle-21.12.3.ebuild
new file mode 100644
index 000000000000..ad663f2d3610
--- /dev/null
+++ b/kde-apps/spectacle/spectacle-21.12.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.88.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/qdbus-${QTMIN}:5
+ >=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/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}"
+
+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=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Kipi=ON
+ $(cmake_use_find_package annotate kImageAnnotator)
+ $(cmake_use_find_package share KF5Purpose)
+ )
+ ecm_src_configure
+}