summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-24 15:28:24 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-24 16:54:47 +0100
commit9c4fb6d604e4ec37ad1ad3df6605ab9f43b491e4 (patch)
tree432200a1fd094f23e76878927e8a3bbc04ec050f /kde-misc
parentfeatures/selinux/package.mask: mask new gnome-shell extension (diff)
downloadgentoo-9c4fb6d604e4ec37ad1ad3df6605ab9f43b491e4.tar.gz
gentoo-9c4fb6d604e4ec37ad1ad3df6605ab9f43b491e4.tar.bz2
gentoo-9c4fb6d604e4ec37ad1ad3df6605ab9f43b491e4.zip
kde-misc/kio-stash: Fix appdata, EAPI-7 bump, fix HOMEPAGE
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kio-stash/files/kio-stash-1.0-kioslave-no-desktop-app.patch43
-rw-r--r--kde-misc/kio-stash/kio-stash-1.0-r1.ebuild32
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-misc/kio-stash/files/kio-stash-1.0-kioslave-no-desktop-app.patch b/kde-misc/kio-stash/files/kio-stash-1.0-kioslave-no-desktop-app.patch
new file mode 100644
index 00000000000..35b656fb6b7
--- /dev/null
+++ b/kde-misc/kio-stash/files/kio-stash-1.0-kioslave-no-desktop-app.patch
@@ -0,0 +1,43 @@
+From f977b43a47ebf6d26ee0bd6d35e0ac576bbbbf8a Mon Sep 17 00:00:00 2001
+From: Harald Sitter <sitter@kde.org>
+Date: Fri, 9 Mar 2018 17:48:15 +0100
+Subject: kio slaves aren't desktop applications & drop incorrect provides
+
+Summary:
+https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent
+https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html
+
+also it seems a filestash binary isn't actually installed, so drop the
+provides entry for that
+
+Reviewers: shortstheory, bgupta, apol
+
+Reviewed By: apol
+
+Differential Revision: https://phabricator.kde.org/D11187
+---
+ src/org.kde.filestash.appdata.xml | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/src/org.kde.filestash.appdata.xml b/src/org.kde.filestash.appdata.xml
+index d532186..2df1a70 100644
+--- a/src/org.kde.filestash.appdata.xml
++++ b/src/org.kde.filestash.appdata.xml
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" encoding="utf-8"?>
+-<component type="desktop">
++<component>
+ <id>org.kde.filestash.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0</project_license>
+@@ -89,8 +89,5 @@
+ <image>https://cdn.kde.org/screenshots/kio-stash/kio-stash.png</image>
+ </screenshot>
+ </screenshots>
+- <provides>
+- <binary>filestash</binary>
+- </provides>
+ <project_group>KDE</project_group>
+ </component>
+--
+cgit v1.1
diff --git a/kde-misc/kio-stash/kio-stash-1.0-r1.ebuild b/kde-misc/kio-stash/kio-stash-1.0-r1.ebuild
new file mode 100644
index 00000000000..e660fdc935c
--- /dev/null
+++ b/kde-misc/kio-stash/kio-stash-1.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="KIO Slave and daemon to stash discontinuous file selections"
+HOMEPAGE="http://arnavdhamija.com/2017/07/04/kio-stash-shipped/index.html https://cgit.kde.org/kio-stash.git"
+SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RESTRICT+=" test"
+
+DEPEND="
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_qt_dep qtdbus)
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-no-kf5config.patch
+ "${FILESDIR}"/${P}-kioslave-no-desktop-app.patch
+)