summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-06-10 14:59:15 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-06-10 17:30:27 +0200
commitc02b55c2600e3e6ee22eeb60d8cf69cb0782101f (patch)
treec5dd0deab27756d92d3e81b13a8d13fdb8aa5f20 /kde-apps/spectacle
parentkde-apps/okular: 21.04.2 version bump (diff)
downloadgentoo-c02b55c2600e3e6ee22eeb60d8cf69cb0782101f.tar.gz
gentoo-c02b55c2600e3e6ee22eeb60d8cf69cb0782101f.tar.bz2
gentoo-c02b55c2600e3e6ee22eeb60d8cf69cb0782101f.zip
kde-apps/spectacle: 21.04.2 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.04.2.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/kde-apps/spectacle/Manifest b/kde-apps/spectacle/Manifest
index 7fe25988d1fe..af04676a8699 100644
--- a/kde-apps/spectacle/Manifest
+++ b/kde-apps/spectacle/Manifest
@@ -1,2 +1,3 @@
DIST spectacle-20.12.3.tar.xz 1170540 BLAKE2B 865c4f7a2b8a3edf727f551c64ce35847a880023773b72531ea324addf5f0ac327261a87e35cdea6ec1f7eb4b75d2f8b86c3d1b7fc7719959623653ebe542a93 SHA512 4749916ff1557d89c3a8aeae06ce2da4e3f5bbbc3495a588209d797453b265447a857266889a81178f33b12631f6ec29be7a65a3f98f27de604c198e997795dc
DIST spectacle-21.04.1.tar.xz 1168624 BLAKE2B ceb6ca521aecd85965370f44e54605293934574a6780f81ece183b6bb9fd1401ae59bcb3f8f9b6a87c16aec9d9f73738526518804de4a24e828e46cddca82ba7 SHA512 eb85035c2bae3427139b95c583a1a1c7d05c4db0360d0276af62d9abb2a74799ba6a80aeb6a9b6b36902123f20378504ecfb66fc7f0fb03abc7cbeb9f130d52d
+DIST spectacle-21.04.2.tar.xz 1174904 BLAKE2B 42a6c58d27f405623264704574afc1143097e76fd0c8a4379b1c78db42ba66881dd592d948f5a55803e5cf8902a137a9dad2ffecb295d21bdf55b9cc369a7b1a SHA512 0fe6ca8b820b9d63edea5a43934a49fdcb091c0f744873cb6b04bdc773f1f8b64bbdf585013b0ef048d5a3752a04978d4328909b44ee9c82206a0df39d7a014c
diff --git a/kde-apps/spectacle/spectacle-21.04.2.ebuild b/kde-apps/spectacle/spectacle-21.04.2.ebuild
new file mode 100644
index 000000000000..aae20e31f195
--- /dev/null
+++ b/kde-apps/spectacle/spectacle-21.04.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.80.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 ) kipi? ( GPL-2+ )"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+annotate kipi 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.4.1 )
+ kipi? ( >=kde-apps/libkipi-${PVCUT}:5= )
+ share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ kipi? ( >=kde-apps/kipi-plugins-${PVCUT}:5 )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-21.04.0-implicit-dep.patch" ) # bug 785403
+
+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 kipi KF5Kipi)
+ $(cmake_use_find_package share KF5Purpose)
+ )
+ ecm_src_configure
+}