Gentoo Archives: gentoo-commits

From: Hanno Boeck <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: lxde-base/lxsession/
Date: Mon, 19 Aug 2019 09:24:58
Message-Id: 1566206667.e49a1a8936e132cf687a13c49407b0589f466985.hanno@gentoo
1 commit: e49a1a8936e132cf687a13c49407b0589f466985
2 Author: Hanno <hanno <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 19 09:24:27 2019 +0000
4 Commit: Hanno Boeck <hanno <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 19 09:24:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e49a1a89
7
8 lxde-base/lxsession: Remove unneeded libgee dependency.
9
10 Closes: https://bugs.gentoo.org/691518
11 Signed-off-by: Hanno Boeck <hanno <AT> gentoo.org>
12 Package-Manager: Portage-2.3.72, Repoman-2.3.17
13
14 lxde-base/lxsession/lxsession-0.5.4-r1.ebuild | 62 +++++++++++++++++++++++++++
15 1 file changed, 62 insertions(+)
16
17 diff --git a/lxde-base/lxsession/lxsession-0.5.4-r1.ebuild b/lxde-base/lxsession/lxsession-0.5.4-r1.ebuild
18 new file mode 100644
19 index 00000000000..3c2f2eae218
20 --- /dev/null
21 +++ b/lxde-base/lxsession/lxsession-0.5.4-r1.ebuild
22 @@ -0,0 +1,62 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +inherit vala autotools
28 +
29 +DESCRIPTION="LXDE session manager"
30 +HOMEPAGE="https://wiki.lxde.org/en/LXSession"
31 +SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
32 +
33 +LICENSE="GPL-2"
34 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-linux"
35 +SLOT="0"
36 +
37 +# upower USE flag is enabled by default in the desktop profile
38 +IUSE="nls upower"
39 +
40 +COMMON_DEPEND="
41 + dev-libs/glib:2
42 + dev-libs/dbus-glib
43 + dev-libs/libunique:1
44 + lxde-base/lxde-common
45 + sys-auth/polkit
46 + x11-libs/gtk+:2
47 + x11-libs/libX11
48 + sys-apps/dbus
49 +"
50 +RDEPEND="${COMMON_DEPEND}
51 + !lxde-base/lxsession-edit
52 + sys-apps/lsb-release
53 + upower? ( sys-power/upower )
54 +"
55 +DEPEND="${COMMON_DEPEND}
56 + $(vala_depend)
57 + dev-util/intltool
58 + sys-devel/gettext
59 + virtual/pkgconfig
60 + x11-base/xorg-proto
61 +"
62 +
63 +PATCHES=(
64 + # Fedora patches
65 + "${FILESDIR}"/${PN}-0.5.2-reload.patch
66 + "${FILESDIR}"/${PN}-0.5.2-notify-daemon-default.patch
67 + "${FILESDIR}"/${PN}-0.5.2-fix-invalid-memcpy.patch
68 +)
69 +
70 +src_prepare() {
71 + vala_src_prepare
72 +
73 + default
74 + eautoreconf
75 +}
76 +
77 +src_configure() {
78 + # dbus is used for restart/shutdown (CK, logind?), and suspend/hibernate (UPower)
79 + # gtk3 looks to not be ready, follow what other distributions are
80 + # doing
81 + econf \
82 + $(use_enable nls) \
83 + --disable-gtk3
84 +}