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-hdaps/
Date: Sun, 08 Apr 2018 08:51:20
Message-Id: 1523177470.3a8a6edf6cf202471620349dd660c5c84a97656e.mgorny@gentoo
1 commit: 3a8a6edf6cf202471620349dd660c5c84a97656e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 8 08:42:15 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=3a8a6edf
7
8 xfce-extra/xfce4-hdaps: Bump to EAPI=6
9
10 xfce-extra/xfce4-hdaps/xfce4-hdaps-0.0.9-r1.ebuild | 48 ++++++++++++++++++++++
11 1 file changed, 48 insertions(+)
12
13 diff --git a/xfce-extra/xfce4-hdaps/xfce4-hdaps-0.0.9-r1.ebuild b/xfce-extra/xfce4-hdaps/xfce4-hdaps-0.0.9-r1.ebuild
14 new file mode 100644
15 index 00000000000..2c689321b56
16 --- /dev/null
17 +++ b/xfce-extra/xfce4-hdaps/xfce4-hdaps-0.0.9-r1.ebuild
18 @@ -0,0 +1,48 @@
19 +# Copyright 1999-2018 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=6
23 +inherit gnome2-utils linux-info
24 +
25 +DESCRIPTION="A plugin to indicate the status of the IBM Hard Drive Active Protection System"
26 +HOMEPAGE="http://michael.orlitzky.com/code/xfce4-hdaps.php"
27 +SRC_URI="http://michael.orlitzky.com/code/releases/${P}.tar.bz2"
28 +
29 +LICENSE="GPL-3"
30 +SLOT="0"
31 +KEYWORDS="~amd64 ~x86"
32 +IUSE=""
33 +
34 +COMMON_DEPEND=">=x11-libs/gtk+-2.20:2
35 + x11-libs/libX11
36 + >=xfce-base/libxfce4ui-4.8
37 + >=xfce-base/libxfce4util-4.8
38 + >=xfce-base/xfce4-panel-4.8"
39 +RDEPEND="${COMMON_DEPEND}
40 + >=app-laptop/hdapsd-20090101
41 + >=app-laptop/tp_smapi-0.39"
42 +DEPEND="${COMMON_DEPEND}
43 + dev-util/intltool
44 + sys-devel/gettext
45 + virtual/pkgconfig"
46 +
47 +pkg_pretend() {
48 + linux-info_pkg_setup
49 +
50 + if kernel_is lt 2 6 28; then
51 + ewarn "Unsupported kernel detected. Upgrade to 2.6.28 or above."
52 + fi
53 +}
54 +
55 +src_install() {
56 + default
57 + find "${D}" -name '*.la' -delete || die
58 +}
59 +
60 +pkg_postinst() {
61 + gnome2_icon_cache_update
62 +}
63 +
64 +pkg_postrm() {
65 + gnome2_icon_cache_update
66 +}