diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-09 11:46:53 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-09 12:26:11 +0100 |
commit | 5d4132caf014278dfc09dc665942c90681ae47ff (patch) | |
tree | 5921befc45ea58f625976fff59b6f5cde1e3cddf /kde-apps/spectacle | |
parent | kde-apps/okular: 21.12.0 version bump (diff) | |
download | gentoo-5d4132caf014278dfc09dc665942c90681ae47ff.tar.gz gentoo-5d4132caf014278dfc09dc665942c90681ae47ff.tar.bz2 gentoo-5d4132caf014278dfc09dc665942c90681ae47ff.zip |
kde-apps/spectacle: 21.12.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/spectacle')
-rw-r--r-- | kde-apps/spectacle/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/spectacle/spectacle-21.12.0.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/spectacle/Manifest b/kde-apps/spectacle/Manifest index 3704edb8b2b0..2a8d366d0b80 100644 --- a/kde-apps/spectacle/Manifest +++ b/kde-apps/spectacle/Manifest @@ -1 +1,2 @@ DIST spectacle-21.08.3.tar.xz 1242704 BLAKE2B 3d9d7b6fb54f6cab7ca86d97daafbc2f9b256029aeffcf30aa2b75c7592616e87a61ee586ca2d27d5af2a5caca2829d7a1fae9600c43503043477abeef91e5e9 SHA512 03568bc1865bbed143bd0177835cc0bcd49444d9c336ea06ba5a43bbdbb4da141a29c2b58d6e95de340126029066499a988546957e79f161e05401931d75a078 +DIST spectacle-21.12.0.tar.xz 1253472 BLAKE2B 778cc1571b38af130a7e6d74d1309832dbd2e55b71f0bc2869d89201768ee30af991671cc3b67241c0b12703f149d1135d7ab567ea1be0fa9b03f8f23c9d6acc SHA512 627e98f9426fb3c7fa5c47bf5313313dfaaa9589a74c355c56df843b2246bb97dca34df47956c36d91c516eafd89f849362e5054d2458471e4060b64f347af09 diff --git a/kde-apps/spectacle/spectacle-21.12.0.ebuild b/kde-apps/spectacle/spectacle-21.12.0.ebuild new file mode 100644 index 000000000000..a78ad753cb37 --- /dev/null +++ b/kde-apps/spectacle/spectacle-21.12.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2021 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=OFF + $(cmake_use_find_package annotate kImageAnnotator) + $(cmake_use_find_package share KF5Purpose) + ) + ecm_src_configure +} |