summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-11-14 16:48:25 +0100
committerMichael Palimaka <kensington@gentoo.org>2015-11-15 03:03:13 +1100
commit5618a8fb90a55bfe72a31ad267444bc35a900fc8 (patch)
treefad605ee111c0d8ad8079b2e66a4b6db1c493f2b
parentdaaf8e3a3e19a4cf6df50018b3b79274e551d8a1 (diff)
downloadkde-5618a8fb90a55bfe72a31ad267444bc35a900fc8.tar.gz
kde-5618a8fb90a55bfe72a31ad267444bc35a900fc8.tar.bz2
kde-5618a8fb90a55bfe72a31ad267444bc35a900fc8.zip
Revert "kde-apps/spectacle: Upstream dropped libkipi support"
This reverts commit 1995d980f0a477f87e9851f2459e3963bede2bf2. ...and back again.
-rw-r--r--kde-apps/spectacle/spectacle-9999.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/kde-apps/spectacle/spectacle-9999.ebuild b/kde-apps/spectacle/spectacle-9999.ebuild
index 547c11914cb..12a4f973da2 100644
--- a/kde-apps/spectacle/spectacle-9999.ebuild
+++ b/kde-apps/spectacle/spectacle-9999.ebuild
@@ -10,7 +10,7 @@ inherit kde5
DESCRIPTION="Screenshot capture utility"
KEYWORDS=""
-IUSE=""
+IUSE="kipi"
DEPEND="
$(add_frameworks_dep kconfig)
@@ -30,7 +30,15 @@ DEPEND="
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
x11-libs/libxcb
+ kipi? ( $(add_kdeapps_dep libkipi) )
"
RDEPEND="${DEPEND}
!kde-apps/ksnapshot
"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package kipi KF5Kipi)
+ )
+ kde5_src_configure
+}