From: Andreas Sturmlechner Date: Tue, 14 Apr 2020 18:23:14 +0000 (+0200) Subject: x11-misc/qxkb: 0.5.1_pre20190821 snapshot bump, EAPI-7 bump, cmake.eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d1e91ddf8aed758580d21a872b3b6ed8333d9be;p=gentoo.git 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 --- diff --git a/x11-misc/qxkb/Manifest b/x11-misc/qxkb/Manifest index 5cf9b7e58ed9..92e830f917a1 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 000000000000..fcd9cdfb2003 --- /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 000000000000..740ed9271fbc --- /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 +"