diff options
-rw-r--r-- | kde-apps/spectacle/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/spectacle/spectacle-22.12.0.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-apps/spectacle/Manifest b/kde-apps/spectacle/Manifest index 66235ef8fa26..dccb2d91f639 100644 --- a/kde-apps/spectacle/Manifest +++ b/kde-apps/spectacle/Manifest @@ -1 +1,2 @@ DIST spectacle-22.08.3.tar.xz 1255028 BLAKE2B f6a1818d7d81ba0d57bd1f150cd9d6fb15409da17b082cd52f8c903dbedb20580615abc6751b1ec3fdca9e4821eca612118a71be7d776089cc48fd454b994182 SHA512 edd87b72be6680496e5a8a78bba9728c8b87124a9bcd2de76bea085ebbdd4a0e78dbc8303a0d61f493d4d8dd1244774923226d3c6838d3b393f1b945a78e3565 +DIST spectacle-22.12.0.tar.xz 1270076 BLAKE2B ecc9732ac653d8766692177ba018f9858b425a195b51240f5a37404b797f3caf02d495351f70c99a9192d3291afa444094a0d7722c1c4d6b1a6c1775b012f238 SHA512 3ea79c1ada268229f6945fed33698bbfa412407c5b19b5e982d89ad4f5561e1efa2bfc3bc20b8a4fb4c6e0eea4878d1e7bf5cf526d55ecb24281171c46730c33 diff --git a/kde-apps/spectacle/spectacle-22.12.0.ebuild b/kde-apps/spectacle/spectacle-22.12.0.ebuild new file mode 100644 index 000000000000..05a702f9c5f4 --- /dev/null +++ b/kde-apps/spectacle/spectacle-22.12.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.99.0 +QTMIN=5.15.5 +inherit ecm gear.kde.org + +DESCRIPTION="Screenshot capture utility" +HOMEPAGE="https://apps.kde.org/spectacle/" + +LICENSE="LGPL-2+ handbook? ( FDL-1.3 )" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~loong ~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 +} |