mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
lxde-base/lxsession: add 0.5.6
Closes: https://bugs.gentoo.org/957863 Closes: https://bugs.gentoo.org/958479 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST lxsession-0.5.5.tar.xz 422564 BLAKE2B 27910f84ecd8df8af06649235d33604eb83e8203f6a485a7450a91887de691d161acf8f51d8c1786f8d073966ba88d20296275adc131b9fa1c670c0f9e3ecdef SHA512 12e25214485cf855b380a5aa91eb536f31536c98f5a50a1115cb4bf8ff884c7cdcd40c69a1502eeb9f4d3e6169e0607d6488ef3152ee184662fee39fe7a04d54
|
||||
DIST lxsession-0.5.6.tar.gz 313234 BLAKE2B 9de9af894764fa939822d68ec65c8d136df306ac5d402773266f55b2aa54c20fb88d38fdde490703283ae0cfc43451dff68506e1d940148375b320113781617d SHA512 f54e2bf802374667d7557b0129373a3972e1395a21a856e9f74535cba913ceb4b109c1856426cd4ca7f5759d158d63b7068e16d9fc6b4a2102ad89eb5abccb23
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit vala autotools
|
||||
|
||||
DESCRIPTION="LXDE session manager"
|
||||
HOMEPAGE="https://github.com/lxde/lxsession"
|
||||
SRC_URI="https://github.com/lxde/lxsession/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~x86-linux"
|
||||
IUSE="nls upower"
|
||||
# No real tests and as of 0.5.6, fails on an nls linting issue.
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.32.0:2
|
||||
>=lxde-base/lxde-common-0.99.2-r1
|
||||
sys-apps/dbus
|
||||
sys-auth/polkit
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libX11
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
!lxde-base/lxsession-edit
|
||||
sys-apps/lsb-release
|
||||
upower? ( sys-power/upower )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
$(vala_depend)
|
||||
>=app-text/docbook-xsl-stylesheets-1.70.1
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
dev-libs/libxslt
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Fedora patches
|
||||
"${FILESDIR}"/${PN}-0.5.2-reload.patch
|
||||
"${FILESDIR}"/${PN}-0.5.2-notify-daemon-default.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Not needed w/o a release tarball
|
||||
#rm *.stamp || die
|
||||
|
||||
vala_setup
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# dbus is used for restart/shutdown (logind), and suspend/hibernate (UPower)
|
||||
local myeconfargs=(
|
||||
--enable-gtk3
|
||||
$(use_enable nls)
|
||||
# As of 0.5.6, there's no more dist tarballs, but we
|
||||
# still want man pages.
|
||||
--enable-man
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user