Gentoo Archives: gentoo-commits

From: Sam Jorna <wraeth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/matchbox-keyboard/files/, x11-misc/matchbox-keyboard/
Date: Mon, 28 Mar 2016 07:34:36
Message-Id: 1459150359.3c3d1cc6567130ca788e17b9b02daa268f46e52e.wraeth@gentoo
1 commit: 3c3d1cc6567130ca788e17b9b02daa268f46e52e
2 Author: Sam Jorna <wraeth <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 28 07:32:05 2016 +0000
4 Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 28 07:32:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c3d1cc6
7
8 x11-misc/matchbox-keyboard: fix .desktop qa warn
9
10 Patches desktop file to resolve QA warning, bump to EAPI6. Ebuild and
11 patch from user popham to resolve bug.
12
13 Gentoo-bug: 434704
14 Package-Manager: portage-2.2.28
15
16 ...atchbox-keyboard-0.1-r1-modernize_desktop.patch | 11 +++++++++
17 .../matchbox-keyboard-0.1-r1.ebuild | 28 ++++++++++++++++++++++
18 2 files changed, 39 insertions(+)
19
20 diff --git a/x11-misc/matchbox-keyboard/files/matchbox-keyboard-0.1-r1-modernize_desktop.patch b/x11-misc/matchbox-keyboard/files/matchbox-keyboard-0.1-r1-modernize_desktop.patch
21 new file mode 100644
22 index 0000000..6ead1a4
23 --- /dev/null
24 +++ b/x11-misc/matchbox-keyboard/files/matchbox-keyboard-0.1-r1-modernize_desktop.patch
25 @@ -0,0 +1,11 @@
26 +--- a/matchbox-keyboard.desktop
27 ++++ b/matchbox-keyboard.desktop
28 +@@ -3,6 +3,6 @@
29 + Comment=Virtual Keyboard
30 + Exec=matchbox-keyboard
31 + Type=Application
32 +-Icon=matchbox-keyboard.png
33 +-Categories=Panel;Utility;MB
34 ++Icon=matchbox-keyboard
35 ++Categories=Utility;X-MB;X-Panel;
36 + X-MB-INPUT-MECHANSIM=True
37
38 diff --git a/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1-r1.ebuild b/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1-r1.ebuild
39 new file mode 100644
40 index 0000000..ceaa915
41 --- /dev/null
42 +++ b/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1-r1.ebuild
43 @@ -0,0 +1,28 @@
44 +# Copyright 1999-2016 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Id$
47 +
48 +EAPI="6"
49 +
50 +inherit versionator eutils
51 +
52 +DESCRIPTION="Matchbox-keyboard is an on screen 'virtual' or 'software' keyboard"
53 +HOMEPAGE="http://matchbox-project.org/"
54 +SRC_URI="http://matchbox-project.org/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
55 +LICENSE="GPL-2"
56 +SLOT="0"
57 +
58 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
59 +IUSE="debug cairo"
60 +
61 +DOCS=( AUTHORS ChangeLog INSTALL NEWS README )
62 +PATCHES=( "${FILESDIR}"/${PN}-0.1-r1-modernize_desktop.patch )
63 +
64 +DEPEND="x11-libs/libfakekey
65 + cairo? ( x11-libs/cairo[X] )
66 + !cairo? ( x11-libs/libXft )"
67 +RDEPEND="$DEPEND"
68 +
69 +src_configure() {
70 + econf $(use_enable debug) $(use_enable cairo)
71 +}