Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-kbdleds-plugin/
Date: Sun, 08 Apr 2018 08:51:19
Message-Id: 1523177470.e48d738fc5091f47544c552b27e13c974c219fc0.mgorny@gentoo
1 commit: e48d738fc5091f47544c552b27e13c974c219fc0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 8 08:49:24 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 8 08:51:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e48d738f
7
8 xfce-extra/xfce4-kbdleds-plugin: Port to EAPI=6
9
10 .../xfce4-kbdleds-plugin-0.0.6-r1.ebuild | 37 ++++++++++++++++++++++
11 1 file changed, 37 insertions(+)
12
13 diff --git a/xfce-extra/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin-0.0.6-r1.ebuild b/xfce-extra/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin-0.0.6-r1.ebuild
14 new file mode 100644
15 index 00000000000..6b6f67c940e
16 --- /dev/null
17 +++ b/xfce-extra/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin-0.0.6-r1.ebuild
18 @@ -0,0 +1,37 @@
19 +# Copyright 1999-2018 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=6
23 +
24 +inherit gnome2-utils
25 +
26 +DESCRIPTION="A panel plug-in to show state of Caps, Num and Scroll Lock keys"
27 +HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-kbdleds-plugin"
28 +SRC_URI="http://compas.com.ua/oco/file/${P}.tar.bz2"
29 +
30 +LICENSE="GPL-2 LGPL-2"
31 +SLOT="0"
32 +KEYWORDS="~amd64 ~x86"
33 +IUSE=""
34 +
35 +RDEPEND=">=xfce-base/libxfce4ui-4.8
36 + >=xfce-base/libxfce4util-4.8
37 + >=xfce-base/xfce4-panel-4.8
38 + >=x11-libs/gtk+-2.20:2"
39 +DEPEND="${RDEPEND}
40 + dev-util/intltool
41 + virtual/pkgconfig
42 + sys-devel/gettext"
43 +
44 +src_install() {
45 + default
46 + find "${D}" -name '*.la' -delete || die
47 +}
48 +
49 +pkg_postinst() {
50 + gnome2_icon_cache_update
51 +}
52 +
53 +pkg_postrm() {
54 + gnome2_icon_cache_update
55 +}