commit:     4d1e91ddf8aed758580d21a872b3b6ed8333d9be
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 14 18:23:14 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 14 20:21:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d1e91dd

x11-misc/qxkb: 0.5.1_pre20190821 snapshot bump, EAPI-7 bump, cmake.eclass

Fix desktop file QA issue

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/qxkb/Manifest                             |  1 +
 .../files/qxkb-0.5.1_pre20190821-desktop.patch     | 36 ++++++++++++++++++++++
 x11-misc/qxkb/qxkb-0.5.1_pre20190821.ebuild        | 35 +++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/x11-misc/qxkb/Manifest b/x11-misc/qxkb/Manifest
index 5cf9b7e58ed..92e830f917a 100644
--- a/x11-misc/qxkb/Manifest
+++ b/x11-misc/qxkb/Manifest
@@ -1 +1,2 @@
 DIST qxkb-0.5.1_pre20150305.tar.gz 176169 BLAKE2B 
13b61c951b0cbbee025a78806afc4999e1d63dcc979f43d78218ff8ef6552a1f8057d704560dcf569863c0b2b46e8c3ce292e98fc77f7acfc3f92fc9fdc68a05
 SHA512 
bfb16af22e12977432a77814ad5d3e8f5ed91c46b885505bba242eb864795837ed09cdd97ac3161f9c82a142ed7fe1d4b37e8d3aa8990cedf956904da290ab44
+DIST qxkb-0.5.1_pre20190821.tar.gz 176133 BLAKE2B 
f04dffdb0fcb56e57002ec7384b12345c1bfd13988250701d7aed892552083c6ffe92cab133ea9e7e38b98aba8d47697f029e86288eca8d8571fbe023ff9b57a
 SHA512 
2e95c471006ea8ba3b942d2725bad8ad47d74b8131a99055583782b0d844f0c41b539619e01bb2f6a634ffb1c2db87ca97c69352f761474c2895547207c3932d

diff --git a/x11-misc/qxkb/files/qxkb-0.5.1_pre20190821-desktop.patch 
b/x11-misc/qxkb/files/qxkb-0.5.1_pre20190821-desktop.patch
new file mode 100644
index 00000000000..fcd9cdfb200
--- /dev/null
+++ b/x11-misc/qxkb/files/qxkb-0.5.1_pre20190821-desktop.patch
@@ -0,0 +1,36 @@
+Fixing QA issue and s/Qt4/Qt5/
+
+ * QA Notice: This package installs one or more .desktop files that do not
+ * pass validation.
+ * 
+ * /usr/share/applications/qxkb.desktop: warning: value 
"Application;Qt;Utility;"
+ * for key "Categories" in group "Desktop Entry" contains a deprecated value 
"Application"
+ *
+
+--- a/desktop/qxkb.desktop     2019-08-21 12:55:03.000000000 +0200
++++ b/desktop/qxkb.desktop     2020-04-14 20:16:07.754707291 +0200
+@@ -3,17 +3,17 @@
+ Type=Application
+ Exec=qxkb
+ Terminal=false
+-Categories=Application;Qt;Utility;
++Categories=Qt;Utility;
+ Icon=qxkb
+ Name=QXKB
+ Name[sr]=КјуИксКБ
+ Name[sr@ijekavian]=КјуИксКБ
+-Comment=Qt4-X11 Keyboard  switcher
+-Comment[ru]= Переключатель раскладки на Qt4
+-Comment[sr]=Кјут4-Икс11 пребацивач распореда тастатуре
+-Comment[sr@ijekavian]=Кјут4-Икс11 пребацивач распореда тастатуре
+-Comment[sr@ijekavianlatin]=Qt4-X11 prebacivač rasporeda tastature
+-Comment[sr@latin]=Qt4-X11 prebacivač rasporeda tastature
++Comment=Qt5-X11 Keyboard  switcher
++Comment[ru]= Переключатель раскладки на Qt5
++Comment[sr]=Кјут5-Икс11 пребацивач распореда тастатуре
++Comment[sr@ijekavian]=Кјут5-Икс11 пребацивач распореда тастатуре
++Comment[sr@ijekavianlatin]=Qt5-X11 prebacivač rasporeda tastature
++Comment[sr@latin]=Qt5-X11 prebacivač rasporeda tastature
+ GenericName=Keyboard  switcher
+ GenericName[ru]=Переключатель раскладки
+ GenericName[sr]=Распоред тастатуре

diff --git a/x11-misc/qxkb/qxkb-0.5.1_pre20190821.ebuild 
b/x11-misc/qxkb/qxkb-0.5.1_pre20190821.ebuild
new file mode 100644
index 00000000000..740ed9271fb
--- /dev/null
+++ b/x11-misc/qxkb/qxkb-0.5.1_pre20190821.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+COMMIT=ee9a1eee9dc810b33b931601203051d841bc3e7a
+inherit cmake
+
+DESCRIPTION="Qt-based keyboard layout switcher"
+HOMEPAGE="https://github.com/disels/qxkb";
+SRC_URI="https://github.com/disels/qxkb/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+PATCHES=( "${FILESDIR}/${P}-desktop.patch" )
+
+BDEPEND="
+       dev-qt/linguist-tools:5
+"
+DEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtx11extras:5
+       x11-libs/libX11
+       x11-libs/libxkbfile
+"
+RDEPEND="${DEPEND}
+       x11-apps/setxkbmap
+"

Reply via email to