kde-misc/kio-stash: Fix appdata, EAPI-7 bump, fix HOMEPAGE
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 24 Mar 2019 14:28:24 +0000 (15:28 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 24 Mar 2019 15:54:47 +0000 (16:54 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-misc/kio-stash/files/kio-stash-1.0-kioslave-no-desktop-app.patch [new file with mode: 0644]
kde-misc/kio-stash/kio-stash-1.0-r1.ebuild [new file with mode: 0644]

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 (file)
index 0000000..35b656f
--- /dev/null
@@ -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 (file)
index 0000000..e660fdc
--- /dev/null
@@ -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
+)