summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/spectacle/files/spectacle-16.04.1-hotkeys.patch25
-rw-r--r--kde-apps/spectacle/spectacle-16.04.1-r1.ebuild51
2 files changed, 76 insertions, 0 deletions
diff --git a/kde-apps/spectacle/files/spectacle-16.04.1-hotkeys.patch b/kde-apps/spectacle/files/spectacle-16.04.1-hotkeys.patch
new file mode 100644
index 000000000000..421d0f50cbb1
--- /dev/null
+++ b/kde-apps/spectacle/files/spectacle-16.04.1-hotkeys.patch
@@ -0,0 +1,25 @@
+From df84ed53f92c844ca98ef3b0a8bc9b4308eee816 Mon Sep 17 00:00:00 2001
+From: Boudhayan Gupta <me@BaloneyGeek.com>
+Date: Fri, 20 May 2016 21:40:19 +0530
+Subject: [PATCH] Fix invalid KHotkeys file version
+
+BUG: 362257
+---
+ desktop/spectacle.khotkeys | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/desktop/spectacle.khotkeys b/desktop/spectacle.khotkeys
+index b28fe37..d83d0c7 100644
+--- a/desktop/spectacle.khotkeys
++++ b/desktop/spectacle.khotkeys
+@@ -1,6 +1,6 @@
+ [Main]
+ ImportId=spectacle
+-Version=3
++Version=2
+
+ [Data]
+ DataCount=1
+--
+2.8.2
+
diff --git a/kde-apps/spectacle/spectacle-16.04.1-r1.ebuild b/kde-apps/spectacle/spectacle-16.04.1-r1.ebuild
new file mode 100644
index 000000000000..b792c35935e1
--- /dev/null
+++ b/kde-apps/spectacle/spectacle-16.04.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Screenshot capture utility"
+KEYWORDS="~amd64 ~x86"
+IUSE="kipi share"
+
+DEPEND="
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_plasma_dep libkscreen '' '' '5=')
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtx11extras)
+ x11-libs/libxcb
+ x11-libs/xcb-util
+ x11-libs/xcb-util-cursor
+ x11-libs/xcb-util-image
+ kipi? ( $(add_kdeapps_dep libkipi '' '' '5=') )
+ share? ( dev-libs/purpose:5 )
+"
+RDEPEND="${DEPEND}
+ !kde-apps/ksnapshot
+"
+
+PATCHES=( "${FILESDIR}/${P}-hotkeys.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package kipi KF5Kipi)
+ $(cmake-utils_use_find_package share KDEExperimentalPurpose)
+ )
+ kde5_src_configure
+}