lxde-base/lxsession: Version bump.
authorHanno <hanno@gentoo.org>
Fri, 24 May 2019 18:25:53 +0000 (20:25 +0200)
committerHanno <hanno@gentoo.org>
Fri, 24 May 2019 18:25:53 +0000 (20:25 +0200)
Remove obsolete SED-lines and patch, EAPI=7.

Closes: https://bugs.gentoo.org/681964
Signed-off-by: Hanno Boeck <hanno@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12

lxde-base/lxsession/Manifest
lxde-base/lxsession/lxsession-0.5.4.ebuild [new file with mode: 0644]

index dc683212cd25d3e02447370b81e0dbaa8b3ec453..f640f1aba274e12735a84a2d78aa53e3724fdb06 100644 (file)
@@ -1 +1,2 @@
 DIST lxsession-0.5.2.tar.xz 354092 BLAKE2B 3acbf1be74ed461d331ea8ed10e5c403057671d5f7f32c72951ba89681ad4b0b1a104c2962805738e5b414549e84db3e12327172ffe1b7c6f13a09e09c44fd0f SHA512 2e08e5263bb4ef9d8051e84997347a12d2f1ba75cf4e70f9e3ba783a509246f0d6efd672ac1cc1d0fffc8707710ddb148298449b5365deb6785623d596bc3da1
+DIST lxsession-0.5.4.tar.xz 422756 BLAKE2B a04c67dbbb9da6405e165a05eb43d82f9d7ecc943147a8c5ab4fb5edf50b40b408db102ea1e96e142f61fcc2d1ead023685c33e1c26c09a4183882cfe9c5c930 SHA512 5b92d6e703ef692e3788554a3a34eca7bb4b7bb23d735af838c35bfaab142238eaeee3095176e5e4a7464468ab5478a596c670b0e2488f8599091f3e2fc8482b
diff --git a/lxde-base/lxsession/lxsession-0.5.4.ebuild b/lxde-base/lxsession/lxsession-0.5.4.ebuild
new file mode 100644 (file)
index 0000000..e9fb636
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit vala autotools
+
+DESCRIPTION="LXDE session manager"
+HOMEPAGE="https://wiki.lxde.org/en/LXSession"
+SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-linux"
+SLOT="0"
+
+# upower USE flag is enabled by default in the desktop profile
+IUSE="nls upower"
+
+COMMON_DEPEND="
+       dev-libs/glib:2
+       dev-libs/dbus-glib
+       dev-libs/libgee:0
+       dev-libs/libunique:1
+       lxde-base/lxde-common
+       sys-auth/polkit
+       x11-libs/gtk+:2
+       x11-libs/libX11
+       sys-apps/dbus
+"
+RDEPEND="${COMMON_DEPEND}
+       !lxde-base/lxsession-edit
+       sys-apps/lsb-release
+       upower? ( sys-power/upower )
+"
+DEPEND="${COMMON_DEPEND}
+       $(vala_depend)
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig
+       x11-base/xorg-proto
+"
+
+PATCHES=(
+       # Fedora patches
+       "${FILESDIR}"/${PN}-0.5.2-reload.patch
+       "${FILESDIR}"/${PN}-0.5.2-notify-daemon-default.patch
+       "${FILESDIR}"/${PN}-0.5.2-fix-invalid-memcpy.patch
+)
+
+src_prepare() {
+       vala_src_prepare
+
+       default
+       eautoreconf
+}
+
+src_configure() {
+       # dbus is used for restart/shutdown (CK, logind?), and suspend/hibernate (UPower)
+       # gtk3 looks to not be ready, follow what other distributions are
+       # doing
+       econf \
+               $(use_enable nls) \
+               --disable-gtk3
+}