Gentoo Archives: gentoo-commits

From: Adam Feldman <np-hardass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-power-manager/
Date: Fri, 25 Sep 2020 20:32:56
Message-Id: 1601065934.14b102187cfb82e8c146a74dc6319262a6ec0570.np-hardass@gentoo
1 commit: 14b102187cfb82e8c146a74dc6319262a6ec0570
2 Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 4 18:14:26 2020 +0000
4 Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 20:32:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14b10218
7
8 mate-extra/mate-power-manager: Bump to 1.24.2
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 RepoMan-Options: --force
12 Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org>
13
14 mate-extra/mate-power-manager/Manifest | 1 +
15 .../mate-power-manager-1.24.2.ebuild | 78 ++++++++++++++++++++++
16 2 files changed, 79 insertions(+)
17
18 diff --git a/mate-extra/mate-power-manager/Manifest b/mate-extra/mate-power-manager/Manifest
19 index 1a0bbe4794b..fca37bca593 100644
20 --- a/mate-extra/mate-power-manager/Manifest
21 +++ b/mate-extra/mate-power-manager/Manifest
22 @@ -1 +1,2 @@
23 DIST mate-power-manager-1.24.1.tar.xz 6245524 BLAKE2B b9be1aab7e2f397edba9a681310a9903b11e11abf1af8557c613a1e6bf7b89d5aa495ddfcef4bc23f11aa6aca215b86e3a1c9adfdfd481f0e4353268ca5dd7cd SHA512 57bae519bfa2894bc6923bf0932f823bcabe2dc0de06dc6676597708482b369a24f39bb94558163f0fdcc2d764702b87f58abc1793679a1c7fb7f53be074bae5
24 +DIST mate-power-manager-1.24.2.tar.xz 6194976 BLAKE2B 6f533f9d6cbe99e9acf6e0fe9deb641e771d38f80add33b1f51aaa27aff46e2bb77d7da60ee7994908667d34b6f05c868472283cf9fd52c251467482c7c64bb3 SHA512 edbad37f41e67219790dfe704936be6fcf1d727cdff3b51cb43234b0d48f53666361d0f048704a594a594b5e124d7d8ea9d626c560cbc23ba4de3dcaafbd55ff
25
26 diff --git a/mate-extra/mate-power-manager/mate-power-manager-1.24.2.ebuild b/mate-extra/mate-power-manager/mate-power-manager-1.24.2.ebuild
27 new file mode 100644
28 index 00000000000..baec1afd467
29 --- /dev/null
30 +++ b/mate-extra/mate-power-manager/mate-power-manager-1.24.2.ebuild
31 @@ -0,0 +1,78 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit mate
38 +
39 +if [[ ${PV} != 9999 ]]; then
40 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
41 +fi
42 +
43 +DESCRIPTION="A session daemon for MATE that makes it easy to manage your laptop or desktop"
44 +
45 +LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
46 +SLOT="0"
47 +IUSE="+applet elogind libsecret policykit systemd test"
48 +
49 +REQUIRED_USE="?? ( elogind systemd )"
50 +
51 +# Interactive testsuite.
52 +RESTRICT="test"
53 +
54 +COMMON_DEPEND="
55 + >=dev-libs/dbus-glib-0.70
56 + >=dev-libs/glib-2.50:2
57 + >=media-libs/libcanberra-0.10:0[gtk3]
58 + >=sys-apps/dbus-1
59 + >=sys-power/upower-0.99.8:=
60 + >=x11-apps/xrandr-1.3
61 + >=x11-libs/cairo-1
62 + >=x11-libs/gdk-pixbuf-2.11:2
63 + >=x11-libs/gtk+-3.22:3
64 + x11-libs/libX11
65 + x11-libs/libXext
66 + x11-libs/libXrandr
67 + >=x11-libs/libnotify-0.7:0
68 + x11-libs/pango
69 + applet? ( >=mate-base/mate-panel-1.17.0 )
70 + libsecret? ( >=app-crypt/libsecret-0.11 )
71 +"
72 +
73 +RDEPEND="${COMMON_DEPEND}
74 + virtual/libintl
75 + policykit? ( >=mate-extra/mate-polkit-1.6 )
76 + systemd? ( sys-apps/systemd )
77 + !systemd? (
78 + elogind? ( sys-auth/elogind )
79 + !elogind? ( >=sys-auth/consolekit-0.9.2 )
80 + )
81 +"
82 +
83 +DEPEND="${COMMON_DEPEND}
84 + app-text/docbook-xml-dtd:4.3
85 + app-text/rarian
86 + >=app-text/scrollkeeper-dtd-1:1.0
87 + app-text/yelp-tools
88 + dev-libs/libxml2
89 + dev-util/glib-utils
90 + >=sys-devel/gettext-0.19.8
91 + virtual/pkgconfig
92 + x11-base/xorg-proto
93 +"
94 +
95 +PATCHES=( "${FILESDIR}/${PN}-1.24.1-libsecret.patch" )
96 +
97 +src_configure() {
98 + mate_src_configure \
99 + --enable-compile-warnings=minimum \
100 + $(use_with libsecret) \
101 + $(use_enable applet applets) \
102 + $(use_enable test tests)
103 +}
104 +
105 +src_test() {
106 + unset DBUS_SESSION_BUS_ADDRESS
107 +
108 + dbus-launch Xemake check || die "Test phase failed"
109 +}